[LAD] Finding ALSA sequencer client/port numbers
David Robillard
d at drobilla.net
Fri Apr 22 23:55:33 UTC 2011
On Fri, 2011-04-22 at 22:30 +0000, Fons Adriaensen wrote:
> On Fri, Apr 22, 2011 at 06:06:54PM -0400, David Robillard wrote:
>
> > Alsa sequencer names aren't unique or intended for use as identifiers,
> > you probably don't want to do this if it's at all possible to avoid...
>
> If that's true, what purpose do they have at all ?
They are human-friendly /labels/, not /identifiers/.
> In this concrete case, I have Python class which acts as
> an interface to the Novation Launchpad. I want its ports
> to connect to the launchpad, as any other connection
> wouldn't make any sense at all. I know the names of
> the required ports, but not the numbers.
Why do you know the names of the required ports but not the numbers?
-dr
P.S. The direct USB interface to the launchpad is pretty simple, I'm
driving mine without Alsa or MIDI anything at all
More information about the Linux-audio-dev
mailing list