vldo
08-25-2008, 11:22 AM
Hi,
I'm beginner with BS2 and I'm trying to send a midi Out to my
"Xstation" : www.soundonsound.com/sos/sep04/articles/xstation25.htm (http://www.soundonsound.com/sos/sep04/articles/xstation25.htm)
finaly I want to make a 6 piezo midi drum complect, wich I can connect to "Xstation" via midi
and controll the "reason" software http://forums.parallax.com/images/smilies/smile.gif
I've connected the midi cable as intructed in:
peabody.sapp.org/class/dmp2/read/nv94_gettin_midi_with_it.pdf (http://peabody.sapp.org/class/dmp2/read/nv94_gettin_midi_with_it.pdf)
and loaded the code from here:
www.interaccess.org/arg/arg-knowledge/MIDI.BS2 (http://www.interaccess.org/arg/arg-knowledge/MIDI.BS2)
or my code:
' {$STAMP BS2}
' {$PBASIC 2.5}
'Note ON: $90, note (0 – 127), velocity (0 – 127)
'Note Off: $80, note (0 – 127), velocity (0 – 127)
'--------------SEROUT 8, $60, 0, [$90, $60C, $127]
DO:
SEROUT 8, $60, 0, [$90, $144, $127]
DEBUG HOME, "SEROUT 8, $60, 0, [$90, $144, $127]"
PAUSE 1000
SEROUT 8, $60, 0, [$90, $144, $0]
DEBUG HOME, "SEROUT 8, $60, 0, [$90, $144, $0]"
PAUSE 1000
LOOP
it's two note on messages but with different velocity right ?
I've tried to varie the '$60' '$144' but still got no results in my synth.
The debug window is showing reaction but my synth is dead quiet
is it possible that this has smething to do with the boud rate ?
I'm beginner with BS2 and I'm trying to send a midi Out to my
"Xstation" : www.soundonsound.com/sos/sep04/articles/xstation25.htm (http://www.soundonsound.com/sos/sep04/articles/xstation25.htm)
finaly I want to make a 6 piezo midi drum complect, wich I can connect to "Xstation" via midi
and controll the "reason" software http://forums.parallax.com/images/smilies/smile.gif
I've connected the midi cable as intructed in:
peabody.sapp.org/class/dmp2/read/nv94_gettin_midi_with_it.pdf (http://peabody.sapp.org/class/dmp2/read/nv94_gettin_midi_with_it.pdf)
and loaded the code from here:
www.interaccess.org/arg/arg-knowledge/MIDI.BS2 (http://www.interaccess.org/arg/arg-knowledge/MIDI.BS2)
or my code:
' {$STAMP BS2}
' {$PBASIC 2.5}
'Note ON: $90, note (0 – 127), velocity (0 – 127)
'Note Off: $80, note (0 – 127), velocity (0 – 127)
'--------------SEROUT 8, $60, 0, [$90, $60C, $127]
DO:
SEROUT 8, $60, 0, [$90, $144, $127]
DEBUG HOME, "SEROUT 8, $60, 0, [$90, $144, $127]"
PAUSE 1000
SEROUT 8, $60, 0, [$90, $144, $0]
DEBUG HOME, "SEROUT 8, $60, 0, [$90, $144, $0]"
PAUSE 1000
LOOP
it's two note on messages but with different velocity right ?
I've tried to varie the '$60' '$144' but still got no results in my synth.
The debug window is showing reaction but my synth is dead quiet
is it possible that this has smething to do with the boud rate ?