Table of Contents

Class UpdateSource

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Represents an operator that updates the properties of an audio source.

public class UpdateSource : Sink
Inheritance
UpdateSource
Inherited Members

Properties

DeviceName

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

Direction

Gets or sets the current direction vector of the audio source. If this property is not set, the direction of the audio source will not be updated.

Gain

Gets or sets the volume amplification applied to the audio source. If this property is not set, the gain of the audio source will not be updated.

Pitch

Gets or sets the pitch to be applied to the audio source. If this property is not set, the pitch of the audio source will not be updated.

Position

Gets or sets the current location of the audio source in three-dimensional space. If this property is not set, the location of the audio source will not be updated.

SourceName

Gets or sets the name of the audio source to update.

Velocity

Gets or sets the current velocity of the audio source in three-dimensional space. If this property is not set, the velocity of the audio source will not be updated.

Methods

Process(IObservable<AudioSource>)

Updates the properties of all the audio sources in an observable sequence.

Process<TSource>(IObservable<TSource>)

Updates the properties of the specified audio source whenever the source sequence emits a notification.