Table of Contents

Namespace Bonsai.Mixer

Classes

AppendBuffer

Represents an operator that appends the audio buffers from the first sequence to the playback queue of every mixer source in the second sequence.

CreateMixerContext

Represents an operator that creates a new mixer context used to control simultaneous playback of multiple audio buffers.

CreateSource

Represents an operator that creates a new mixer source on every mixer context in the sequence.

MixerContext

Represents an audio mixer which allows asynchronous queueing of multiple buffers for simultaneous playback over a single PortAudio output stream.

MixerSourceContext

Represents a single audio source playing as one voice over a mixer context.

PauseSource

Represents an operator that pauses playback of every mixer source in the sequence, holding its position until playback is resumed.

PlayBuffer

Represents an operator that plays each audio buffer from the first sequence as a one-shot source on every mixer context in the second sequence.

PlaySource

Represents an operator that resumes playback of every mixer source in the sequence from its current position.

PlaybackState

Represents an operator that reports the playback state of each mixer source in the sequence, emitting its current state and every subsequent transition.

SetChannelGain

Represents an operator that sets the per-channel gain of every mixer source in the sequence to a set of target levels over a specified duration.

SetGain

Represents an operator that sets the source gain of every mixer source in the sequence to a target level over a specified duration.

Signal

Represents a signal that generates successive blocks of samples on demand.

StartMixer

Represents an operator that initiates audio processing on every mixer context in the sequence.

StopMixer

Represents an operator that stops audio processing on every mixer context in the sequence.

StopSource

Represents an operator that stops playback of every mixer source in the sequence, fading to silence over a specified duration before each source is removed.

Enums

MixerSourceState

Specifies the playback state of a mixer source.