Please help with MIDI floor controler
lil j
Posts: 3
I want to use a basic stamp 2 for a footswich that sends midi control messages to my line 6 pod xt when i press the buttions on it. Im not sure how about the command to send this threw midi.
I read that u can use the serout·command to do this
Im not sure about serout the value for baud mode mainly
I read that if i wanted to send a value of 127 for controle 25 on channel 1, the code would be:
midichannel con 1
statusbyte con %10110000 + midichannel
data1 con 25
value = 127
value = value >> 1
data2 = value.highbyte
serout pin, 32780, [noparse][[/noparse]statusbyte, data1, data2]
IS THIS CORRECT???
please help
I read that u can use the serout·command to do this
Im not sure about serout the value for baud mode mainly
I read that if i wanted to send a value of 127 for controle 25 on channel 1, the code would be:
midichannel con 1
statusbyte con %10110000 + midichannel
data1 con 25
value = 127
value = value >> 1
data2 = value.highbyte
serout pin, 32780, [noparse][[/noparse]statusbyte, data1, data2]
IS THIS CORRECT???
please help
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Could you explane how to use the serout command to send other messages?
Post Edited (lil j) : 12/11/2004 9:56:22 PM GMT
Try this: http://www.borg.com/~jglatt/tech/midispec.htm
BTW ... there is a demo program in my article that lets you send any sequence of bytes to the MIDI device.· Once you have read the specification you can use that program to test your device and determine the desired behaviors.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office