Skip to main content

masterVolume

since 0.9.4

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
masterVolumeAndroid

Types​

doubleAll

Default Value​

1.0

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.masterVolume = 0.5;