Skip to main content

soundFontLoad

since 0.9.4

Description​

This event is fired when the SoundFont is being loaded and reports the progress accordingly.

soundFontLoadJavaScript
alphaTab.soundFontLoadjQuery
alphaTab.soundFontLoadHTML
SoundFontLoad.net
soundFontLoadAndroid

Types​

function(e)JavaScript

Parameters​

ParametersTypeSummary
argsJavaScriptalphaTab.ProgressEventArgs

The information about the load progress of the file.

Examples​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.soundFontLoad.on((e) => {
updateProgress(e.loaded, e.total);
});