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

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


Vocabulary
audio.engine

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


Outputs
positiona 3-component float vector


Word description
Returns the position of an audio clip or of the listener. These positions determine the distance between clips and the listener, which in turn control the attenuation of the clips.

Definition

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


Methods