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.
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
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:
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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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.
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.
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:
- HDA Intel PCH (hardware)
- HDA Intel PCH (plug-in)
- USB Audio CODEC (hardware)
- USB Audio CODEC (plug-in)
- USB Audio CODEC (hardware)
- 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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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_de... 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:
- HDA Intel PCH (hardware)
- HDA Intel PCH (plug-in)
- USB Audio CODEC (hardware)
- USB Audio CODEC (plug-in)
- USB Audio CODEC (hardware)
- 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@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Fri, Apr 10, 2015 at 08:53:40AM +0200, Cyrille Henry wrote:
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_de... i was successfully using the "multi" device with aplay, but not with pd.
I think, "aliases" might work better here: http://www.alsa-project.org/main/index.php/Asoundrc#Aliases
The idea would be to define your own alias names for the USB cards like:
pcm.firstusb {
type hw
card 1
device 0
}
pcm.secondusb {
type hw
card 2
device 0
}
and then use
$ pd -alsa -audioadddev "secondusb"
But I've no idea if this actually works ... :(
Frank Barknecht _ ______footils.org__