From: Joern Nettingsmeier <nettings@folkwang-hochschule.de>
To: alsa-devel@lists.sourceforge.net
Subject: sequencer: handling non-registered parameter numbers....
Date: Sun, 15 Jun 2003 18:16:06 +0200 [thread overview]
Message-ID: <3EEC9BC6.5090603@folkwang-hochschule.de> (raw)
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
next reply other threads:[~2003-06-15 16:16 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-15 16:16 Joern Nettingsmeier [this message]
2003-06-15 18:52 ` sequencer: handling non-registered parameter numbers 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EEC9BC6.5090603@folkwang-hochschule.de \
--to=nettings@folkwang-hochschule.de \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.