Table of Contents

Class CreateSource

Namespace
Bonsai.Audio
Assembly
Bonsai.Audio.dll

Represents an operator that creates a spatialized source on the specified audio device.

public class CreateSource : Source<AudioSource>
Inheritance
CreateSource
Inherited Members

Properties

BufferName

Gets or sets the optional name of a buffer to play when creating the source.

DeviceName

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

Direction

Gets or sets the direction vector of the audio source.

Gain

Gets or sets the volume amplification applied to the audio source.

Looping

Gets or sets a value indicating whether the audio source is looping.

Pitch

Gets or sets the pitch to be applied to the audio source.

Position

Gets or sets the current location of the audio source in three-dimensional space.

Relative

Gets or sets a value indicating whether the audio source uses coordinates relative to the listener.

State

Gets or sets a value specifying the state to which the source should be set after creation.

Velocity

Gets or sets the current velocity of the audio source in three-dimensional space.

Methods

Generate()

Generates an observable sequence that contains the created audio source.