Skip to main content

masterVolume

since 0.9.4
masterVolumeJavaScriptMasterVolume.netmasterVolumeAndroid

Description​

The current master volume as percentage (0-1). 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%.

masterVolume: number;

Examples​

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