masterVolume
Description
Gets or sets the master volume of the overall audio being played. The volume is annotated in percentage where 1.0 would be the normal volume and 0.5 only 50%.
masterVolumeJavaScript |
alphaTab('masterVolume')jQuery |
MasterVolume.net |
Types
doubleAll |
Default Value
1.0
Examples
var api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.masterVolume = 0.5;
$('#alphaTab').alphaTab('masterVolume', 0.5)
var api = new AlphaTabApi<MyControl>(...);
api.MasterVolume = 0.5;