Method Process
Process(IObservable<byte[]>)
Replaces the specified sound waveform in the SoundCard device with each of the sample buffers in an observable sequence.
public override IObservable<byte[]> Process(IObservable<byte[]> source)
Parameters
sourceIObservable<byte[]>A sequence of binary array objects representing all the raw samples of the sound waveform. Continuous streaming is not supported.
Returns
- IObservable<byte[]>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of replacing the sound waveform of the specified sound with each of the sample buffers in the sequence.
Process(IObservable<Mat>)
Replaces the specified sound waveform in the SoundCard device with each of the sample buffers in an observable sequence.
public IObservable<Mat> Process(IObservable<Mat> source)
Parameters
sourceIObservable<Mat>A sequence of Mat objects representing the raw samples of the the sound waveform. Both mono or stereo waveforms are supported, where channels are rows. Continuous streaming is not supported so the full waveform should be sent.
Returns
- IObservable<Mat>
An observable sequence that is identical to the
sourcesequence but where there is an additional side effect of replacing the sound waveform of the specified sound with each of the sample buffers in the sequence.