midi заработал!

теперь некст полифония
This commit is contained in:
2026-11-14 13:01:54 +06:00
parent 1c75f418e2
commit 5818405474
3 changed files with 62 additions and 40 deletions
+8
View File
@@ -4,17 +4,25 @@
#include <rtmidi/RtMidi.h>
#include <iostream>
#include <stdexcept>
#include <cstring>
#include "../include/synth.hpp"
class MidiInput{
public:
MidiInput(Synth& synth) : synth_(synth){
}
void list_ports();
void open_port(unsigned int port);
void read_message();
private:
RtMidiIn midiIn;
Synth& synth_;
};