i have bought a peavey studiomix midi controller on ebay, and it sends NRPN messages (non-registered parameter numbers). when i move a slider, it sends the slider number encoded in 98 and 99 and the value in the DATA ENTRY controllers 6 and 38. i would like to map these to ordinary midi controllers, or better yet, get nrpn support into ardour.
how do i get nrpn controller values from the alsa sequencer without having to parse the individual events and put them together by hand ?
grepping through alsa-lib, i found
static struct extra_event_list_t {
int event;
int (*decode)(snd_midi_event_t *dev, unsigned char *buf, int len, snd_seq_event_t *ev);
} extra_event[] = {
{SND_SEQ_EVENT_CONTROL14, extra_decode_ctrl14},
/*{SND_SEQ_EVENT_NONREGPARAM, extra_decode_nrpn},*/
/*{SND_SEQ_EVENT_REGPARAM, extra_decode_rpn},*/
};
which makes me think it might not yet be implemented....
any hints or fine manuals around ?
(disclaimer: i know absolutely *nothing* about the alsa seq code, my level of understanding is matthias' example client.)
best,
jörn
-- 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