[sdiy] MIDI HD
ASSI
Stromeko at nexgo.de
Tue Jan 22 07:43:50 CET 2013
On Monday 21 January 2013, 21:54:56, Martin Klang wrote:
> How do you imagine this working on the receiving side?
This is much simpler than you seem to think.
> Should the device wait to see if the second message arrives, thereby
> introducing latency?
Nope, there's no need to wait for anything.
1. If you get an LSB, change it immediately.
2. If you get an MSB, change it immediately _and_ together with that change
the LSB so that the distance between the old and the new value is minimized
(i.e. depending on direction and perhaps signedness of the value you either
set the LSB to 0x7f or 0x00).
> Or update immediately, causing skipping which might well be worse than the
> stepping it is meant to cure. (if you don't believe me, consider a
> transition from 0x80 to 0x7f - it would first skip to either 0x00 or 0xff
> depending on which byte you sent first)
You always need to send the MSB first, if any.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
More information about the Synth-diy
mailing list