Skip to main content

metronomeVolume

since 0.9.4

Description

Gets or sets the volume of the metronome. By default the metronome is disabled but can be enabled by setting the volume different.

metronomeVolumeJavaScript
alphaTab('metronomeVolume')jQuery
MetronomeVolume.net

Types

doubleAll

Default Value

0.0

Examples

var api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.metronomeVolume = 0.5;
$('#alphaTab').alphaTab('metronomeVolume', 0.5)
var api = new AlphaTabApi<MyControl>(...);
api.MetronomeVolume = 0.5;