From: David Olofson <david@olofson.net>
To: alsa-devel@lists.sourceforge.net
Subject: Re: sequencer: handling non-registered parameter numbers....
Date: Mon, 16 Jun 2003 10:25:13 +0200 [thread overview]
Message-ID: <200306161025.13304.david@olofson.net> (raw)
In-Reply-To: <3EED771D.5070803@folkwang-hochschule.de>
On Monday 16 June 2003 09.51, Joern Nettingsmeier wrote:
[...]
> > 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.
Well, that does sound like your ALSA setup isn't parsing those CCs,
but just letting them through. I don't get the raw CCs at all here,
but I do get the decoded NRPNs. (IIRC, that's why I threw the NRPN
code in in the first place. I have CC parsing code for it as well,
but those CCs never arrived.)
I've been using an Audigy card with various ALSA drivers from 0.9.0rc6
and up, but I'm not entirely sure this works with versions before
0.9.3. The ALSA sequencer support in Audiality isn't very old, so it
might be that I've only used it with 0.9.3.
> 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.
I dunno 'bout *you*, but your code makes one suspect. ;-) If the
controller actually sends the CCs involved in NRPNs, it *should*
work, if ALSA cares to decode it - and this is a generic MIDI thing,
so one would assume it's done in some place like alsa-lib, rather
than inside drivers. I'm not sure about that, though.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
-------------------------------------------------------
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 8:25 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 [this message]
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=200306161025.13304.david@olofson.net \
--to=david@olofson.net \
--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.