Closed FoxPerdana closed 6 years ago
RTP MIDI is currently not supported. Although, I'm planning on adding it in the near future.
It should be as simple as creating a new class that derives from the MIDI_Interface class. You have to implement two virtual functions: sendImpl
and refresh
, and a constructor.
class RTPMIDI_Interface : public MIDI_Interface
{
public:
RTPMIDI_Interface() {
// Constructor (initialize RTP MIDI etc.)
}
bool refresh() {
// Ignore MIDI input:
// Empty the incomming MIDI buffer, return false if it's empty, return true otherwise
}
protected:
void sendImpl(uint8_t m, uint8_t c, uint8_t d1, uint8_t d2) {
// Send a three-byte MIDI message
}
void sendImpl(uint8_t m, uint8_t c, uint8_t d1) {
// Send a two-byte MIDI message
}
};
Well. I think Its better to wait the Update Version of MIDI Controller Library that support rtp stuff (AplleMIDI, etc). Im Closing this Issue
How to using this library with AppleMIDI Library? Im not to good In arduino stuff, I hope can help me trough it.
I dont know where to put the "const uint8_t velocity = 0b1111111; const uint8_t C4 = 60; "
and
"Digital button(2, C4, 1, velocity);"
and
"MIDI_Controller.refresh();"
Im using Arduino Uno with Ethernet Shield
Library version 3.0.1 and AppleMIDI
Please dont judge or laugh because my stupid code I made
Thank You