Re: [Alsa-user] Help with arecord

2008-02-15 Thread Phil Rhoades
James, On Fri, 2008-02-15 at 07:59 -0600, James Shatto wrote: > > $ arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav > > Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 48000 > > Hz, Stereo > > arecord: pcm_read:1347: read error: Input/output error > > > > ("-c 1"

Re: [Alsa-user] Help with arecord

2008-02-15 Thread James Shatto
> $ arecord -d 10 -f S16_LE -r 48000 -c 2 -t wav -D hw:0 foobar.wav > Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 48000 > Hz, Stereo > arecord: pcm_read:1347: read error: Input/output error > > ("-c 1" gives a different error). The I/O error is an issue. What does dmesg or ot

Re: [Alsa-user] Help with arecord

2008-02-14 Thread Phil Rhoades
James, On Thu, 2008-02-14 at 07:21 -0600, James Shatto wrote: > > > > strace arecord -d 10 -f cd -t wav -D copy foobar.wav > > > > > > try: > > > > > > arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav > > > or > > > arecord -d 10 -f cd -t wav -D hw:0 foobar.wav > > > > I tried th

Re: [Alsa-user] Help with arecord

2008-02-14 Thread James Shatto
> > > strace arecord -d 10 -f cd -t wav -D copy foobar.wav > > > > try: > > > > arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav > > or > > arecord -d 10 -f cd -t wav -D hw:0 foobar.wav > > I tried the second and got: > > $ arecord -d 10 -f cd -t wav -D hw:0 foobar.wav > Recording

Re: [Alsa-user] Help with arecord

2008-02-14 Thread Julien Claassen
Hi! Probably you could try the samplerate conversion plugin. I don't know the exact name, but you can have a look at the alsa page. Look for the wiki main page and then look for the plugins. Kindest regards Julien Music was my first love and it will be my last (John Miles) =

Re: [Alsa-user] Help with arecord

2008-02-14 Thread Phil Rhoades
James, On Thu, 2008-02-14 at 06:43 -0600, James Shatto wrote: > > strace arecord -d 10 -f cd -t wav -D copy foobar.wav > > try: > > arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav > or > arecord -d 10 -f cd -t wav -D hw:0 foobar.wav > > Make sure copy is the right alias in your

Re: [Alsa-user] Help with arecord

2008-02-14 Thread James Shatto
> strace arecord -d 10 -f cd -t wav -D copy foobar.wav try: arecord -d 10 -f S16_LE -r 44100 -c 2 -t wav -D copy foobar.wav or arecord -d 10 -f cd -t wav -D hw:0 foobar.wav Make sure copy is the right alias in your .asoundrc, otherwise you might need to use the card number (/proc/asound/cards (