Tim,
You may want to consider using jack, which will allow you to use the device names rather than IDs so long as you do not have multiple devices of the same type.
To get the names of the devices use cat /proc/asound/cards from the terminal. This will list all sound devices. In my case on this machine that command returns:
0 [SB ]: HDA-Intel - HDA ATI SB
HDA ATI SB at 0xfccf4000 irq 16
1 [R15 ]: RME9652 - RME Digi9652 (Rev 1.5)
RME Digi9652 (Rev 1.5) at 0xfd000000, irq 20
To address the RME card, I can use the alsa device hw:R15 in my jack startup.
Otherwise, you could probably achieve the same with a custom alsa device specifying the hardware in ~/.asoundrc to overide the default also device, but don't me ask me how...
-michael
On Sun, Sep 4, 2011 at 5:33 AM, tim vets <timvets@gmail.com> wrote:
> How do I have pd select the correct sound card, regardless of what device
> numbering it gets from alsa?
> The problem is now that for some reason, the device listing of my sound
> cards and midi devices keeps changing quite often.
> After a reboot, it is often the case that pd tries to connect to the wrong
> alsa device, and I have to select it manually again.
> Anyone know a good trick to cope with this?
> Thanks
> Tim
> _______________________________________________
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>