Skip to main content

downloadMidi

since 1.3.0

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
ParameterSummary
formatAll

(no description)

Example - JavaScript​

const api = new alphaTab.AlphaTabApi(document.querySelector('#alphaTab'));
api.downloadMidi();