new WebRTC2AudioMeter()
The AudioWorkletProcessor interface of the Web Audio API represents an audio processing code behind a custom AudioWorkletNode. It lives in the AudioWorkletGlobalScope and runs on the Web Audio rendering thread. In turn, an AudioWorkletNode based on it runs on the main thread.
- Source:
Members
intervalInFrames
Interval in Frames.
- Source:
Methods
process(inputs, outputs, parameters) → {boolean}
Audio signal processing.
Parameters:
Name | Type | Description |
---|---|---|
inputs |
number | The value to initialize the numberOfInputs property to. Defaults to 1. |
outputs |
number | The value to initialize the numberOfOutputs property to. Defaults to 1. |
parameters |
number | An object containing the initial values of custom AudioParam objects on this node. |
- Source:
Returns:
The newly constructed AudioWorkletProcessor instance.
- Type
- boolean