system
May 16, 2009, 2:32am
#1
I am relatively knew to Arduino, and I am having some trouble with a program.
I want to make a midi interface which I can control using a computer (a mac laptop, in my case).
I'm starting out by combining these two tutorials:
http://www.arduino.cc/en/Tutorial/Dimmer
http://itp.nyu.edu/physcomp/Labs/MIDIOutput
My problem is that the two tutorials differ in their baud rates, in the Serial.Begin calls.
Can someone tell me more about these, and if there is a way to 'mix' two together, in order to both read info from computer, and write info to the midi jack?
Thanks very much,
Riley
system
May 16, 2009, 5:41am
#2
After a bit of research, I realize I really need dual serial connections.
I need to be able to control serial out (midi) and receive info (computer).
Can anyone suggest how to go about doing this?
system
May 16, 2009, 12:32pm
#3
After a bit of research, I realize I really need dual serial connections.
I need to be able to control serial out (midi) and receive info (computer).
Can anyone suggest how to go about doing this?
You could use a software serial solution, or you could buy the Arduino Mega .
Both will give you multiple serial in-/outputs. :)
system
May 18, 2009, 5:26am
#4
Thanks very much!
I will research those.
I was wondering, is it possible to change the baud rate during runtime?
Say for instance, I wanted to change the serial rate in order to read an incoming command from the USB port, and then switch to output a midi command?