On Monday 16 June 2003 13.19, Jaroslav Kysela wrote: > On Mon, 16 Jun 2003, Jaroslav Kysela wrote: > > > thanks for the clarification. i'd be glad to help, but i doubt > > > i could meet the coding standards of alsa-lib. at least i could > > > help test it. do you or anyone of the alsa core developers have > > > plans to tackle this some time soon ? i'd love to be able to > > > use my controller box for the LinuxTag presentations in > > > mid-July. > > > > I am working on it right now, but it requires to add new states > > to sequencer event encoder... > > Initial code is in CVS. It is not tested, but hopefully, without > any major bugs.
Does this code remove the (N)RPN related CC events, or does it just decode (N)RNPs in parallel? The latter will cause (N)RPNs to be doubled in apps that understand both "raw" CCs and cooked (N)RPNs. (Like Audiality as of a few minutes back.) I think filtering the CCs out is the Right Thing(TM) to do when (N)RPNs are actually used, but if some apps want to use the full range of "raw" CCs, that won't work. Those apps won't see the (N)RPN related CCs, and they won't look for (NON)REGPARAM events. (Even if they did, they wouldn't be able to extract the underlying CCs reliably.) Maybe ALSA shouldn't mess with (N)RPNs at all, unless applications ask for it? > It seems that we have also missing encoding of > CONTROL14 events. Now *that's* fun stuff... *heh* BTW, I think "applications might know better" applies here too. Apps that want to bother with 14 bit controls might do stuff that's intimately tied to the control intperpolation/smoothing. The only "correct" way to implement 14 bit CCs seems to involve a timeout, which will add latency to all CCs that can be 14 bit, and apps that want to be smart about it to reduce latency may not be able to do so without getting at the raw CCs. //David Olofson - Programmer, Composer, Open Source Advocate .- The Return of Audiality! --------------------------------. | Free/Open Source Audio Engine for use in Games or Studio. | | RT and off-line synth. Scripting. Sample accurate timing. | `-----------------------------------> http://audiality.org -' --- http://olofson.net --- http://www.reologica.se --- ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel