Vizard 8 » Command Index » Vizard objects » mixer » <mixer>.setPitch
8.1

<mixer>.setPitch

Set the pitch of the sound mixer

<mixer>.setPitch(  
value  
)  
value
The pitch factor, 0-1. A value greater than 1 will cause the audio to play faster. A value less then 1 will cause the audio to play slower.

Remarks

This command sets the pitch of all sounds played through the mixer. The pitch will affect the output pitch of any sub-mixers as well. The default pitch is 1.

Return Value

None

See also

<mixer>.getFilter
<mixer>.getPitch
<mixer>.getVolume
<mixer>.setFilter
<mixer>.setVolume