#include <event.hh>
Contains MIDI event information.
For example, if a key press event such as 144 65 90 was sent from port 2, then code will be 144, id will be 65, value will be 90 (i.e. the velocity), and port will be 2.
Public Member Functions | |
Event (int code, int id, int value, int port) | |
Event (const Event &e) | |
double | frequency () const |
Public Attributes | |
int | code |
The MIDI code (first byte set) | |
int | id |
The MIDI id (second byte sent) | |
int | value |
The MIDI value (third byt sent) | |
int | port |
The MIDI port. | |