Re: audiorecord does not work
Leonardo Taccari <[email protected]> Sat, 23 Feb 2008 00:22:03 +0100
| Newsgroups | gmane.os.netbsd.help |
|---|---|
| Message-ID | <20080222232203.GA21994@bianconiglio> |
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/
signature.asc
(application/pgp-signature, 186 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (NetBSD) iD8DBQFHv1kb0rM/yChQIPgRAuI5AJwL6/zZt20tN9rihiiae9Va5HyeqACePJKi YGsIf7AzXxjtW8TALpaVDms= =dSsg -----END PGP SIGNATURE-----