Optional_cacophony: CacophonyProtected_Primary route target. null is the canonical master route.
Protected_Additional send target to gain-value mappings.
ProtectedcontextProtectedglobalReadonlypanOptionalsoundSpatial time constant in seconds; assigning changes current and future voices.
OptionalstreamCalled by Bus.drainTo to move this source off the draining bus
onto target. The source reroutes its primary route and/or any send that
targeted bus.
Protected_Materialize all declared recipes, then establish this playback's sends.
Resolve the node used by future playbacks for their primary output. Sources left on a subsequently destroyed bus fall back to master.
Internal
Validate a broadcast, including every voice, without mutation.
Protected_Establish every configured send on a newly created playback.
Optionaltype: FadeTypeOptionaltype: FadeTypeOptionaltype: FadeTypeOptionaloptions: PlayOptionsRemoves a BiquadFilterNode from the filter chain by object identity.
Remove this source's aux send from current and future playbacks without changing its primary route. No-op if no send exists, including when the bus reference is destroyed. Names must still resolve to a registered bus; retain the bus reference to remove a send after destroying a named bus.
Route this source to a bus, or add an independent send when sendGain
is provided. options ramps existing sends in place; new sends and future
playbacks start at sendGain. Prior automation is canceled and re-anchored.
Exponential ramps to zero approach 0.0001, then become exactly silent at
the endpoint. Ramps from zero or involving negative gains use linear interpolation.
OptionalsendGain: numberOptionaloptions: SendGainOptionsOptionaltype: FadeTypeEnqueue PCM at the context's sample rate.
Samples are interleaved according to channelCount. false means the
fixed ring buffer is full (or this accepted write filled it); wait for
drain before retrying a rejected chunk.
The base interface for any sound-producing entity, including individual sounds, groups, and playbacks. BaseSound