Skip to main content

soundFontLoad

since 0.9.4

Description​

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

Example - JavaScript​

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