On Fri, 2009-06-12 at 09:37 +0200, pd-list-request@iem.at wrote:
Hallo, danomatika hat gesagt: // danomatika wrote:
As far as I know, an asoundrc dosen't help in this case. Ubuntu
already
has a default asoundrc which automatically creates an alias named
after
the device. I can't use this with pd since pd only takes the alsa
hw or
plug indexes which can change depending on what gear I'm using.
I've also read on the list that you can use -alsaadd to add a device
to
the list from a custom asoundrc, but this only adds the device to
the
gui menu which I would need to access via a fudi startup message ala "audio-dialog 0 0 0 0 2 ...". Even in this case, I still have to
have a
damned index to the menu item!
If you use -alsaadd, you can also use the -audiodev flag to select the card added, no need to use the FUDI message. The added device appears after the predefined devices, one hw, one plughw for each card. So with two cards in the system, the first -alsaadded card will be at index 5.
Anyway, I think, even then you still need a damned index.
*sigh* yes
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.
Dan Wilcox danomatika.com robotcowboy.com
Hallo, danomatika hat gesagt: // danomatika wrote:
On Fri, 2009-06-12 at 09:37 +0200, pd-list-request@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.
Frank