IMidiFileHandler Interface

Summary

A handler is responsible for writing midi events to a custom structure
graph TD Type["IMidiFileHandler"] class Type type-node Type-.->Implementing0["AlphaSynthMidiFileHandler"] click Implementing0 "/master/api/AlphaTab.Audio.Generator/AlphaSynthMidiFileHandler" Type-.->Implementing1["FlatMidiEventGenerator"] click Implementing1 "/master/api/AlphaTab.Test.Audio/FlatMidiEventGenerator"

Syntax

public interface IMidiFileHandler

Methods

Name Value Summary
AddBend(int, int, byte, int) void
Add a bend to the generated midi file.
AddControlChange(int, int, byte, byte, byte) void
Adds a control change to the generated midi file.
AddNote(int, int, int, byte, DynamicValue, byte) void
Adds a note to the generated midi file
AddProgramChange(int, int, byte, byte) void
Add a program change to the generated midi file
AddRest(int, int, int) void
Adds a rest to the generated midi file.
AddTempo(int, int) void
Add a tempo change to the generated midi file.
AddTimeSignature(int, int, int) void
Adds a time signature to the generated midi file
FinishTrack(int, int) void
Indicates that the track is finished on the given ticks.