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

Prev:audio-gain ( source/listener -- gain )
Next:audio-relative? ( source -- relative? )


Vocabulary
audio.engine

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


Outputs
velocitya 3-component float vector


Word description
Returns the velocity of an audio clip or of the listener. The relative velocity of each source to the listener is used to calculate a Doppler effect on its associated clips.

Definition

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


Methods