Re: [LAD] MIDI controller question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Julien Claassen <julien@...>
Cc: Linux-Audio-Dev <linux-audio-dev@...>
Date: Monday, December 10, 2012 - 12:44 pm

[Julien Claassen]

To know what the manufacturers intended, I guess you'd have to ask
them, or purchase the official MIDI spec from midi.org (print copies
only!), hope it answers the question and hope that the manufacturer of
your synth read and implemented the same spec.

Alternatively, a viable approach that seems perfectly in spirit with
MIDI's old-style nature is to assume local state for the LSB/MSB pair
is always valid and casually update it with data right as it is
received, no matter which half.

(A possible refinement might update the LSB along with a freshly
received MSB: if the new MSB is lower than the stored state, set the
LSB to 7f and to 0 otherwise. This way, your complete value will not
jump back and forth if you receive a mix of MSB and LSB. You lose an
LSB worth of adjustment range if no LSB is ever transmitted though, so
to refine it further you might turn on this LSB interpolation only
after you actually receive one.)

Cheers, Tim
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] MIDI controller question, Julien Claassen, (Sun Dec 9, 11:29 pm)
Re: [LAD] MIDI controller question, Tim Goetze, (Mon Dec 10, 12:44 pm)
Re: [LAD] MIDI controller question, Paul Davis, (Mon Dec 10, 12:58 pm)
Re: [LAD] MIDI controller question, Tim Goetze, (Mon Dec 10, 2:38 pm)
Re: [LAD] MIDI controller question, Julien Claassen, (Mon Dec 10, 4:03 pm)
Re: [LAD] MIDI controller question, Tim Goetze, (Mon Dec 10, 5:14 pm)
Re: [LAD] MIDI controller question, Paul Davis, (Mon Dec 10, 12:07 am)
Re: [LAD] MIDI controller question, Julien Claassen, (Mon Dec 10, 6:47 am)
Re: [LAD] MIDI controller question, Paul Davis, (Mon Dec 10, 11:54 am)