#ifndef COMMAND #define COMMAND #include enum class CommandType{ None, NoteOn, NoteOff, PitchBend }; struct Command{ CommandType type = CommandType::None; uint8_t note = 0; uint8_t velocity = 0; uint16_t pitch_bend = 8192; }; #endif