Skip to main content

soundFontLoad

since 0.9.4

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.

readonly soundFontLoad: IEventEmitterOfT<ProgressEventArgs>;

Example - JavaScript​

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