LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-17-2021, 03:33 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,722

Rep: Reputation: 188Reputation: 188
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?
 
Old 04-18-2021, 03:27 PM   #2
pandanuma
Member
 
Registered: May 2005
Location: greatwhitenorth
Distribution: deb99+
Posts: 140
Blog Entries: 10

Rep: Reputation: 39
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
 
Old 04-18-2021, 04:42 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Sound applications like Audacity have input level meters, you can speak into your microphone and adjust the level.
 
Old 04-18-2021, 11:42 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,722

Original Poster
Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by pandanuma View Post
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 View Post
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.
 
Old 04-19-2021, 02:42 AM   #5
obobskivich
Member
 
Registered: Jun 2020
Posts: 614

Rep: Reputation: Disabled
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).
 
  


Reply

Tags
kde5


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Neither internal nor external microphone functioning. Not even USB Microphone (Debian Jessie) achim_59 Linux - Hardware 3 08-14-2016 10:48 AM
Load test, boundary test & stress test for USB EHCI/xHCI driver rama_toshiba Linux - Kernel 5 02-29-2012 02:43 PM
virtual microphone: FILE ---> MICROPHONE ---> APPLICATION jamal_mohammadi Linux - Hardware 1 02-13-2011 03:10 PM
[SOLVED] Silencing the line "echo test > test/test.txt" in a shell script Arenlor Linux - General 2 06-18-2010 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration