Exploring the Audacity 2.1 audio editor
Core Competence
Audacity is particularly suitable for editing and cutting individual audio recordings in stereo. Version 2.1 does not attempt to be a multichannel recording studio. The support for multitrack recording is pretty solid in Audacity, but alternatives such as Ardour [7], Qtractor [8], or Bitwig Studio [9] do a far better job. The complexity of a fully equipped music studio is sometimes unnecessary, however. Audacity is particularly useful in radio production. The six to eight tracks used in a well-made radio broadcast with one or two interview partners are easy to achieve with Audacity.
Audacity is ideal for situations with limited time to set up the session. For example, Audacity shows and hides recordings in an unusually convenient and intuitive way with the Envelope Tool on the Tools toolbar. The simple mixer (Figure 6) available in View | Mixer Board might not be very impressive, but it does allow simple and intuitive operation.
You certainly notice Audacity's almost 20 years of experience from the tools for audio editing. You can edit quite precisely down to the level of individual samples. Integration is quick: If you know that the mouse wheel turns into a zoom tool when you hold down Ctrl, you have already discovered the most important secret.
Use the pen tool as soon as magnification reaches the point where individual samples appear as dots in the sound wave display. When drawing using this tool, automatic functions prevent you from generating a waveform that Audacity cannot properly process. When editing, the right part of the recording moves up; cut marks help you with editing (see the "Musical Notation" box). Audacity also sets the limits of sections to prevent clicking noises by damaged samples. All editing actions can be undone by pressing Ctrl+Z.
Musical Notation
Audacity lets you add label tracks to mark particularly important passages. You can create these tracks in Tracks | Add New | Label Track and then add content by clicking in the label and entering text. Alternatively, you can import a longer label in one go via File | Import | Labels. Save the label tracks in a file via File | Export Labels (Figure 7). The syntax could hardly be simpler: There are tabs between the positions specified in samples on the timeline and the text on the label; a newline ends a label.
The notes, which by themselves are useful, impress with qualities that are not immediately obvious: For example, a new label track can combine the underlying soundtracks into a group that can be synchronized separately. The label tracks also prove to be a useful tool when digitizing LPs and music cassettes. If you select File | Export Multiple, Audacity displays a wizard in which the labels can be used to split files and name file. Audacity then automatically numbers the individual tracks.
In the label tracks, Audacity distinguishes between labels for points and regions. A point label can be converted into a region label at any time by dragging it to the label symbol's angular brackets. Tracks | Edit Labels opens all the project's label tracks in an editor designed as a simple table. Alternatively, you can export the labels as simple text files, edit them with your favorite editor, and save the file as a new label track.
Note that Audacity basically works destructively. Cutting actions have a direct effect on the audio file, not just on the display. If you cut a section out of a recording, you can only restore it by canceling the previous editing steps, which, in turn, means that all other changes to the corresponding section are lost. The same is true when applying effects: Audacity stores any manipulation in a linear way; the filter settings cannot be reverted after further editing steps.
This design has benefits along with disadvantages. For example, the CPU is only burdened with computing an effect once, whereas non-destructive systems such as Ardour must constantly recompute all the effects in a project. However, non-destructive programs offer a "freeze" solution for this problem: To this end, the software computes the track with your effects and saves the unedited material separately together with the effect settings. This allows the track to be "thawed" as required, and the filter is applied to the new soundtrack with other settings.
Such a function might not fit into Audacity's technical design, but it would certainly be a possible workflow variant: It is, for example, possible to keep a backup of unedited material on hand beyond the borders of the current session in order to undo an effect later.
Conclusions
Audacity has taken a giant leap forward with version 2.1. The program's simplicity requires far fewer compromises than the predecessor 2.0. Real-time support for effects works well. The revolutionary spectral mode for modifications stands out in particular among the changes (see the box titled "Sound Scalpel"), which once again confirms that Audacity is very much recommended as a tool for editing and restoring audio recordings.
Sound Scalpel
Audio editors offer the option of precisely selecting sections of recordings in chronological order and boosting quiet passages or damping louder ones; users apply subtle manipulations using equalizers and filters. But, what if you have a deep humming sound or a nasty crackle between the 14th and 16th seconds in what is an otherwise good recording? You will not want to change the volume for the flaw, but you need a way to eradicate it.
Some tools require very complicated settings and a very sophisticated equalizer to deal with this problem, and undesirable interference can often result. However, the procedure works very well in Audacity: First, switch the display in the drop-down list in the track header on the left from Waveform to Spectrogram. The logarithmic variant Spectrogram log(f) often appears more differentiated and is thus easier to read.
Recognizing the dynamics in the recording may now be more difficult in the spectrogram display, but you do get prominent frequencies displayed as color gradations at each point of the track. The colored stripes represent the intensity of frequencies read from the scale on the left. The selection tool, which only provides vertically continuous stripes in the waveform view, now draws rectangles with settable upper and lower limits. On the right, you will find a small tool that precisely displays the selection frequency in the bottom toolbar.
Paul Licameli, the main developer for this function, is also working on a number of plugins. The names of these three simple, but effective Nyquist modules, reached from the Effect menu, each begin with Spectral edit and provide various filter functions. Spectral edit multi tool [10] fulfills the tasks of a classic filter, which, depending on the selection, executes a high-pass, low-pass, or notch filter.
The filter module determines its settings from your selection in the output material and immediately gets started when accessing items from the effects menu. Selections starting at the top or bottom trigger a high- or low-pass. A selection that starts with 100Hz and ends with 300Hz effectuates the use of a notch filter at 150Hz. The other two modules, Spectral edit parametric EQ [11] and Spectral edit shelves [12] also use this simple and elegant method. These modules also let you adjust the amount of attenuation in a simple interface (Figure 8). These filters are missing in Arch Linux; if necessary, you can download them from the Audacity SVN and copy or link them to /usr/share/audacity/plug-ins/
.
Comparable functions in Linux-compatible audio software only appear in the Snd audio editor [13] and Sonic Visualiser [14]. In Snd, such functions can only be accessed via a programming interface, for which you would have to write such operations in Scheme or Ruby yourself. Sonic Visualiser, as the home of the Vamp plugins also used in Audacity, provides additional and more flexible spectrograms; however, operating these features requires more expertise than with Audacity. Additionally, the program proved less stable than Audacity in our lab; Ardour does not yet even provide such functions. You will find more information and a few manuals about dealing with the spectral view in Audacity's online manual [15].
Further improvements to the new functions are due in future versions of Audacity. The project team is already working on real-time support and graphical interfaces for additional plugin formats such as LV2 and LADSPA. The option of applying spectral mode to all plugins is at the top of my wish list.
Infos
- Audacity: http://web.audacityteam.org
- Daily Builds: https://launchpad.net/~audacity-team/+archive/ubuntu/daily
- UbuntuHandbook.org Audacity PPA: https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/audacity
- Audacity page at Packman: http://packman.links2linux.org/package/286
- KXStudio: http://kxstudio.sourceforge.net
- PortAudio: http://www.portaudio.com
- Ardour 4: http://ardour.org
- Qtractor: http://qtractor.sourceforge.net
- Bitwig Studio: https://www.bitwig.com
- SpectralEditMulti.ny: https://audacity.googlecode.com/svn/audacity-src/trunk/plug-ins/SpectralEditMulti.ny
- SpectralEditParametricEQ.ny: https://audacity.googlecode.com/svn/audacity-src/trunk/plug-ins/SpectralEditParametricEQ.ny
- SpectralEditShelves.ny: https://audacity.googlecode.com/svn/audacity-src/trunk/plug-ins/SpectralEditShelves.ny
- Audio Editor Snd: https://ccrma.stanford.edu/software/snd
- Sonic Visualiser: http://www.sonicvisualiser.org
- Dealing with the spectral selection: http://manual.audacityteam.org/o/man/spectral_selection.html
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.