Hello,
I try to use ALSA loopback (snd-loop) with Pd. To route the output of an application to the input of Pd.
Using : $ aplay -D hw:1,1,2 blabla.wav and $ arecord -D hw:1,0,2 | aplay works fine with ALSA loop.
But, if i want to use Pd (with ALSA -> input device 1 (Loopback hardware or plugin) -> Apply -> OK) instead of arecord, I get : tried but couldn't sync A/D/A in Pd console.
Anyone succeed to use Pd with ALSA loopback ? I miss something ? Thanx. ++
Jack
this would be easier with your name :-)
use jack.
On 14 Nov 2015, at 14:49, Jack jack@rybn.org wrote:
Hello,
I try to use ALSA loopback (snd-loop) with Pd. To route the output of an application to the input of Pd.
Using : $ aplay -D hw:1,1,2 blabla.wav and $ arecord -D hw:1,0,2 | aplay works fine with ALSA loop.
But, if i want to use Pd (with ALSA -> input device 1 (Loopback hardware or plugin) -> Apply -> OK) instead of arecord, I get : tried but couldn't sync A/D/A in Pd console.
Anyone succeed to use Pd with ALSA loopback ? I miss something ? Thanx. ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
And if aplay won't output to jack, you could try ecasound. On Nov 14, 2015 8:59 AM, "Simon Iten" itensimon@gmail.com wrote:
this would be easier with your name :-)
use jack.
On 14 Nov 2015, at 14:49, Jack jack@rybn.org wrote:
Hello,
I try to use ALSA loopback (snd-loop) with Pd. To route the output of an application to the input of Pd.
Using : $ aplay -D hw:1,1,2 blabla.wav and $ arecord -D hw:1,0,2 | aplay works fine with ALSA loop.
But, if i want to use Pd (with ALSA -> input device 1 (Loopback hardware or plugin) -> Apply -> OK) instead of arecord, I get : tried but couldn't sync A/D/A in Pd console.
Anyone succeed to use Pd with ALSA loopback ? I miss something ? Thanx. ++
Jack
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
Ecasound seems nice and i will give it a try. Thanx. ++
Jack
Le 14/11/2015 15:43, Matt Barber a écrit :
And if aplay won't output to jack, you could try ecasound.
On Nov 14, 2015 8:59 AM, "Simon Iten" <itensimon@gmail.com mailto:itensimon@gmail.com> wrote:
this would be easier with your name :-) use jack. > On 14 Nov 2015, at 14:49, Jack <jack@rybn.org <mailto:jack@rybn.org>> wrote: > > Hello, > > I try to use ALSA loopback (snd-loop) with Pd. To route the output of an > application to the input of Pd. > > > Using : > $ aplay -D hw:1,1,2 blabla.wav > and > $ arecord -D hw:1,0,2 | aplay > works fine with ALSA loop. > > But, if i want to use Pd (with ALSA -> input device 1 (Loopback hardware > or plugin) -> Apply -> OK) instead of arecord, I get : > tried but couldn't sync A/D/A > in Pd console. > > Anyone succeed to use Pd with ALSA loopback ? > I miss something ? > Thanx. > ++ > > Jack > > > _______________________________________________ > Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Eventually, i decided to use the jack alsa plugin with jackd. Formelly, I had buffer problems with ecasound when receiving sound with netcat :
$ netcat -ukl 1234 | ecasound -i stdin -o jack,pure_data_0:input0
(audioio-db-client) WARNING: Underrun in reading from "stdin". Trying to recover. (audioio-db-client) WARNING: Underrun in reading from "stdin". Trying to recover. (audioio-db-client) WARNING: Underrun in reading from "stdin". Trying to recover.
The sound was send with :
$ arecord -d0 -c1 -f S16_LE -r 11025 -t wav | netcat -u 192.168.1.13 1234
Now, with jack alsa plugin :
$ netcat -ukl 1234 | aplay -D pcm.jack
i can get the sound in Pd through jackd. ++
Jack
PS : if someone has a solution with alsa loopback and Pd (or a simple proposition), I am still ready to read it...
Le 14/11/2015 15:55, Jack a écrit :
Ecasound seems nice and i will give it a try. Thanx. ++
Jack
Le 14/11/2015 15:43, Matt Barber a écrit :
And if aplay won't output to jack, you could try ecasound.
On Nov 14, 2015 8:59 AM, "Simon Iten" <itensimon@gmail.com mailto:itensimon@gmail.com> wrote:
this would be easier with your name :-)
use jack.
On 14 Nov 2015, at 14:49, Jack <jack@rybn.org
mailto:jack@rybn.org> wrote:
Hello,
I try to use ALSA loopback (snd-loop) with Pd. To route the output
of an
application to the input of Pd.
Using : $ aplay -D hw:1,1,2 blabla.wav and $ arecord -D hw:1,0,2 | aplay works fine with ALSA loop.
But, if i want to use Pd (with ALSA -> input device 1 (Loopback
hardware
or plugin) -> Apply -> OK) instead of arecord, I get : tried but couldn't sync A/D/A in Pd console.
Anyone succeed to use Pd with ALSA loopback ? I miss something ? Thanx. ++
Jack
Pd-list@lists.iem.at mailto:Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailto: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
Yep, I know ;) I just want to use ALSA loop because it looks very simple to setup. ++
Jack
Le 14/11/2015 14:58, Simon Iten a écrit :
this would be easier with your name :-)
use jack.
On 14 Nov 2015, at 14:49, Jack jack@rybn.org wrote:
Hello,
I try to use ALSA loopback (snd-loop) with Pd. To route the output of an application to the input of Pd.
Using : $ aplay -D hw:1,1,2 blabla.wav and $ arecord -D hw:1,0,2 | aplay works fine with ALSA loop.
But, if i want to use Pd (with ALSA -> input device 1 (Loopback hardware or plugin) -> Apply -> OK) instead of arecord, I get : tried but couldn't sync A/D/A in Pd console.
Anyone succeed to use Pd with ALSA loopback ? I miss something ? Thanx. ++
Jack
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list