audio-gain ( source/listener -- gain )
Audio playback engine ยป Audio source protocol

Prev:audio-position ( source/listener -- position )
Next:audio-velocity ( source/listener -- velocity )


Vocabulary
audio.engine

Inputs
source/listeneran object implementing the Audio source protocol or Audio listener protocol


Outputs
gaina float between 0.0 and 1.0


Word description
Returns the base gain for an individual audio clip, or for the listener. A clip source's gain will be attenuated by its distance from the listener. The listener's gain will be multiplied on top of each source's gain.

Definition

GENERIC: audio-gain ( source/listener -- gain )


Methods