Table of Contents

Class AudioCapture

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Represents an operator that generates a sequence of buffered samples acquired from the specified audio capture device.

public class AudioCapture : Source<Mat>
Inheritance
AudioCapture
Inherited Members

Constructors

AudioCapture()

Initializes a new instance of the AudioCapture class.

Properties

BufferLength

Gets or sets the length of the capture buffer, in milliseconds.

DeviceName

Gets or sets the name of the capture device from which to acquire samples.

SampleFormat

Gets or sets the format of capture buffer samples.

SampleRate

Gets or sets the sample rate used by the audio capture device, in Hz.

Methods

Generate()

Generates an observable sequence of buffered audio samples acquired from the specified audio capture device.