Table of Contents

Class UpdateListener

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

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

public class UpdateListener : Sink
Inheritance
UpdateListener
Inherited Members

Properties

Gain

Gets or sets the amount of amplification applied to the listener. Each multiplication by 2 increases gain by +6dB. If this property is not set, the gain of the audio listener will not be updated.

Orientation

Gets or sets the current orientation of the listener, in the world coordinate frame. If this property is not set, the orientation of the audio listener will not be updated.

Position

Gets or sets the current location of the listener, in the world coordinate frame. If this property is not set, the location of the audio listener will not be updated.

Velocity

Gets or sets the current velocity of the listener, in the world coordinate frame. If this property is not set, the velocity of the audio listener will not be updated.

Methods

Process<TSource>(IObservable<TSource>)

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