PDA

View Full Version : BS2 midi Out problem



vldo
08-25-2008, 12:22 PM
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 ?

Bruce Bates
08-25-2008, 12:38 PM
Vido -

Try switching the BAUDMODE to 188 (decimal) which means no $.

Regards,

Bruce Bates

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Involvement and committment can be best understood by looking at a plate of ham and eggs. The chicken was involved, but the pig was committed. ANON

vldo
08-25-2008, 01:48 PM
Hi,
sorry for the dirty post, with a sily mistake.
I found this:


and I tried to change various Boudrates but, still the same ...
please can anny one help, thenk's http://forums.parallax.com/images/smilies/smile.gif

vldo
08-25-2008, 01:54 PM
Oops.. :-] the correct link is this way :

http://mrogalsky.web.wesleyan.edu/otherthings/voltage-midi/midireference.html