[sdiy] Communications with voices in a polyphonic synth
Neil Johnson
neil.johnson97 at ntlworld.com
Thu Mar 11 23:07:47 CET 2010
Hi,
cheater cheater wrote:
>> 2) Why should 'matrix destination' packets get priority over key ons?
>> Parameter changes are a lower priority.
>
> Because you want the note to be started with the parameters that
> depend on the note event (velocity, pitch, etc), instead of it
> starting at some default value and then changing quickly to a new
> value. That would be a glitch.
MIDI does this already (passing velocity and note information in a
single message).
> OSC is really easy. It's probably going to be easier for you to do OSC
> than midi. For one thing, you can skip the state machine crappiness.
> And it's much easier to debug though, since it's all just plaintext.
Parsing a text-based protocol vs. a compact bit-encoded protocol
"easier" on a resource-constrained time-critical embedded processor?
No.
Debugging ... well, if MIDI is used as the messaging protocol then a
little hardware adaptor and a PC can be used to record, decode,
parse, slice, dice, analyse to death the message stream. Or write
one to handle 9-bit messages if going for multiprocessor-mode RS485.
Neil
--
http://www.njohnson.co.uk
More information about the Synth-diy
mailing list