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"
> $ 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
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
> > > 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
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)
=
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
> 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 (