Table of Contents

Method Process

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Process(IObservable<Mat>)

Updates the data of the specified audio buffer using an observable sequence of buffered samples.

public override IObservable<Mat> Process(IObservable<Mat> source)

Parameters

source IObservable<Mat>

A sequence of Mat objects representing the samples used to fill the buffer with audio data.

Returns

IObservable<Mat>

An observable sequence that is identical to the source sequence but where there is an additional side effect of filling the buffer with audio data.

Remarks

This operator only subscribes to the source sequence after initializing the audio context on the specified audio device.