Just Intonation  Version 1.3.0 (18)
Explore scale-independent dynamically adapting tuning in just intonation
MidiPlayerEvent Struct Reference

Structure used internally in the MidiPlayer to hold a Midi event. More...

#include <midiplayereventlist.h>

Collaboration diagram for MidiPlayerEvent:
Collaboration graph

Public Member Functions

 MidiPlayerEvent (quint8 track=0, double deltaticks=0, quint8 command=0, quint8 byte1=0, quint8 byte2=0)
 Constructor for a MidiPlayerEvent, copying the arguments. More...
 

Public Attributes

quint8 track
 Midi track number. More...
 
double deltaticks
 Time ticks elapsed since the last event. More...
 
quint8 command
 Midi command byte. More...
 
quint8 byte1
 Midi first argument byte. More...
 
quint8 byte2
 Midi second argument byte (zero if none) More...
 

Detailed Description

Structure used internally in the MidiPlayer to hold a Midi event.

This structure holds the essential information of a Midi event, namely, a command byte and two data bytes. The codes of the command byte and the data bytes can be found e.g. in https://www.midi.org/specifications

Definition at line 42 of file midiplayereventlist.h.

Constructor & Destructor Documentation

MidiPlayerEvent::MidiPlayerEvent ( quint8  track = 0,
double  deltaticks = 0,
quint8  command = 0,
quint8  byte1 = 0,
quint8  byte2 = 0 
)

Constructor for a MidiPlayerEvent, copying the arguments.

Parameters
track: The midi track
deltaticks: Time ticks elapsed since the last event
command: Midi Command byte
byte1: Midi first argument byte
byte2: Midi second argument byte (zero if none)

Definition at line 42 of file midiplayereventlist.cpp.

Member Data Documentation

quint8 MidiPlayerEvent::byte1

Midi first argument byte.

Definition at line 50 of file midiplayereventlist.h.

quint8 MidiPlayerEvent::byte2

Midi second argument byte (zero if none)

Definition at line 51 of file midiplayereventlist.h.

quint8 MidiPlayerEvent::command

Midi command byte.

Definition at line 49 of file midiplayereventlist.h.

double MidiPlayerEvent::deltaticks

Time ticks elapsed since the last event.

Definition at line 48 of file midiplayereventlist.h.

quint8 MidiPlayerEvent::track

Midi track number.

Definition at line 47 of file midiplayereventlist.h.


The documentation for this struct was generated from the following files: