[PD] selecting the correct alsa soundcard via commandline ...
fbar at footils.org
Fri Jun 12 12:44:52 CEST 2009
danomatika hat gesagt: // danomatika wrote:
> On Fri, 2009-06-12 at 09:37 +0200, pd-list-request at iem.at wrote:
> > But cards don't magically enter or leave your computer: Why don't you
> > prepare
> > some startup scripts depending on how many cards are in the box?
> With usb they do. My undergrad training was in computer engineering so
> I can't help but to always want a generic, handle everything solution. :
> Well, the issue is that there's a usb midi port a may or may not use
> that pd lists as an audio device, so I'm looking for a way to make sure
> I use the usb soundcard. Once again, this is a specialized embedded
> environment where everything should work automatically.
> In the meantime, I may not need the usb-midi device for the next couple
> of shows.
You can force a USB card to always get a specific card index number. See
http://alsa.opensrc.org/index.php/MultipleUSBAudioDevices for how to do it.
More information about the Pd-list