[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mockingboard
It works that way because it's a stream of data, but the note-on and
note-off stuff could cause problems because each channel can have
multiple note-on commands at once. You could do a quick proof of
concept by saying that Osc A = Channel 1, Osc B = Channel 2 and Osc 3 =
Channel 3. That way you can do an easy mapping. However, if you
wanted to support midi more fully, you have to have a round-robin
approach to mapping an oscillator to a note. Even more fun, when you
receive the corresponding note-off, you have to hunt down the
oscillator that is assigned to that note and then shut it off (unless
another note-on event overtook that oscillator, in which case you
ignore the note off command)
I think it's totally do-able, but unless you're going to make the apple
//e a realtime midi-capable instrument (could be fun!) it might make
more sense to do a quick conversion from MIDI-to-AY to make the note
data more quickly interpreted at runtime.