Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-17-2021, 03:33 PM
|
#1
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,722
Rep: 
|
How to test microphone, KDE5
I am running Slackware Current, kernel 5.10.30, KDE 5.21.4. I have a microphone plugged into the front mini-RCA jack. Both System Settings > Audio and Pulse Audio > Input Devices show the Front Microphone, presumably enabled. How can I test to see if this mic is working?
|
|
|
04-18-2021, 03:27 PM
|
#2
|
Member
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 140
Rep:
|
hopefully you tried searching online for an answer, such as:
command-line method for testing the microphone on your Linux PC
from there i was able find a command to run in a terminal:
arecord -d 5 test-mic.wav
note: .5. appears to set length of recording
type in the command, press enter and start talking...
hopefully into a microphone of your choice
after the recording is done, enter the 'ls' command and you should see the test-mic file
open that file to see if you got audio...
if no sound...research you audio settings
good luck
|
|
|
04-18-2021, 04:42 PM
|
#3
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
Sound applications like Audacity have input level meters, you can speak into your microphone and adjust the level.
|
|
|
04-18-2021, 11:42 PM
|
#4
|
Senior Member
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,722
Original Poster
Rep: 
|
Quote:
Originally Posted by pandanuma
hopefully you tried searching online for an answer, such as:
command-line method for testing the microphone on your Linux PC
from there i was able find a command to run in a terminal:
arecord -d 5 test-mic.wav
|
Nope. Didn't even think about a command line tool. Good suggestion!
Quote:
Originally Posted by Emerson
Sound applications like Audacity have input level meters, you can speak into your microphone and adjust the level.
|
I tried pavucontrol, kwave and something else, already installed in KDE5. Audacity is not installed. kwave setup was complicated enough that I wasn't sure I had all the knobs and dials set correctly. I was looking for something simple to operate that I didn't have to download. pandanuma's 'arecord' suggestion was good. However, the recorded test-mic.wav file didn't play anything and mplayer just reported "Audio device got stuck!" I ran pavucontrol > Recording while running arecord and it always showed "No applications are currently recording audio", athough that could be because arecord is not KDE/GUI. I think the config is correct, but I seem to recall that the mic-jack never did work on this motherboard (ASRock 970M Pro3), even though System Settings and pavucontrol show it connected.
I'll next try a USB mic. I know that worked in conjunction with a mic incorporated into a camera. I'll post results.
Last edited by mfoley; 04-18-2021 at 11:54 PM.
|
|
|
04-19-2021, 02:42 AM
|
#5
|
Member
Registered: Jun 2020
Posts: 614
Rep: 
|
Just a thought: if you're using the 'front panel' connection that requires an in-case connection to headers on the motherboard, and (in many cases) proper enablement in the system firmware. Try connecting the microphone to the rear mic-in jack - and see if that works out (I have had generally bad experiences with the header/front-panel connectors on most cases - they're usually super cheap).
The easiest way, IME, to test what you're ultimately after is to try recording yourself in Audacity or some similar application, and then playing the file back. Or if you have a chat application that supports voice, and a willing friend/test subject, try doing a voice call that way (basically use the microphone in the context you want to use it in - it will either work or it won't).
|
|
|
All times are GMT -5. The time now is 06:51 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|