Record Audio in Linux With Audacity (and Reduce Noise) – It's FOSS

Aug 16, 2022 by The Beat Maker - 0 Comments

Audacity is a free and open source cross-platform audio editor. Professionals use it for the tone of features it provides in such a small package.
You don’t have to be a professional and use all of its features. You can use it to record audio from your microphone and do some basics like background noise removal.
I will show you how to do that in this tutorial.
Installing Audacity on Linux is quite a straightforward process. Because of its popularity, it is available in the official repositories of most Linux distributions.
You can search for it in your distribution’s software center or package manager.
As a terminal fan, let me share the commands for the common distros.
For Debian or Ubuntu-based distributions:
For RHEL or Fedora-based distributions:
If you use an Arch-based distribution:
Note that installing via the official repositories may not give you the latest version. To get the latest version, you may use the AppImage, or Flatpak/Snap packages.
Once Audacity is installed, open it from the application menu or launch it from the terminal. You will be greeted with something like this:
It is easy to start recording by clicking on the record button (the red dot). When you are done, click on the stop button (square icon) to finish. You also get a waveform preview of your recording, as shown below:
Then, you can check what was recorded by clicking the play button (the green icon).
In case you do not see any waveform it indicates that nothing has been recorded. Probably, you have not set up your input correctly. Ensure that you have selected the correct microphone and it is not muted in the system settings. You can also access this from the Audacity interface.
The recordings are not saved automatically as MP3 or other formats. To save the recording, you can go to File → Export and select Export as MP3 (or any other preferred format).
There is another fantastic feature available in Audacity which you can use to reduce white noise in recorded audio.
The best practice would be to not say anything for the first five seconds when you start recording with Audacity. This should give you desired background noise.
On the waveform of your audio recording, select the part you think is the background noise.
With the noise part selected, go to Effects → Noise Reduction from the top file menu.
It will open a pop-up window like this. Click on the “Get Noise Profile” here.
Now, you have got the noise profile set. Now you have to use it to reduce it from the recording.
Press Ctrl + A shortcut key to select the entire recording. You may also select part of it, noise will be reduced from the selected portion only.
With the audio track selected, again go to Effect → Noise Reduction.
Don’t click on ‘Get Noise Profile’ this time. This time, you should be able to press the OK button.
Just press the OK button and this will apply the noise reduction effect to your recording, which gets reflected on the waveform as shown below:
Now the recorded audio will have less noise as compared. You can fine-tune the noise filtering while selecting the Noise Reduction effect.
To summarize:
Note that you cannot remove every type of noise, but this should help nonetheless.
Recording audio with Audacity may not seem as easy as using GNOME Sound Recorder, but it’s not overly complicated. The noise reduction feature comes in handy if you are recording voiceovers.
Audacity has a lot more features, and it is not possible to cover all of them in a single tutorial. This is why I’ll keep this short and simple.
If you have a problem with Audacity’s privacy policy adjustments (in 2021), try out some of the available forks.
I hope this little tutorial helps you use Audacity for audio recording. Let me know if you have questions or suggestions.
A Linux hobbyist who lives in the Himalayas.
Learn how to record your voice, streaming audio or other sounds on Ubuntu and other Linux distributions.
Read More How to Record Streaming Audio in Ubuntu and other Linux Distributions
In this LibreOffice tip, you’ll learn to create the famous Pareto chart in LibreOffice spreadsheet tool, i.e. Calc.
Read More How to Create a Pareto Diagram [80/20 Rule] in LibreOffice Calc
Learn how to control GNOME file search option. You’ll learn to hide or add specific folders from the search results or disable file search altogether.
Read More Hide or Add Specific Folders From GNOME Search Results in Ubuntu and Other Linux Distributions
Using GNOME Boxes tool for virtual machines but cannot figure out how to share files between the host OS and the OS in VM? This tutorial will help you with that.
Read More Share Files Between Guest and Host OS in GNOME Boxes
GNOME provides a built-in screen recorder that you can use to quickly record your desktop session. Here’s how to use it.
Read More GNOME has a ‘Secret’ Screen Recorder. Here’s How to Use it!
How long does your Linux system takes to boot? Here’s how to find it out with systemd-analyze command.
Read More Find Out How Long Does it Take To Boot Your Linux System
Used Audacity for years. Love it! Great Tutorial!
Great tip! Thanks.
Your sharp observation skill and intellect have identified a potential issue with this article.
Is it a grammatical mistake or a simple typo? That happens from time to time.
Is there some incorrect technical information? It’s possible that we were not clear on the topic.
Part of the article contains outdated steps or commands? We have over 1500 articles in the last ten years. It’s possible that some articles that worked well five years ago won’t work today.
Is there an issue with the UI and UX of the website? Some button not working? Link leading to a dead page? Or any other issue with the website elements?
Dear Holmes, help your Watson (that’s us) by explaining the details.
© CC-by-SA | It's FOSS is part of CHMOD777 Media Tech Pvt Ltd
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.

source

Leave a Comment