Class Audio.StereoOutput

implements Audio.Sink

A system stereo output.

Constructors

StereoOutput(string name, bool autoconnect)

Properties

input Audio.Connector inputs as an array

Methods

play(Audio.Clip clip) immediately play an audio clip.
play(Audio.Buffer buffer) immediately play an audio buffer.
schedule(Audio.Buffer buffer, float measure, Time.Clock clock) schedule an audio buffer to play.
schedule(Audio.Clip clip, float measure, Time.Clock clock) schedule an audio clip to play.

Constructor Documentation


StereoOutput(string name, bool autoconnect)

Parameters

Property Documentation


array input

Audio.Connector inputs as an array. Adding or removing elements to this array has no effect on the underlying audio component.

Method Documentation


void play(Audio.Clip clip)

Immediately play an audio clip.

Parameters


void play(Audio.Buffer buffer)

Immediately play an audio buffer.

Parameters


void schedule(Audio.Buffer buffer, float measure, Time.Clock clock)

Schedule an audio buffer to play.

Parameters


void schedule(Audio.Clip clip, float measure, Time.Clock clock)

Schedule an audio clip to play.

Parameters



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.