..
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user