FlatMidiEventGenerator Class

Summary

A handler is responsible for writing midi events to a custom structure
Namespace
AlphaTab.Test.Audio
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IMidiFileHandler"]-.->Type click Interface0 "/master/api/AlphaTab.Audio.Generator/IMidiFileHandler" Type["FlatMidiEventGenerator"] class Type type-node

Syntax

public class FlatMidiEventGenerator : IMidiFileHandler

Constructors

Properties

Name Value Summary
MidiEvents FastList<T>

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.