Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2012, 04:51 AM   #1
Ynot Irucrem
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
Question Software to perform noise-cancelling when recording from laptop microphone?


I'm using Kubuntu 12.04 on a HP Pavillion dv6 laptop. In Windows, there is a utility or driver function/setting (not sure, as the Windows install has shat itself so I can't check) that transparently performs noise-cancelling on all microphone input, which is very handy as it gets rid of most of the noise from the laptop itself - fan noise and electronic noise. I was wondering if there was some way to do the same thing in Linux?

Thanks in advance.
Old 05-27-2012, 11:36 AM   #2
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,622

Rep: Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645Reputation: 645
You can look at the -af (audio filter) section of mplayers manual.

mplayer -af sinesuppress, equalizer, comp, pan, resample
Are a few that may help.

       Remove a sine at the specified frequency. Useful to 
       the 50/60Hz noise on low quality audio equipment. 
       only works on mono input.
               The frequency of the sine which should be r
               Hz) (default: 50)
               Controls the adaptivity (a larger value wi
               filter adapt to amplitude and phase changes 
               smaller value will make the adaptation slower
               0.0001). Reasonable values are around 0.001.
   mplayer -af equalizer=11:11:10:5:0:-12:0:5:12:12 media.avi
         Would amplify the sound in the upper and lower frequency
         region while canceling it almost completely around 1kHz.
You can use filters with ffmpeg too if you want to capture the mics input with it.
Old 05-27-2012, 01:49 PM   #3
Registered: Mar 2008
Posts: 19,514

Rep: Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017Reputation: 3017
The only way I have done it was to record to audacity some few moments of background noise before I play. Then I later use those few seconds for noise removal tool. I know there are many high end windows and maybe some free windows apps too that might be used in wine but most of the live or real time audio is too much for even a high end system. Dedicated audio hardware takes the system load off but only a few are really good on linux.

A better mic and a better room is the solution really. Any electronic way degrades the sound too much.

Depending on the sound device you have, it may have a software way to cancel hum or noise.

Last edited by jefro; 05-27-2012 at 01:52 PM.


audio, laptop, microphone

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] Microphone noise bo01 Linux - Laptop and Netbook 3 04-05-2011 11:00 AM
Virtualbox: weird noise from a webcam microphone Domine Slackware 0 11-17-2009 11:46 PM
can't use my microphone for voice recording sfxpt Linux - General 3 02-04-2009 01:55 AM
No sound recording from microphone ihatejunk1 Linux - Software 1 03-14-2005 03:11 AM
Please help! Recording from microphone Accordion Linux - Newbie 3 06-15-2004 10:10 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 AM.

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