struct MidiEvent

Represents a MIDI event. More...

Definition#include <track.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

An structure that represents a MIDI event.

uchar command

MIDI Command

Caution, if a command doesn't use a variable, it may contain garbage.

uchar chn

Channel

uchar note

Note

uchar vel

Velocity

uchar patch

Patch (if command was a change patch command)

uchar ctl

Patch (if command was a controller command)

uchar d1

Data 1

uchar d2

Data 2

uchar d3

Data 3

uchar d4

Data 4

uchar d5

Data 5

uchar d6

Data 6

ulong length

Length of the generic data variable

uchar * data

The data for commands like text, sysex, etc.