[PD] ALSA loopback and Pd

Jack jack at rybn.org
Sun Nov 15 13:12:01 CET 2015


-----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 at gmail.com 
>> <mailto:itensimon at gmail.com>> wrote:
>> 
>> this would be easier with your name :-)
>> 
>> use jack.
>>> On 14 Nov 2015, at 14:49, Jack <jack at rybn.org
>> <mailto:jack at 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 at lists.iem.at <mailto: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 <mailto: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
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJWSHaNAAoJEOuluecjw8GUORwH/iHR+RCuOIrjoDx+U92QV6o3
tvWcsA3X9HcrT83J2RBDJsu/yVHdi7+781HI6oOtQfO/EyZxuv2nAtl3/7e7AKQv
Bs16WChWSDy9ay1/5spnduvjs/zedDQVyCXEMD/jb+sO/wkRC0YUERbGOW3kBsAp
rmtOMlA3Z+C9lNUHOyh3ERIfx8FCrIZ1NSmK+GopIzDntIY3Za718zHMaOh2il64
icPpznqKvSyDwnxM6yAk/19M7IXZ0E6DHMXaLcC8Bk7ruIK/B2w+zYIoQAHgKk2B
tI8KHxQoUVFRhtrV0KUZmHSpUZTWTWH7zwNDn5Ww/8Pho+HJt/JKpRkJ/zZ2ZjU=
=mj/l
-----END PGP SIGNATURE-----



More information about the Pd-list mailing list