I have made a few adjustments, with some dodgey looking math to get a midi message of 1 to come out as 0 and a message of 127 to come out as 255.
The only bugs i have found,
first one is just if a single note is played it will print twice, both the same, so that shouldnt be a huge issue, the other is that if i play two notes at te same time, only one note will not display 0 when the note of is sent. timing issue?
finally an object of;
[Flatspace/Comport 2 9600]
is placed at the end instead of print, to send the serial data to the Arduino which converts it to DMX.
Thanks heaps guys, all this help has helped (how ironic) a heap!
http://www.pdpatchrepo.info/hurleur/Screen_Shot_2011-09-12_at_12.12.43_AM.png