Name
SetMasterVolume -- set the master volume (V1.5)
Synopsis
SetMasterVolume(vol)
Function
Please note: This command is somewhat obsolete and subject to removal. You should better use SetVolume() for samples and SetMusicVolume() for music files/Protracker modules.

This function sets the master volume to the specified value vol. Using this command you can realise sound fade outs or ins.

Starting with Hollywood 2.0, vol can also be a string containing a percent specification, e.g. "50%".

Inputs
vol
new master volume (range 0 to 64 or percent specification)
Example
For k = 64 To 0 Step -5
   SetMasterVolume(k)
Next
The code above fades out all playing sounds by modifying the master volume.

Show TOC