LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2013, 11:17 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
background noise on recording


Hi all,

With gnome-sound-recorder OR running following command;

Code:
ffmpeg -f alsa -i pulse -ar 44100 -ac 2 -ab 128k output.mp3
I can record sound as .mp3 file. But there is a heavy background noise. However if I lower the volume level of MIG on alsamixer I can reduce the noise. But the sound recorded is also reduces.

Is there a solution? Thanks

Rgds
satimis
 
Old 08-08-2013, 12:09 AM   #2
DoubleTrouble
LQ Newbie
 
Registered: Aug 2013
Location: TN
Distribution: Bodhi Linux
Posts: 8

Rep: Reputation: Disabled
Not sure how to fix your problem, But you should use audacity to record your audio and then use the Noise Removal tool and then use the compressor filter with normalize checked.

Youtube have many tutorials on audacity using the noise removal tool, compressor and normalize effect filters.

If you decide to use audacity, make sure to select pulse from the drop down box next to the microphone. Also, select the Mic from the sound volume control settings as the recording source.

Last edited by DoubleTrouble; 08-08-2013 at 12:15 AM.
 
Old 08-08-2013, 02:49 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by DoubleTrouble View Post
Not sure how to fix your problem, But you should use audacity to record your audio and then use the Noise Removal tool and then use the compressor filter with normalize checked.

Youtube have many tutorials on audacity using the noise removal tool, compressor and normalize effect filters.

If you decide to use audacity, make sure to select pulse from the drop down box next to the microphone. Also, select the Mic from the sound volume control settings as the recording source.
Hi,

Thanks for your advice.

I found many youtube video on audacity such as;
http://www.youtube.com/watch?v=49tRaaFacqw

Actually the easiest way for me without headache is on;
http://www.linuxquestions.org/questi...3/#post4999676

As curiosity I started exploring geek@LQ's suggestion;
http://www.linuxquestions.org/questi...3/#post5000631

It works but there is heavy background noise. Then I started googling around for advice. I found many threads in re of background noise. But I haven't discovered a solution to my problem yet.

satimis
 
Old 08-08-2013, 05:57 AM   #4
DoubleTrouble
LQ Newbie
 
Registered: Aug 2013
Location: TN
Distribution: Bodhi Linux
Posts: 8

Rep: Reputation: Disabled
Yeah, it seems you have a complex case since there aren't many volunteers to help your solution.

I'm not a sound expert but I seen these tutorials that help my recording and editing of audio. Visit this site and watch these videos http://goinglinux.com/screencasts.html

#001 - Using Audacity To Record An Audio Podcast
#002 - Using Audacity To Edit An Audio Podcast

I wish I knew the cause of your problem to be more helpful : /
 
Old 08-08-2013, 12:15 PM   #5
DoubleTrouble
LQ Newbie
 
Registered: Aug 2013
Location: TN
Distribution: Bodhi Linux
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by satimis View Post
As curiosity I started exploring geek@LQ's suggestion;
http://www.linuxquestions.org/questi...3/#post5000631
I was reading your other post. It seems you want to record google translate. If this is is the case, you need to choose the Mix or Monitor channel as the recording source. Either of these channels if supported by your soundcard will record audio that is playing on your desktop. In fact, it will record all channels including Mic and line if there devices connected to them.

Select Mix or Monitor from alsamixer if available. If you don't have these channels, then you need to use the pulse audio volume control. The package name is pavucontrol.

Open pavucontrol and play something with audio for a test run. As the auidio is playing, go to the recording tab and click the dropdown box that has your soundcard's name and choose Monitor of soundcard's name.

In Monitor mode this will record whatever you hear playing through your speakers including Mic and Line.


Once you have it in Mix or Monitor mode, use either ffmpeg or audacity to record google translate.

Last edited by DoubleTrouble; 08-08-2013 at 12:19 PM.
 
Old 08-08-2013, 08:42 PM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by DoubleTrouble View Post
I was reading your other post. It seems you want to record google translate. If this is is the case, you need to choose the Mix or Monitor channel as the recording source. Either of these channels if supported by your soundcard will record audio that is playing on your desktop. In fact, it will record all channels including Mic and line if there devices connected to them.

Select Mix or Monitor from alsamixer if available. If you don't have these channels, then you need to use the pulse audio volume control. The package name is pavucontrol.

Open pavucontrol and play something with audio for a test run. As the auidio is playing, go to the recording tab and click the dropdown box that has your soundcard's name and choose Monitor of soundcard's name.

In Monitor mode this will record whatever you hear playing through your speakers including Mic and Line.


Once you have it in Mix or Monitor mode, use either ffmpeg or audacity to record google translate.
Hi,

It seems quite strange. I don't have MIC attached to the computer except USB external speakers.

Performed following test;
Installed pavucontrol. However it didn't help. I can't play .mp3 files on it. Neither I can record "google translate" running ffmpeg/gnome-sound-recorder. It seemed having something recorded but nothing on playback. Even after uninstalling pavucontrol I can't record "google translate" anymore.

satimis
 
Old 08-08-2013, 08:50 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,272
Blog Entries: 28

Rep: Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124Reputation: 6124
If you want to record an incoming stream, you might want to look at jack to "jack" the incoming stream into your recording program.

If you provide more precise detail about what exactly you are trying to accomplish, we can provide more specific help.
 
Old 08-08-2013, 09:08 PM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by frankbell View Post
- snip -

If you provide more precise detail about what exactly you are trying to accomplish, we can provide more specific help.
Hi,

What I'm trying to record is the output of google translate - voice. As well as the output of online text-to-speech, available on Internet.

Thanks

satimis
 
Old 08-08-2013, 11:37 PM   #9
DoubleTrouble
LQ Newbie
 
Registered: Aug 2013
Location: TN
Distribution: Bodhi Linux
Posts: 8

Rep: Reputation: Disabled
Quote:
Originally Posted by satimis View Post
Hi,

It seems quite strange. I don't have MIC attached to the computer except USB external speakers.

Performed following test;
Installed pavucontrol. However it didn't help. I can't play .mp3 files on it. Neither I can record "google translate" running ffmpeg/gnome-sound-recorder. It seemed having something recorded but nothing on playback. Even after uninstalling pavucontrol I can't record "google translate" anymore.

satimis
I assured you I would never give bad info without experiencing it myself. I personally use these methods myself when recording audio from Mic and/or internet streams and it works quite well.

As for the pavucontrol program it shouldn't have messed your settings, don't know why it did. I've used this program many times in certain distros.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to perform noise-cancelling when recording from laptop microphone? Ynot Irucrem Linux - Software 2 05-27-2012 12:49 PM
Sound has background white noise. SUSE 9.1 Ralph Fant Linux - Software 1 08-19-2005 03:55 PM
mp3's have noise/static in the background daspooky Slackware 3 08-16-2005 01:33 PM
Background speaker noise Brain Drop Linux - General 1 03-01-2005 09:55 PM
Annoying background noise when playing mp3s kadaver Slackware 2 11-20-2003 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:22 AM.

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