Pages: [1]   Go Down
Author Topic: how best to handle multiple MIDI inputs?  (Read 840 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey, everyone.  I apologize if this has been asked before, but I couldn't find it in the search here...

Hardware MIDI inputs send data through the Arduino's RX port.  I'd like to add several such inputs to a project, but I only have one such port on the Duemilanove.

Should I be looking to multiplex those somehow, or would an Arduino Mega be more appropriate to my needs?


EDIT (thinking out loud):

I have seen many references online to multiplexing serial output, but input is another story.  I mean, output's under my control, so I can manage the flow of traffic.  Input's less predictable, and I can't begin to guess what would break.

It looks like the Arduino Mega would indeed handle this (searching for "Arduiono Mega Serial" cleared up a lot)

In fact, I should link this post  for my own reference later:

I'd still like to confirm that the other idea's no good, though.   :smiley



The SoftwareSerial library might also work for this.  Maybe.
« Last Edit: November 09, 2009, 09:25:57 pm by greaterthanzero » Logged

Boston, MA
Offline Offline
Edison Member
Karma: 0
Posts: 1024
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Unless you have control over when you will receive MIDI input transmissions then
you would be much better off with either (1) a uC with multiple serial ports or (2) multiple uC's. Otherwise, you will loose the data that is transmitted by the un-addressed channels.

(* jcl *)

Pages: [1]   Go Up
Jump to: