LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sox recording command outputs blank files (https://www.linuxquestions.org/questions/linux-newbie-8/sox-recording-command-outputs-blank-files-449351/)

anid.iitk 05-28-2006 01:50 PM

Sox recording command outputs blank files
 
Hi all,
Ive tried recording using sox,by a mike,with the command:
rec -V -c 1 -s w -r 44100 somename.wav

or more simply...just
rec somename.wav

It does not give an error,but does not play anything either(just a blank for the record duration).The play command,or the "sox somename.wav -t ossdsp /dev/dsp" works fine for songs

What seems to be the problem?

thanks
Anid

Sonneteer 05-28-2006 05:52 PM

If you are using ALSA, open the "alsamixer" on the command line, then press F4 to show the capture controls and check that the Capture channel is actually turned up and activated (should say CAPTUR underneath and not ------, press spacebar to toggle). You may also need to activate the Mic channel. If that solves the problem, then you can use "alsactl store" as root make the setting permanent.

anid.iitk 05-29-2006 02:09 AM

I just want to use the simple console operation..the basic one...not alsa mix.Its working with the linux comps in my lab...but not on my pc which has fedora.....settings problem maybe?


All times are GMT -5. The time now is 12:08 PM.