AlphaSynthMidiFileHandler Class

Summary

This implementation of the IMidiFileHandler generates a MidiFile object which can be used in AlphaSynth for playback.
Namespace
AlphaTab.Audio.Generator
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IMidiFileHandler"]-.->Type click Interface0 "/master/api/AlphaTab.Audio.Generator/IMidiFileHandler" Type["AlphaSynthMidiFileHandler"] class Type type-node

Syntax

public class AlphaSynthMidiFileHandler : IMidiFileHandler

Constructors

Name Summary
AlphaSynthMidiFileHandler(MidiFile) Initializes a new instance of the AlphaSynthMidiFileHandler class.

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.