теперь работает MIDI Pitch Bend с диапазоном +- 2 полутона

This commit is contained in:
2026-11-15 00:47:07 +06:00
parent 2cff003e4b
commit 6773949803
9 changed files with 139 additions and 39 deletions
+6 -4
View File
@@ -6,13 +6,15 @@
enum class CommandType{
None,
NoteOn,
NoteOff
NoteOff,
PitchBend
};
struct Command{
CommandType type;
uint8_t note;
uint8_t velocity;
CommandType type = CommandType::None;
uint8_t note = 0;
uint8_t velocity = 0;
uint16_t pitch_bend = 8192;
};
#endif