51 virtual void openPort(
unsigned int portNumber = 0 ) = 0;
54 virtual void openVirtualPort(
const std::string portName = std::string(
"RtMidi" ) ) = 0;
60 virtual std::string
getPortName(
unsigned int portNumber = 0 ) = 0;
106 typedef void (*
RtMidiCallback)(
double timeStamp, std::vector<unsigned char> *message,
void *userData);
122 void openPort(
unsigned int portNumber = 0 );
131 void openVirtualPort(
const std::string portName = std::string(
"RtMidi Input" ) );
159 std::string
getPortName(
unsigned int portNumber = 0 );
176 void ignoreTypes(
bool midiSysex =
true,
bool midiTime =
true,
bool midiSense =
true );
186 double getMessage( std::vector<unsigned char> *message );
259 void openPort(
unsigned int portNumber = 0 );
273 void openVirtualPort(
const std::string portName = std::string(
"RtMidi Output" ) );
282 std::string
getPortName(
unsigned int portNumber = 0 );
289 void sendMessage( std::vector<unsigned char> *message );