This commit is contained in:
2026-11-14 10:23:02 +06:00
parent 5731475015
commit 1c75f418e2
6 changed files with 114 additions and 21 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef MIDIINPUT
#define MIDIINPUT
#include <rtmidi/RtMidi.h>
#include <iostream>
#include <stdexcept>
class MidiInput{
public:
void list_ports();
void open_port(unsigned int port);
void read_message();
private:
RtMidiIn midiIn;
};
#endif