API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

C

classAudioSend

@codexo/exojs / audio / stable

A parallel tap from one voice's output into an AudioBus, at its own level. A send is what an insert effect cannot express: the voice keeps playing into its own bus unchanged (the dry path) while a copy of the same signal also reaches another bus (the wet path). That is the shape reverb, echo and any shared ambience processing needs - one effect instance serving many voices, with each voice deciding how much of itself to contribute. Created by `voice.addSend(bus)` and owned by that voice: it is torn down when the voice ends, so a caller only has to remove one early if the routing itself should change. The target bus is not owned - it keeps serving whoever else sends into it.

3
props
1
methods
0
events
Import
import { AudioSend } from '@codexo/exojs'

A parallel tap from one voice's output into an AudioBus, at its own level.

A send is what an insert effect cannot express: the voice keeps playing into its own bus unchanged (the dry path) while a copy of the same signal also reaches another bus (the wet path). That is the shape reverb, echo and any shared ambience processing needs - one effect instance serving many voices, with each voice deciding how much of itself to contribute.

Created by `voice.addSend(bus)` and owned by that voice: it is torn down when the voice ends, so a caller only has to remove one early if the routing itself should change. The target bus is not owned - it keeps serving whoever else sends into it.

Methods1
destroy(): void
Disconnect and discard. Idempotent. The source node and the target bus are untouched - only this send's own gain node goes away.
Properties3
destroyed: boolean
true once this send has been torn down; a torn-down send ignores further writes.
level: number
Contribution level, 0 and up. 1 sends the voice at its own volume; values above 1 amplify, as an aux send on a mixing desk does. Ramped rather than stepped, so a level driven per frame - by a zone the listener is walking into, say - does not click.
Source