NoteOnEvent

Note-on event specific data. Used in \ref Event (union)

Members

Variables

channel
short channel;

< channel index in event bus

length
int length;

< in sample frames (optional, Note Off has to follow in any case!)

noteId
int noteId;

< note identifier (if not available then -1)

pitch
short pitch;

< range [0, 127] = [C-2, G8] with A3=440Hz

tuning
float tuning;

< 1.f = +1 cent, -1.f = -1 cent

velocity
float velocity;

< range [0.0, 1.0]

Meta