Quote:
Originally Posted by bang
no luck. still has bogus midi out.
|
ok. more fwiw: looking a bit closer, noteoffs are ok, and noteons have correct msg23 data. only "evmsgs[ii]" is garbled in "midisend(evtimes[ii],evmsgs[ii],evmsg23s[ii]);" here:
Code:
// send due noteons first to avoid stuck notes
// also do reset current notes first so new current notes appear
midi_bus= chanbus;
ii= 0; loop ( evcnt,
evtimes[ii] < samplesblock ?( //event due this @block
evmsgs[ii] >= 0 && (evmsgs[ii]&$xf0) == $x90 ?(
midisend(evtimes[ii],evmsgs[ii],evmsg23s[ii]);
): evmsgs[ii] == -notes && evmsg23s[ii] < 0 ?( //reset current note hilites
lastcnt= 0;
);
);
evmsgs[ii] >= 0 && (evmsgs[ii]&$xf0) == $x90 ? foo2+= 1;
ii+= 1;
);
thanks again! /dan