hello david !

thanks for your reply.

David Olofson wrote:
On Sunday 15 June 2003 18.16, Joern Nettingsmeier wrote:
[...]

        /*{SND_SEQ_EVENT_NONREGPARAM, extra_decode_nrpn},*/
        /*{SND_SEQ_EVENT_REGPARAM, extra_decode_rpn},*/
};

which makes me think it might not yet be implemented....


I'm using NRPNs to control the mixer in the current development version of Audiality, and they appear to be working just fine, and just like one would expect.



any hints or fine manuals around ?


Do you need one? :-)

where did i make the impression that i have *any* clue about progamming ? yes i do :)


What you get is plain <control, value> tuples, and that's all there is to it. (Well, it's all I *want* anyway, as I don't want to do stuff that's outside the MIDI spec...)

Here's some code, which isn't heavily tested, but does seem to do the job:

either i have not understood the semantics of nrpm, or nrpm events are not detected as such. when i move a slider, i always get four separate normal controller events: two on 98/99 encoding the control number as a 14bit value, and two on 6 and 38 encoding the data.


the case SND_EVENT_NONREGPARAM is never reached.
now one of three things must be broken (in decreasing order of likelihood): me, my wacky peavey controller, or alsa-lib.


?

--
All Members shall refrain in their international relations from
the threat or use of force against the territorial integrity or
political independence of any state, or in any other manner
inconsistent with the Purposes of the United Nations.
        -- Charter of the United Nations, Article 2.4


Jörn Nettingsmeier Kurfürstenstr 49, 45138 Essen, Germany http://spunk.dnsalias.org (my server) http://www.linuxdj.com/audio/lad/ (Linux Audio Developers)






------------------------------------------------------- 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

Reply via email to