From: Joern Nettingsmeier <nettings@folkwang-hochschule.de>
To: Paul Davis <paul@linuxaudiosystems.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: sequencer: handling non-registered parameter numbers....
Date: Mon, 16 Jun 2003 09:59:30 +0200 [thread overview]
Message-ID: <3EED78E2.1050503@folkwang-hochschule.de> (raw)
In-Reply-To: <E19Rced-0005Jf-00@sc8-sf-list1.sourceforge.net>
Paul Davis wrote:
>>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 ?
>
>
> ardour doesn't use the sequencer.
i'm aware of that. i was planning to use a virmidi card, which ardour
could grab raw, and to write a little mapper that maps nrpns to
arbitrary normal controllers. this can be patched between the midi in
port and the virtual device with aconnect. (if i have understood virmidi
devices correctly.)
> and i don't consider the nrpn messages any different from any other
> controller. from libmidi++'s persepective, there are 127 controller
> ID's, each with a value. whatever standard mapping they may have to
> gain, pan, or nrpn is completely ignored.
understood. the problem is, it won't work automatically with nrpn-based
controllers, since two nrpn "events" and two data entry events (yes,
both 14 bit) must be grouped together and transmogrified into one
[controller,value] tuple.
> 14 bit value support is almost impossible to provide: the midi spec is
> just ridiculous for that.
i wouldn't have dared to say so for lack of experience, but i had this
creeping feeling it might be the case. :)
maybe i should consider dropping 14-bit resolution (the crappy faders on
the peavey hardly manage 127 distinct positions) and just use the MSB
part of the 14bit controller. ardour does perform lowpass filtering of
controller values, right ?
--
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 prev parent reply other threads:[~2003-06-16 7:59 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=3EED78E2.1050503@folkwang-hochschule.de \
--to=nettings@folkwang-hochschule.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=paul@linuxaudiosystems.com \
/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.