Provides a auxiliary send for global reverb processing.
Because ConvolverNode
s are quite intensive, implementations are encouraged to leverage this to provide a single global reverb.
Extends
Members
(static) param
Exposes the parameters associated with reverb processing.
Properties:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
delay |
AudioParam | |||||||
gain |
AudioParam | |||||||
highpass |
Object |
Properties
|
||||||
lowpass |
Object |
Properties
|
Methods
(static) createSend() → {GainNode}
Creates a GainNode
that's connected to the reverb input.
Returns:
- Type
- GainNode
(static) isActive() → {Boolean}
Returns whether the processing is active.
Returns:
- Type
- Boolean
(static) output() → {GainNode}
Returns the output node for the send.
- Deprecated:
- Yes
- Source:
Returns:
- Type
- GainNode
(static) rebuildFilters()
Occasionally the filters can enter an unstable or bad state. This provides a solution for replacing them with stable filters.
(static) setActive(state)
Sets the active state. Implementations can disable processing for a performance boost.
Parameters:
Name | Type | Description |
---|---|---|
state |
Boolean |
Fires:
- syngen.audio.mixer.auxiliary.reverb#event:activate
- syngen.audio.mixer.auxiliary.reverb#event:deactivate
(static) setImpulse(buffer)
Sets the impulse buffer for the inner ConvolverNode
.
To prevent pops and clicks, the tail of the previous buffer persists until it fades out.
Parameters:
Name | Type | Description |
---|---|---|
buffer |
BufferSource |
Events
event:activate
Fired whenever the send is activated.
event:deactivate
Fired whenever the send is deactivated.