Sendable
interface Sendable {
sends: readonly Send[]
addSend(target: AuxAudioUnit | GroupAudioUnit, props?: Partial<Pick<Send, 'amount' | 'pan' | 'mode'>>): Send
}Units that can send their signal to buses
Properties
sends: readonly Send[]
readonly
All sends of this unit ordered by index
- See:
Methods
addSend(
target: AuxAudioUnit | GroupAudioUnit,
props?: Partial<Pick<Send, 'amount' | 'pan' | 'mode'>>,
): Send
Add a send to an auxiliary or group unit
Parameters
target(AuxAudioUnit | GroupAudioUnit) — The destination unitprops(Partial<Pick<Send, "amount" | "pan" | "mode">>, optional) — Send configuration (Send)
Returns
Example
CODE
const reverb = project.addAuxUnit({label: "Reverb"})
reverb.addAudioEffect("Reverb", {decay: 0.7})
synth.addSend(reverb, {amount: -12})