NetBSD-Help archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: audiorecord does not work

Hello Volker,

On Tue, Feb 19, 2008 at 07:21:27AM +0100, Volker Wolfram wrote:
> the following message comes on the screen with NetBSD 4.0:
> audiorecord -d /dev/audio0 -e linear -P 16 -p mic -s 44100 -t 3000 -v 240 -c >
> audiorecord: read failed: Invalid argument
The ``>'' stands for redirection operator or is it the PS2 shell's

> Can anyone give me an hint to avoid my mistakes?
Yes, I'll try to do this, the options and arguments are right, but the
``>'', if it is PS2, isn't right, the last argument should be a
file. And ``-c'' want the number of channels (IIRC 1 for mono and 2 for

So for example we can type something like this:

 $ audiorecord -d /dev/audio0 -e linear -P 16 -p mic -s 44100 -t 3000 -v 240 -c 
2 file

I tested it on my NetBSD 4.0 box, and it worked perfectly (after I
recorded my voice I checked it via audioplay(1)).

Good luck Volker and HTH!

Ciao, Leonardo
 Leonardo Taccari (leot) |

Attachment: pgpVH_mL7qTbl.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index