
"gmcaplan---" == gmcaplan--- via WLUG <wlug@lists.wlug.org> writes:
I have tried to get an answer to this question thru Stackexachange, but they give me bureaucratic reasons why this question does not qualify for an answer. Maybe one of you can give me some guidance. Here is the question:
Hahahahahaha! Stack exchange, the only place where you post a question, then login as a different account and give a _wrong_ answer, so people will jump all over things to give a correct answer!
I am running Ubuntu 20.04 LTS. I use this command line to record from either Line In or microphone:
sox -t alsa default \Desktop/FTC/RecdMsg$(date +"%Yx%mx%dx%Ix%Mx%Sx%p")x1.mp3
Do you really use a \ instead of / at the start?
A cable is always plugged into Line In. If I plug a microphone into the Front Microphone connector, this command line records from the mic. If I physically unplug the mic, I can record from Line In.
So I suspect this might actually be a hardware problem. Can you provide more details on your motherboard and sound system? 'lspci' output might help. dmesg, etc.
I hope someone can help me: a. Create a similar command that always records from Line In b. Create a similar command that always records from Front Microphone c. Create a command that asks me which input I want to use
What does the output of 'amixer' show on your system? Or the output of: arecord -l give? This URL might help at little bit as well, though it is old: https://askubuntu.com/questions/891623/how-to-list-access-all-the-available-... But do your a-c questions, I'd just setup some bash aliases, or scripts to do what I want, something sorta like this, though I'm not sure on the exact sox args to use. And I know my alias needs work. but the idea is:
alias recmic='sox rec -t alsa $(date > +"%Yx%mx%dx%Ix%Mx%Sx%p")-$o.mp3'
Then to use it do you:
o=file recmic
and it would save to <datestring>-file.mp3 Or you setup an alias like the above called:
alias recline='sox rec -t alsa ....'
And here's something that looks really useful: https://websites.umich.edu/~diehl/LinuxHomeRecording.pdf And have you tried using 'audacity' for your recording needs as well? It's a GUI and might help you do some quick stuff, or at least help you figure out which port(s) to specify. Even better, try to come to a meeting and bring your hardware and we'll sit down and work with you to make it all work! Cheers, John