[PD] multiple identical soundcard and audioadddev

Cyrille Henry ch at chnry.net
Fri Apr 10 08:53:40 CEST 2015



Le 10/04/2015 02:45, Miller Puckette a écrit :
> Drat -  I'll have to go back to savng teh device by number in case the
> name isn't unique.  Anyhow, it's the driver's fault I think.
>
saving the device name is a nice functionalities. it's just that the 2nd card name should be :
"USB audio CODEC #2"


> As a workaround, give them ALSA names (which I think you can do using
> the ALSA config file somehow.)  Me, I've never been able to understand
> ALSA.
i tried this :
http://www.alsa-project.org/main/index.php/Asoundrc#Virtual_multi_channel_devices
i was successfully using the "multi" device with aplay, but not with pd.

the easiest solution i found is to use pd 0.45, since -audiodev 5 is really opening the device 5.

so, for information, i have 3 pd running each on a different soundcard (2 are usb), in order to have 6 output on a Raspberry Pi.
synchronisation between sound card is not sample accurate, but it's ok for now.

using 1 pd with multiple out device did not work : a sound to dac 1 is sending sound to all 3 devices.


thanks and Cheers
Cyrille

>
> cheers
> Miller
>
> On Wed, Apr 08, 2015 at 11:25:32AM +0200, Cyrille Henry wrote:
>>
>>
>> Le 08/04/2015 10:58, Cyrille Henry a écrit :
>>> hello,
>>>
>>> i'm trying to use pd with 2 almost identical soundcard (edirol ua-1x and behringer uca222). They both works with aplay.
>>> On pd, the audio setting menu offer 2 "USB Audio CODEC", when selecting the 1st or the 2nd, only the 1st soundcard is used. so i can't select both on the same time.
>>>
>>> i tried starting pd with
>>> pd -noprefs -alsa -audioadddev hw:1,0
>>> but : Couldn't find audio input device: hw:1,0
>>> i don't really understand what device name i should use for audioadddev option.
>> this works :
>> pd -noprefs -alsa -listdev -audioadddev ""USB Audio CODEC"
>>
>> but same result as changing the sound card in the menu : the 1st is always selected.
>>
>>
>> with :
>> audio output devices:
>> 1. HDA Intel PCH (hardware)
>> 2. HDA Intel PCH (plug-in)
>> 3. USB Audio CODEC (hardware)
>> 4. USB Audio CODEC (plug-in)
>> 5. USB Audio CODEC (hardware)
>> 6. USB Audio CODEC (plug-in)
>>
>> pd -noprefs -alsa -listdev -audiodev 5
>> will select audio dev 3
>>
>> cheers
>> c
>>
>>>
>>> So : how could i use 2 identical soundcard, and how to use the new audioadddev option?
>>>
>>> using pd 46.6 / ubuntu linux 14.04
>>>
>>> thanks
>>> cyrille
>>>
>>> _______________________________________________
>>> Pd-list at lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>



More information about the Pd-list mailing list