19 lines
204 B
C++
19 lines
204 B
C++
#ifndef COMMAND
|
|
#define COMMAND
|
|
|
|
#include <cstdint>
|
|
|
|
enum class CommandType{
|
|
None,
|
|
NoteOn,
|
|
NoteOff
|
|
};
|
|
|
|
struct Command{
|
|
CommandType type;
|
|
uint8_t note;
|
|
uint8_t velocity;
|
|
};
|
|
|
|
#endif
|