Re: [PD] ALSA loopback

2018-04-12 Thread Jack
Le 12/04/2018 à 15:06, Jack a écrit :
> Hello,
> 
> Somme interrogation here with ALSA loopback and Pd.
> 
> I used to use ALSA loopback to route audio on my Linux and it works like
> a charm with ffmpeg : I send the audio to hw:1,0,0 and get it on
> hw:1,1,0. And the sound sounds good (no glitch).
> 
> With Pd, it is not the same. First I need to send the sound on hw:1,1,0
> (for instance with ffmpeg) and get it on the card Loopback (in Pd). The
> sound is noisy.
> 
> So, my three questions :
> 
> Why the sound is noisy using Pd and how to solve this ?

Adding latency solves this problem.
++

Jack


> Why I need to send the sound to hw:1,1,0 (and not hw:1,0,0) to get it
> with Pd ? (not a problem actually)
> How can I get access to the other device of Loopback with Pd ?
> 
> It seems I miss something somewhere...
> 
> ++
> 
> Jack
> 
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] ALSA loopback

2018-04-12 Thread Jack
Hello,

Somme interrogation here with ALSA loopback and Pd.

I used to use ALSA loopback to route audio on my Linux and it works like
a charm with ffmpeg : I send the audio to hw:1,0,0 and get it on
hw:1,1,0. And the sound sounds good (no glitch).

With Pd, it is not the same. First I need to send the sound on hw:1,1,0
(for instance with ffmpeg) and get it on the card Loopback (in Pd). The
sound is noisy.

So, my three questions :

Why the sound is noisy using Pd and how to solve this ?
Why I need to send the sound to hw:1,1,0 (and not hw:1,0,0) to get it
with Pd ? (not a problem actually)
How can I get access to the other device of Loopback with Pd ?

It seems I miss something somewhere...

++

Jack



___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] ALSA loopback and Pd

2015-11-15 Thread Jack
-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" > > wrote:
>> 
>> this would be easier with your name :-)
>> 
>> use jack.
>>> On 14 Nov 2015, at 14:49, Jack > > 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
>> 
> 
> 
> ___ 
> Pd-list@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-

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ALSA loopback and Pd

2015-11-14 Thread Jack
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"  > wrote:
> 
> this would be easier with your name :-)
> 
> use jack.
> > On 14 Nov 2015, at 14:49, Jack  > 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
> 


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ALSA loopback and Pd

2015-11-14 Thread Jack
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  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


Re: [PD] ALSA loopback and Pd

2015-11-14 Thread Matt Barber
And if aplay won't output to jack, you could try ecasound.
On Nov 14, 2015 8:59 AM, "Simon Iten"  wrote:

> this would be easier with your name :-)
>
> use jack.
> > On 14 Nov 2015, at 14:49, Jack  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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] ALSA loopback and Pd

2015-11-14 Thread Simon Iten
this would be easier with your name :-)

use jack.
> On 14 Nov 2015, at 14:49, Jack  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


[PD] ALSA loopback and Pd

2015-11-14 Thread Jack
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