Files
osc/include/command.hpp
T

19 lines
204 B
C++
Raw Normal View History

2026-11-13 18:31:07 +06:00
#ifndef COMMAND
#define COMMAND
2026-11-13 23:59:25 +06:00
#include <cstdint>
enum class CommandType{
2026-11-13 18:31:07 +06:00
None,
NoteOn,
NoteOff
};
2026-11-13 23:59:25 +06:00
struct Command{
CommandType type;
uint8_t note;
uint8_t velocity;
};
2026-11-13 18:31:07 +06:00
#endif