I’m trryng to port an aurduino project to my new Fez Panda III.
The poject is intended to filters midi in Data trasforming them in a required output.
To simplify, let’say my project is an octavier: when the In message(from synth) is NoteOn (dec 144 extract with or logic to avoid channel number), i read the pictch of note (the data1 field) and then increment + 12. So for example a middle C, pitch 60,
pitch 72, exactly an octave upper, to send as output note on to midi output.
To do this, in arduino, i used a midi shield for arduino connected to synth, on a side, thru midi port by pentapolar din to a synth, by the other side using the uart to read midi in and send midi out.
I’m absolutey newbie to Ghi Products, having used only arduino products since today.
My questions are 3:
1)The midi shield being able to swith 3.3 to 5v,
can i use it with uart pin (panda’s pin are 3.3 but 5v tolerant).
- how can i read it, without the library midi.h present for arduino? How can i replace it? Must I? Or i can read directly the bytes from uart, and how? (i can interpret the right meaning of midi bites flow knowing well midi protocol.)
) it is possible to use, instead of a midi shield, simply a midi-to-usb converter,
connecting the usb side of the converter to the Panda usb? (i read that usb device not being mouse, keyboard or tipyvcal,device can be read declaring usb device as unknown).
In this case, how i read the incoming data (when playing the synth).
Thanks a lot.