NetBSD-Help archive

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

Re: audiorecord does not work




To: netbsd-help%netbsd.org@localhost

Subject: Re: audiorecord does not work

From: Leonardo Taccari <leonardo1990%gmail.com@localhost>

Date: Sat, 23 Feb 2008 00:22:03 +0100


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
variable?

> 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
stereo).

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) | http://leot.netsons.org/

Attachment: pgpVH_mL7qTbl.pgp
Description: PGP signature


References:

audiorecord does not work
From: Volker Wolfram




Prev by Date: Re: 10 second delay in login

Next by Date: Re: audiorecord

Previous by Thread: audiorecord does not work

Next by Thread: NetBSD 3.1, PAM and imap-uw

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index