SoundVolume()

Syntax

SoundVolume(#Sound, Volume [, Channel])
Description
Set the new volume, in realtime, for the #Sound. The volume value is saved for the #Sound, so it's not needed to call it everytime. The valid values are from 0 (no volume) to 100 (full volume).

'Channel' is optional and specify on which channel the sound volume should be changed. A 'Channel' is available when using PlaySound() with #PB_Sound_MultiChannel.

Supported OS

All

<- SoundPan() - Sound Index - StopSound() ->