Table of Contents

Class CreateAudioContext

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Represents an operator that creates an audio context using the specified device and listener properties.

[TypeConverter(typeof(CreateAudioContext.AudioContextConverter))]
public class CreateAudioContext : Source<AudioContextManager>
Inheritance
CreateAudioContext
Inherited Members

Properties

DeviceName

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

Direction

Gets or sets the direction vector of the listener, in the world coordinate frame.

Gain

Gets or sets the amount of amplification applied to the listener. Each multiplication by 2 increases gain by +6dB.

Position

Gets or sets the location of the listener, in the world coordinate frame.

Refresh

Gets or sets the refresh frequency, in Hz, used by the audio device. Zero represents the driver default.

SampleRate

Gets or sets the sample rate, in Hz, used by the audio device. Zero represents the driver default.

Up

Gets or sets the up vector of the listener, in the world coordinate frame.

Velocity

Gets or sets the velocity of the listener, in the world coordinate frame.

Methods

Generate()

Generates an observable sequence that contains the audio context manager object.