Skip to main content

initialize

Description​

Initializes the worker.

initialize(options: AudioExportOptions, midi: MidiFile, syncPoints: BackingTrackSyncPoint[], transpositionPitches: Map<number, number>): Promise<void>
ParameterSummary
optionsAll

The options to use

midiAll

The midi file to load

syncPointsAll

The sync points of the song (if any)

transpositionPitchesAll

The initial transposition pitches for the midi file.