Table of Contents

Class UpdateSoundWaveform

Namespace
Harp.SoundCard
Assembly
Harp.SoundCard.dll

Represents an operator that replaces the specified sound waveform in the SoundCard device with each of the sample buffers in the sequence.

public class UpdateSoundWaveform : Sink<byte[]>
Inheritance
UpdateSoundWaveform
Inherited Members

Properties

DeviceIndex

Gets or sets the index of the SoundCard device to update. If no index is specified, the first SoundCard will be used.

SampleRate

Gets or sets a value specifying the sample rate used to playback the sound waveform.

SoundIndex

Gets or sets the index of the sound to update.

SoundName

Gets or sets the name of the sound to be stored in the device. This field is optional.

Methods

Process(IObservable<Mat>)

Replaces the specified sound waveform in the SoundCard device with each of the sample buffers in an observable sequence.

Process(IObservable<byte[]>)

Replaces the specified sound waveform in the SoundCard device with each of the sample buffers in an observable sequence.