Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
Thank you for your reply, i just discovered this -listdev by looking at the
help page.

Cheers,

Pierre.

2013/1/23 Miller Puckette 

> "audiodev" and other device selecting options (MIDI for example) count the
> devicesstarting at 1 (probably because the first OS I ran Pd on did it
> that way but I don't even remember now).  invoke "pd -listdev' to see what
> devices Pd actually thinks it can access and how it numbers them.
>
> cheers
> Miller
>
> On Wed, Jan 23, 2013 at 10:56:55AM +0100, Pierre Massat wrote:
> > Hi,
> >
> > thank you for your replies. Of course I know man, but honestly i didn't
> > bother to read it...
> >
> > I did try '-audiodev "1"' (my card shows up as card 1), but it didn't
> work.
> > I'll try again tonight.
> >
> > Cheers,
> >
> > Pierre.
> >
> >
> >
> > 2013/1/23 IOhannes m zmoelnig 
> >
> > > -BEGIN PGP SIGNED MESSAGE-
> > > Hash: SHA1
> > >
> > > On 2013-01-23 09:49, Pierre Massat wrote:
> > > > Unless there's a better place on the web to learn about start-up
> > > > flags, i think it would be a good idea to provide more details on
> > > > the community website. I always find it frustrating when i have to
> > > > spend a lot of time figuring out how to use a command line program
> > > > just because i don't know the syntax of the arguments.
> > >
> > > on unix systems, about each and every cmdline tool has a manpage.
> > >
> > > $ man pd
> > >
> > > most programs i know, also accept a "-h" or "--help" argument, that
> > > gives you another help.
> > > Pd is a bit exclusive here, as it uses the "-help" syntax (but then Pd
> > > is clever enough to give you the full help whenever it encounters an
> > > argument it doesn't know about; so "pd -h" and "pd --help" work fine
> > > as well).
> > >
> > > $ pd -help
> > >
> > >
> > > in the case of Pd, the manpage is a little neglected, but at least it
> > > directs you to "pd -help".
> > >
> > > fgamsd
> > > IOhannes
> > > -BEGIN PGP SIGNATURE-
> > > Version: GnuPG v1.4.12 (GNU/Linux)
> > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> > >
> > > iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
> > > oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
> > > =ries
> > > -END PGP SIGNATURE-
> > >
> > > ___
> > > Pd-list@iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > http://lists.puredata.info/listinfo/pd-list
> > >
>
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Miller Puckette
"audiodev" and other device selecting options (MIDI for example) count the
devicesstarting at 1 (probably because the first OS I ran Pd on did it
that way but I don't even remember now).  invoke "pd -listdev' to see what
devices Pd actually thinks it can access and how it numbers them.

cheers
Miller

On Wed, Jan 23, 2013 at 10:56:55AM +0100, Pierre Massat wrote:
> Hi,
> 
> thank you for your replies. Of course I know man, but honestly i didn't
> bother to read it...
> 
> I did try '-audiodev "1"' (my card shows up as card 1), but it didn't work.
> I'll try again tonight.
> 
> Cheers,
> 
> Pierre.
> 
> 
> 
> 2013/1/23 IOhannes m zmoelnig 
> 
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On 2013-01-23 09:49, Pierre Massat wrote:
> > > Unless there's a better place on the web to learn about start-up
> > > flags, i think it would be a good idea to provide more details on
> > > the community website. I always find it frustrating when i have to
> > > spend a lot of time figuring out how to use a command line program
> > > just because i don't know the syntax of the arguments.
> >
> > on unix systems, about each and every cmdline tool has a manpage.
> >
> > $ man pd
> >
> > most programs i know, also accept a "-h" or "--help" argument, that
> > gives you another help.
> > Pd is a bit exclusive here, as it uses the "-help" syntax (but then Pd
> > is clever enough to give you the full help whenever it encounters an
> > argument it doesn't know about; so "pd -h" and "pd --help" work fine
> > as well).
> >
> > $ pd -help
> >
> >
> > in the case of Pd, the manpage is a little neglected, but at least it
> > directs you to "pd -help".
> >
> > fgamsd
> > IOhannes
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG v1.4.12 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
> > oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
> > =ries
> > -END PGP SIGNATURE-
> >
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >

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


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


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
Hi,

thank you for your replies. Of course I know man, but honestly i didn't
bother to read it...

I did try '-audiodev "1"' (my card shows up as card 1), but it didn't work.
I'll try again tonight.

Cheers,

Pierre.



2013/1/23 IOhannes m zmoelnig 

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2013-01-23 09:49, Pierre Massat wrote:
> > Unless there's a better place on the web to learn about start-up
> > flags, i think it would be a good idea to provide more details on
> > the community website. I always find it frustrating when i have to
> > spend a lot of time figuring out how to use a command line program
> > just because i don't know the syntax of the arguments.
>
> on unix systems, about each and every cmdline tool has a manpage.
>
> $ man pd
>
> most programs i know, also accept a "-h" or "--help" argument, that
> gives you another help.
> Pd is a bit exclusive here, as it uses the "-help" syntax (but then Pd
> is clever enough to give you the full help whenever it encounters an
> argument it doesn't know about; so "pd -h" and "pd --help" work fine
> as well).
>
> $ pd -help
>
>
> in the case of Pd, the manpage is a little neglected, but at least it
> directs you to "pd -help".
>
> fgamsd
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
> oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
> =ries
> -END PGP SIGNATURE-
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-01-23 09:49, Pierre Massat wrote:
> Unless there's a better place on the web to learn about start-up
> flags, i think it would be a good idea to provide more details on
> the community website. I always find it frustrating when i have to
> spend a lot of time figuring out how to use a command line program
> just because i don't know the syntax of the arguments.

on unix systems, about each and every cmdline tool has a manpage.

$ man pd

most programs i know, also accept a "-h" or "--help" argument, that
gives you another help.
Pd is a bit exclusive here, as it uses the "-help" syntax (but then Pd
is clever enough to give you the full help whenever it encounters an
argument it doesn't know about; so "pd -h" and "pd --help" work fine
as well).

$ pd -help


in the case of Pd, the manpage is a little neglected, but at least it
directs you to "pd -help".

fgamsd
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlD/rkQACgkQkX2Xpv6ydvTONgCgnt2RHZ3UVlLIY8tndFgQoqIq
oxcAoJ5wTDLC9GoRiJhUl2FJTfA0iIKg
=ries
-END PGP SIGNATURE-

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


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-01-23 09:49, Pierre Massat wrote:
> I don't know why it's working. I just hope the next update won't
> break that!
> 
> So "-sounddev 2" should work for my card showing up as card 1 ? 
> Incidentally, there are only two pages that I know of on the web
> explaining how to use start-up flags in the command line ( 
> http://en.flossmanuals.net/pure-data/getting-started/starting/ and 
> http://puredata.info/docs/faq/commandline).  None of them mention 
> "-soundev". Is this a new flag ?

yes, but only if you consider Pd-0.35 relatively new (which even i
don't :-))

i guess "-sounddev" is rather unknown, because the documentation only
mentions "-audiodev".

the two flags are really the same, and i suggest to use "-audiodev" to
avoid more confusion.

gfmadrt
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlD/rJUACgkQkX2Xpv6ydvQfqACffZIcnwMg1ZJfg1Mz6ihXGUfN
6G8AmwYr71I9SADyKO3UB3gnqnP5y4VW
=cacH
-END PGP SIGNATURE-

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


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Cyrille Henry



Le 23/01/2013 09:49, Pierre Massat a écrit :

I don't know why it's working. I just hope the next update won't break that!

So "-sounddev 2" should work for my card showing up as card 1 ? Incidentally, there are 
only two pages that I know of on the web explaining how to use start-up flags in the command line 
(http://en.flossmanuals.net/pure-data/getting-started/starting/ and 
http://puredata.info/docs/faq/commandline).  None of them mention "-soundev". Is this a 
new flag ?

no, it's not new.


Unless there's a better place on the web to learn about start-up flags, i think 
it would be a good idea to provide more details on the community website. I 
always find it frustrating when i have to spend a lot of time figuring out how 
to use a command line program just because i don't know the syntax of the 
arguments.

pd -h give you all needed informations. you don't need a web access.

cheers
c



Cheers,

Pierre.

2013/1/22 Miller Puckette mailto:m...@ucsd.edu>>

That's great (and surprising) news... I wonder why you're getting a better
ride from teh E-MU box than I am from the iMic but it sounds as if I should
be digging up one like yours to try.

I think you can just invoke 'pd -sounddev 2' to select the USB device.

cheers
Miller

On Tue, Jan 22, 2013 at 09:23:51PM +0100, Pierre Massat wrote:
 > Dear list, dear Miller,
 >
 > I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
 > suggested. I installed Pd from the Raspbian repos (not your version).
 > I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
 > to slow down the USB.
 > I tried with a latency in Pd of 10 ms, in X, connected to the internet, 
and
 > there was very little dropouts.
 > This is so promising it's scary.
 >
 > Now i have one very frustrating problem : i don't know how to choose my
 > soundcard from the command line when starting Pd...
 > It shows up as Card 1, device 0 when i do "aplay -l", but i don't know 
how
 > to use this information.
 >
 > Cheers!
 >
 > Pierre.

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




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



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


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-23 Thread Pierre Massat
I don't know why it's working. I just hope the next update won't break that!

So "-sounddev 2" should work for my card showing up as card 1 ?
Incidentally, there are only two pages that I know of on the web explaining
how to use start-up flags in the command line (
http://en.flossmanuals.net/pure-data/getting-started/starting/ and
http://puredata.info/docs/faq/commandline).  None of them mention
"-soundev". Is this a new flag ?
Unless there's a better place on the web to learn about start-up flags, i
think it would be a good idea to provide more details on the community
website. I always find it frustrating when i have to spend a lot of time
figuring out how to use a command line program just because i don't know
the syntax of the arguments.

Cheers,

Pierre.

2013/1/22 Miller Puckette 

> That's great (and surprising) news... I wonder why you're getting a better
> ride from teh E-MU box than I am from the iMic but it sounds as if I should
> be digging up one like yours to try.
>
> I think you can just invoke 'pd -sounddev 2' to select the USB device.
>
> cheers
> Miller
>
> On Tue, Jan 22, 2013 at 09:23:51PM +0100, Pierre Massat wrote:
> > Dear list, dear Miller,
> >
> > I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
> > suggested. I installed Pd from the Raspbian repos (not your version).
> > I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
> > to slow down the USB.
> > I tried with a latency in Pd of 10 ms, in X, connected to the internet,
> and
> > there was very little dropouts.
> > This is so promising it's scary.
> >
> > Now i have one very frustrating problem : i don't know how to choose my
> > soundcard from the command line when starting Pd...
> > It shows up as Card 1, device 0 when i do "aplay -l", but i don't know
> how
> > to use this information.
> >
> > Cheers!
> >
> > Pierre.
>
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi - Audio in and out, low latency

2013-01-22 Thread Miller Puckette
That's great (and surprising) news... I wonder why you're getting a better
ride from teh E-MU box than I am from the iMic but it sounds as if I should
be digging up one like yours to try.

I think you can just invoke 'pd -sounddev 2' to select the USB device.

cheers
Miller

On Tue, Jan 22, 2013 at 09:23:51PM +0100, Pierre Massat wrote:
> Dear list, dear Miller,
> 
> I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
> suggested. I installed Pd from the Raspbian repos (not your version).
> I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
> to slow down the USB.
> I tried with a latency in Pd of 10 ms, in X, connected to the internet, and
> there was very little dropouts.
> This is so promising it's scary.
> 
> Now i have one very frustrating problem : i don't know how to choose my
> soundcard from the command line when starting Pd...
> It shows up as Card 1, device 0 when i do "aplay -l", but i don't know how
> to use this information.
> 
> Cheers!
> 
> Pierre.

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


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


[PD] Raspberry Pi - Audio in and out, low latency

2013-01-22 Thread Pierre Massat
Dear list, dear Miller,

I tried Pd on a fresh Raspbian install today. I removed pulseaudio as you
suggested. I installed Pd from the Raspbian repos (not your version).
I tried it with my USB E-MU 0404 soundcard. It worked right away. No need
to slow down the USB.
I tried with a latency in Pd of 10 ms, in X, connected to the internet, and
there was very little dropouts.
This is so promising it's scary.

Now i have one very frustrating problem : i don't know how to choose my
soundcard from the command line when starting Pd...
It shows up as Card 1, device 0 when i do "aplay -l", but i don't know how
to use this information.

Cheers!

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