Project

General

Profile

$vol » History » Revision 2

Revision 1 (Per Amundsen, 08/12/2015 09:32 AM) → Revision 2/4 (Per Amundsen, 07/09/2016 02:33 PM)

_Added in 1.9.0_ 

 *$vol(wave|midi|song|mp3|master)* 

 Gets the current volume for the specified sound setting. 

 _Currently only returns volume for wave/midi/song/mp3._ song/mp3._ 

 *Parameters* 

 wave|midi|song|master - The sound setting to get status from. 

 *Properties* 

 .mute - Returns [[$true]] if the player is muted, otherwise [[$false]]. TODO ($false) 

 *Example* 

 <pre> 
 ; Print volume for 'song' 
 //echo -ag Volume for song is $vol(song) 
 </pre>