Since: 0.9.4

soundFontLoad

Description

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

soundFontLoad.net

Types

function(e)JavaScript

Parameters

ParametersTypeSummary
argsJavaScriptalphaTab.ProgressEventArgsThe 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);
});