Table of Contents

Class AudioPlayback

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Represents an operator that plays a sequence of buffered samples to the specified audio device.

public class AudioPlayback : Sink<Mat>
Inheritance
AudioPlayback
Inherited Members

Properties

DeviceName

Gets or sets the name of the audio device used for playback.

SampleRate

Gets or sets the sample rate, in Hz, used to playback the audio buffers.

SourceName

Gets or sets the optional name of the source used to playback the audio buffers.

State

Gets or sets a value specifying the state to which the source should be set when queueing audio buffers.

Methods

Process(IObservable<Mat>)

Plays an observable sequence of buffered samples to the specified audio device.

Process(IObservable<Mat>, IObservable<AudioSource>)

Plays an observable sequence of buffered samples to all the specified audio sources.