oddson
Well-known member
I've been suggesting on the Flowstone forum that two Teensy LCs tied via Rx/Tx could pass MIDI from one host to another.
Before moving further I'd like to know I'm not blowing smoke.
Is there any fundamental problem with this I'm not aware of?
Also... a couple of threads on here seem to suggest to handle the message for a regular interface you'd handle each message type separately.
I assume that SYSEX could need special treatment but for the basics... couldn't you just use MIDI.Send to handle type < 7?
Something (possibly remotely) like this?
I don't have a Teensy right now that I can test on (or two in this case)... can anyone tell me how far off I am?
Before moving further I'd like to know I'm not blowing smoke.
Is there any fundamental problem with this I'm not aware of?
Also... a couple of threads on here seem to suggest to handle the message for a regular interface you'd handle each message type separately.
I assume that SYSEX could need special treatment but for the basics... couldn't you just use MIDI.Send to handle type < 7?
Something (possibly remotely) like this?
Code:
void loop() {
if (MIDI.read() && type && MIDI.getType() < SystemExclusive) {
type = MIDI.getType();
d1 = MIDI.getData1();
d2 = MIDI.getData2();
channel = MIDI.getChannel();
// and then send...
MIDI.send(type,d1,d2,channel);
}
}
I don't have a Teensy right now that I can test on (or two in this case)... can anyone tell me how far off I am?