Just route the note numbers using [select] to bang the pin numbers to the arduino via [comport]:

[notein]
|
[select 1 2 3 4 5...] -- the midi note numbers
|    |    |    |
[2(  [3(              -- the arduino pin numbers
|
[comport]

Then in arduino you listen for incoming pin numbers with Serial.available(), Serial.read().

Martin


On 2012-03-28 14:14, Drake Schutt wrote:
Hi, I'm trying to make an instrument using a drum (similar to steel
drums), solenoid actuators, arduino, pure data, and an akai MPD 18 drum
pad.  The drum pad has 16 pads and there will be 16 actuators.  I'm
stuck in the pure data part and seeking some help from the list.  It
seems to me that if I could filter the 16 note values from the midi drum
in PD, that it wouldn't be that difficult to route each value to a pin
on an arduino board.  I'll be using 8 outputs on two separate boards.
The only relevant code besides pduino I've seen is a midi note filter (I
couldn't make it useful), and some Pd patches on an MIT syllabus.  The
MIT patches were not downloadable, they may have used Maxforlive or
something.

Thanks for any help,
Drake


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->  
http://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to