All of lore.kernel.org
 help / color / mirror / Atom feed
* sequencer: handling non-registered parameter numbers....
@ 2003-06-15 16:16 Joern Nettingsmeier
  2003-06-15 18:52 ` David Olofson
  2003-06-15 18:59 ` Paul Davis
  0 siblings, 2 replies; 24+ messages in thread
From: Joern Nettingsmeier @ 2003-06-15 16:16 UTC (permalink / raw)
  To: alsa-devel

hello alsa gurus !

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2003-06-19  9:17 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-15 16:16 sequencer: handling non-registered parameter numbers Joern Nettingsmeier
2003-06-15 18:52 ` David Olofson
2003-06-16  7:51   ` Joern Nettingsmeier
2003-06-16  8:25     ` David Olofson
2003-06-16  8:29     ` Jaroslav Kysela
2003-06-16  8:41       ` David Olofson
2003-06-16  8:57         ` Jaroslav Kysela
2003-06-16  9:10           ` David Olofson
2003-06-16 15:05             ` David Olofson
2003-06-16  9:40       ` Joern Nettingsmeier
2003-06-16  9:55         ` Jaroslav Kysela
2003-06-16 11:19           ` Jaroslav Kysela
2003-06-16 12:01             ` Paul Davis
2003-06-16 15:28             ` David Olofson
2003-06-16 16:03               ` Jaroslav Kysela
2003-06-16 16:28                 ` Paul Davis
2003-06-18 13:41                 ` David Olofson
2003-06-16 15:31             ` Joern Nettingsmeier
2003-06-16 15:46             ` Joern Nettingsmeier
2003-06-16 16:04               ` Jaroslav Kysela
2003-06-19  9:17                 ` Joern Nettingsmeier
2003-06-15 18:59 ` Paul Davis
2003-06-16  7:59   ` Joern Nettingsmeier
2003-06-16 12:03     ` Paul Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.