Dan Ritter writes:
> > arecord: set_params:1345: Channels count non available
> > sox FAIL formats: can't open input `-': WAVE: RIFF header not found
>
> Keep recording 2 channels. Your hardware doesn't like it
> otherwise.
>
> You can ask sox:
>
> sox -t wav -c1 - -r44100 $filename
>
> to me
Martin McCormick wrote:
> So, I want a mono version. Let's try this:
>
> #! /bin/sh
> cd ~/tmp
> filename=$1.wav
> echo $filename
> arecord -D hw:1,0 -r 48000 -d $2 -c 1 -f S16_LE - \
> | sox -t wav - -r44100 $filename
>
> This hasn't worked yet. It is identical to the good version but
>
Martin McCormick (12021-08-18):
> arecord: set_params:1345: Channels count non available
> sox FAIL formats: can't open input `-': WAVE: RIFF header not found
If you read carefully, you will notice that your problem is not with
sox, it is with arecord: sox only fails because arecord fails and doe
On Wed 18 Aug 2021 at 21:41:06 (-0500), Martin McCormick wrote:
> I have a little shell script called fullstereo which works fine.
> It's short so I'll show it to you. It records sound from a
> Creative Labs usb sound card which is probably much happier on a
> Windows box but that's not where I ne
I have a little shell script called fullstereo which works fine.
It's short so I'll show it to you. It records sound from a
Creative Labs usb sound card which is probably much happier on a
Windows box but that's not where I need it. It has only 1
sampling rate that works under debian and that is
5 matches
Mail list logo