downloadMidi
Description​
Generates an SMF1.0 file and downloads it Generates a SMF1.0 compliant MIDI file of the currently loaded song and starts the download of it. Please be aware that SMF1.0 does not support bends per note which might result in wrong bend effects in case multiple bends are applied on the same beat (e.g. two notes bending or vibrato + bends).
downloadMidi(format?: MidiFileFormat): void
Parameter | Summary |
---|---|
formatAll | (no description) |
Example - JavaScript​
const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.downloadMidi();