Skip to main content

metronomeVolume

since 0.9.4
metronomeVolumeJavaScriptMetronomeVolume.netmetronomeVolumeAndroid

Description​

The metronome volume as percentage (0-1). Gets or sets the volume of the metronome. By default the metronome is disabled but can be enabled by setting the volume different.

metronomeVolume: number = 0;

Examples​

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