Skip to main content

playedBeatChanged

since 0.9.4

Description

This event is fired when the played beat changed.

playedBeatChangedJavaScript
alphaTab.playedBeatChangedjQuery
alphaTab.playedBeatChangedHTML
PlayedBeatChanged.net

Types

function(beat)JavaScript
Action<AlphaTab.Model.Beat>.net

Parameters

ParametersTypeSummary
beatJavaScriptalphaTab.model.Beat

The new beat that is now being played..

beat.netAlphaTab.Model.Beat

The new beat that is now being played..

Examples

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.playedBeatChanged.on((beat) => {
updateFretboard(beat);
});