Protected_Primary route target. null is the canonical master route.
Protected_Additional send target to gain-value mappings.
ProtectedglobalSpatial time constant in seconds; assigning changes current and future voices.
Called 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.
Clones the current Synth instance, creating a deep copy with the option to override specific properties.
This method allows for the creation of a new, independent Synth instance based on the current one, with the
flexibility to modify certain attributes through the overrides parameter. This is particularly useful for
creating variations of a synth without affecting the original instance. The cloned instance includes all properties,
playback settings, and filters of the original, unless explicitly overridden.
An object specifying properties to override in the cloned instance. This can include audio settings like volume, playback rate, and spatial positioning, as well as more complex configurations like 3D audio options and filter adjustments.
ProtectedemitProtectedemitOptionaltype: FadeTypeOptionaltype: FadeTypeOptionaltype: FadeTypeRemove event listener.
Register event listener.
Cleanup function
Optionaloptions: PlayOptionsGenerates a Playback instance for the synth without starting playback. This allows for pre-configuration of playback properties such as volume and position before the synth is actually played.
Removes 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: FadeType
The base interface for any sound-producing entity, including individual sounds, groups, and playbacks. BaseSound