AudioProcessingEvent Class

The audioprocess event of a ScriptProcessorNode (https://webaudio.github.io/web-audio-api/#AudioProcessingEvent).

public sealed class AudioProcessingEvent : Event
Inheritance
Event AudioProcessingEvent

Constructors

NameDescription
AudioProcessingEvent(string, AudioProcessingEventInit)Creates an audio processing event.

AudioProcessingEvent(string, AudioProcessingEventInit)

ScriptProcessorNode.cs

Creates an audio processing event.

public AudioProcessingEvent(string type, AudioProcessingEventInit eventInitDict)

Properties

NameDescription
InputBufferGets the buffer of the input samples.
OutputBufferGets the buffer the handler fills with the output samples.
PlaybackTimeGets the time of the context when the output buffer will be played.

Gets the buffer of the input samples.

public AudioBuffer InputBuffer { get; }

Gets the buffer the handler fills with the output samples.

public AudioBuffer OutputBuffer { get; }

Gets the time of the context when the output buffer will be played.

public double PlaybackTime { get; }