[sdiy] MIDI_too_fast?
grant at musictechnologiesgroup.com
grant at musictechnologiesgroup.com
Tue Jun 15 20:49:40 CEST 2010
Sorry to be such a mailbox eater today, ... I just looked at the JX3P
code. They actually have two queues, one for note on and one for note
off. The data is enqueued in the ISR and a flag is set. Two queues, two
flags. So the main code pulls out the data depending on which flag it
sees first. And of course it polls the note on flag first! (And at a
10ms poll rate this is what happens: on the first pass it turns the note
on then exits. On the second pass 10ms later it turns the note off).
Totally fixable. Who should I send the memo to?
In this case having only one queue would have helped, twice a big as the
two little ones and containing on/off state (rather than just note
numbers).
GB
More information about the Synth-diy
mailing list