Skip to main content

alphaTab.midi.IMidiFileHandler

Description

A handler is responsible for writing midi events to a custom structure

 interface IMidiFileHandler

Methods

addBend(number, number, number, number)

Add a bend to the generated midi file.

addControlChange(number, number, number, ControllerType, number)

Adds a control change to the generated midi file.

addNote(number, number, number, number, number, number)

Adds a note to the generated midi file

addNoteBend(number, number, number, number, number)

Add a bend specific to a note to the generated midi file.

addProgramChange(number, number, number, number)

Add a program change to the generated midi file

addRest(number, number, number)

Adds a rest to the generated midi file.

addTempo(number, number)

Add a tempo change to the generated midi file.

addTimeSignature(number, number, number)

Adds a time signature to the generated midi file

finishTrack(number, number)

Indicates that the track is finished on the given ticks.