Provides a mastering process and utilities for routing audio into it like a virtual mixing board. Implementations are encouraged to leverage this instead of the main audio destination directly.
- Source:
Namespaces
Members
(static) master
Exposes the nodes and parameters associated with the mastering process. Here's an overview of its routing:
GainNode
inputBiquadFilterNode
highpassBiquadFilterNode
lowpassDynamicsCompressorNode
limiterGainNode
limiter makeup gainGainNode
outputAudioDestinationNode
syngen.audio.context
().destination
Properties:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
input |
function | Returns the master input |
||||||||||||||||||||||||||||||||||||||||||||||||
output |
function | Returns the master output |
||||||||||||||||||||||||||||||||||||||||||||||||
param |
Object | Useful parameters for tuning the mastering process. Properties
|
- Source:
Methods
(static) createBus() → {GainNode}
Creates a GainNode
that's connected to the master input.
Implementations can leverage buses to create submixes.
- Source:
Returns:
- Type
- GainNode
(static) rebuildFilters()
Occasionally the master filters can enter an unstable or bad state. When this happens the entire mix can drop out to silence. This provides a solution for replacing them with stable filters. Implementations can proactively check for invalid states with an AnalyserNode or AudioWorkletNode. Beware that the nodes that caused the issue may also need reset.
- Source: