Skip to main content

alphaTab.midi.MidiFileGenerator

Description

This generator creates a midi file using a score.

 class MidiFileGenerator

Properties

applyTranspositionPitches

Gets or sets whether transposition pitches should be applied to the individual midi events or not.

syncPoints

The computed sync points for synchronizing the midi file with an external backing track.

tickLookup

Gets a lookup object which can be used to quickly find beats and bars

transpositionPitches

Gets the transposition pitches for the individual midi channels.

vibratoResolution

Methods

buildTranspositionPitches(Score, Settings)
generate()

Starts the generation of the midi file.

generateSingleBeat(Beat)
generateSingleNote(Note)
generateSyncPoints(Score)

Generates the sync points for the given score without re-generating the midi itself.

getPitchWheel(number)

Calculates the midi pitch wheel value for the give bend value.

prepareSingleBeat(Beat)