AudioProcessingEvent Class
The audioprocess event of a ScriptProcessorNode (https://webaudio.github.io/web-audio-api/#AudioProcessingEvent).
public sealed class AudioProcessingEvent : Event- Inheritance
EventAudioProcessingEvent
Constructors
| Name | Description |
|---|---|
| AudioProcessingEvent(string, AudioProcessingEventInit) | Creates an audio processing event. |
AudioProcessingEvent(string, AudioProcessingEventInit)
ScriptProcessorNode.csCreates an audio processing event.
public AudioProcessingEvent(string type, AudioProcessingEventInit eventInitDict)Properties
| Name | Description |
|---|---|
| InputBuffer | Gets the buffer of the input samples. |
| OutputBuffer | Gets the buffer the handler fills with the output samples. |
| PlaybackTime | Gets the time of the context when the output buffer will be played. |
InputBuffer
ScriptProcessorNode.csGets the buffer of the input samples.
public AudioBuffer InputBuffer { get; }OutputBuffer
ScriptProcessorNode.csGets the buffer the handler fills with the output samples.
public AudioBuffer OutputBuffer { get; }PlaybackTime
ScriptProcessorNode.csGets the time of the context when the output buffer will be played.
public double PlaybackTime { get; }