Linux.com

Feature: Free Software

Learning to use Audacity

By Joe Barr on May 07, 2004 (8:00:00 AM)

Share    Print    Comments   

Audacity is a free-as-in-GPLd, cross-platform sound editor for Windows, Mac, and Unix. I've recently spent some time learning how to use it. I can tell you already that it's a gem, ranking up there in my all-time top ten list of free Linux applications. Before the review police start whacking away on this story, let me make one thing perfectly clear: This is not a review. I'll leave that to those who know a lot more about sound engineering than I do. This is the tale of an ordinary user learning how to use a kick-ass application.

Luckily for me, there is an abundance of helpful information available for Audacity. The built-in help is good, and there is a tutorial to help you get started on the web. The development team also has also set up a Wiki sitefor support. But the most complete and authoritative source is the Audacity manual, which is available as a separate download.

Overview

Audacity lets you import audio tracks in a number of different formats, or to record new tracks directly. The number of tracks is unlimited. Once you've gotten the sound into Audacity, you can use a variety of tools to copy, edit, cut, paste, or apply special effects (amplify, echo, fade in, fade out, etc). One of its handiest features is its undo capability. You can undo edits even after you've saved your work as a project.

When you've finished creating it - or anytime you want - you can export your Audacity project to WAV, MP3 (requires libmp3lame.so as mentioned above), or OGG formats.

Installation

Audacity 1.2 comes with SUSE 9.1, so installation was a breeze. In fact, it may have been included in the default installation. I don't remember for sure. But in order to be able to export Audacity projects to MP3 format, I needed to install LAME 3.96, which provides the needed libmp3lame.so library. I grabbed the source code as a tarball from SourceForge and followed the "./configure, make, make install" mantra to compiled and install.

Setting your preferences

A tabbed window display offers you choices for I/O devices, audio quality, file formats, keyboard and mouse bindings, and more. After experimenting with the size of exported projects I selected OGG (Quality 6) as my default export format. Not only is OGG a patent-free alternative to MP3, it yielded slightly smaller size files. Both MP3 and OGG are compressed formats, taking up about a third of the hard disk realestate required to save the same project saved as a WAV.

I also told Audacity where to find libmp3lame.so in the section on MP3 Export. I left everything else the way Audacity had it: a sampling rate of 44,100, spectrograms with an FFT value of 256, and a maximum frequence of 8000 Hz. For those who know about this stuff, there are dozens of tweakable settings. I don't, so I tried to leave well enough alone.

A simple project

I decided to create a simple project consisting of music and voice, perhaps with some special effects, to accompany this article. The first step was to find some free-as-in-speech music. Google took me here, where I learned about the OpenMusic Initiative and their licensing schemes.

There were four "green" licensed songs in the Music Archive. I chose an instrumental called "Penguin Island," performed by Void Main, as the source for my project's musical clips.

Importing the PenguinPlanet OGG file was as easy as clicking on Project and Import Audio from the Audacity command menu, then selecting the file from the file dialogue. It loaded in about five seconds. When it was finished, Audacity looked like you see it below. (Click on the image to see it full size.)

Audacity interface

With the stereo music tracks in place, I was able to use the VCR-like controls to play, pause, and backup along the timeline. I searched for something I thought would be good for the intro, then for a trailer. When I found sections I thought might work, I used the Selection tool to mark off portions to be cut from the track and used Edit->Cut to get rid of them.

Next I used the Generate->Silence to separate the intro section from the conclusion. Then I was ready to record the voice track. With microphone at the ready, I pressed the record button and began to speak into the mic. I stopped after 10 or 15 seconds because I had mangled the text I was reading. No problem. Click Edit->Undo Record and the new track (Audacity always records to a new track) just disappeared. I tried again and managed to get it right, or at least a little better, the second time.

I noticed that as I recorded, I could follow the line moving across the timeline to see exactly where I was in relation to the music tracks. So instead of having to select and move sections of the audio to fit it between the musical introduction and conclusion, I simply started to speak when the intro finished.

After some final tweaking, including a "fade in" effect for the intro, I was done. I saved the project and also exported it as an OGG Vorbis file, which you can listen to here.

Don't judge the power and capabilities of Audacity based on what I did creating this demo, or you will be judging it unfairly. Instead, grab a copy for yourself and give a whirl.

You may run into a bug when recording one track and playing another at the same time. I did, and I asked the lead developer about it. He noted that the bug is actually in ALSA's OSS emulation. You can work around the bug by grabbing the latest Audacity source and configuring it with the "--with-portaudio=v19" option.

About the author

When I asked what itch he was scratching when he created Audacity, Dominic Mazzoni, still the lead developer on the project, told me "I started working on Audacity in grad school. I was working on a research project in pitch recognition and melody matching, and I needed a tool to work with audio on Linux. I thought I would spend a few months on it; I had no idea I would still be working on it years later."

It's such a powerful tool for creating digital audio, I asked if he was ever sorry that he hadn't made it commercial and proporietary instead of free software. He replied:

No, I've never regretted it. It's precisely because Audacity is free and open that dozens of programmers, translators, artists, and musicians have contributed to it, and that millions of people have downloaded it. When I was in grad school I had a stipend, and now I'm lucky enough to have a full-time job that I love. I enjoy working on the side, and users have been generous enough to contribute some money to cover any expenses that the project has incurred.

There are several Audacity developers who would love to spend more time on it, if they could get support. I'm on the lookout for sponsors who might be interested in helping to pay for a full-time developer, which could really accelerate Audacity development.

Share    Print    Comments   

Comments

on Learning to use Audacity

Note: Comments are owned by the poster. We are not responsible for their content.

Vinyl restoration plugin

Posted by: Anonymous Coward on May 07, 2004 10:20 PM
Sure would be nice if there were plugins for linux. Especially one that could do vinyl restoration (pop/click removal and noise reduction). Perhaps the Audacity developers could use gwc-lib, <A HREF="http://sourceforge.net/projects/gwc/" TITLE="sourceforge.net">http://sourceforge.net/projects/gwc/</a sourceforge.net>

#

Re:Vinyl restoration plugin

Posted by: Joe Barr on May 07, 2004 10:33 PM

I've been wondering why the shortage of Linux plugins. Is it because they are normally proprietary?

#

Re:Vinyl restoration plugin

Posted by: Anonymous Coward on May 07, 2004 11:26 PM
http://www.ladspa.org

You could also use VST plugins if you wanted to, but I believe that takes a little more work to get it working. (I've never tried it myself, though)

#

Re:Vinyl restoration plugin

Posted by: Anonymous Coward on May 07, 2004 11:48 PM
Didn't see anything WRT vinyl restoration. <A HREF="http://plugin.org.uk/" TITLE="plugin.org.uk">http://plugin.org.uk/</a plugin.org.uk> had a plugin to distort audio to sound like vinyl, but nothing I could find to restore it.

Guess I'll continue to use <A HREF="http://gwc.sourceforge.net/" TITLE="sourceforge.net">The Gnome Wave Cleaner</a sourceforge.net>

#

Re(1):Vinyl restoration plugin

Posted by: Anonymous [ip: 216.191.188.90] on February 29, 2008 04:26 PM
thats too bad....sniff for u

#

Frequency cap at 8k?

Posted by: Anonymous Coward on May 08, 2004 02:53 AM
You set the frequency far to low. 8k is in the middle of the midrange. I reccommend AT LEAST 16k, 20k is best. With an 8k limit your music will sound muddy and many instruments (like a drum's hi hat) will be filtered out, and other instruments and vocals will lose most of their tonality.

#

Re:That setting is for the spectrogram display

Posted by: Anonymous Coward on May 08, 2004 03:42 AM

CD Architect

Posted by: Anonymous Coward on May 09, 2004 02:36 AM
For years now I've been searching for a linux program that would emulate the functionality of SourceForge's old CD Architect - one of the best programs I've seen for making professional mix albums. It would be nice to have something like this worked into Audacity.

#

lame that's it ...

Posted by: Anonymous Coward on May 09, 2004 08:24 AM
Got to import LAME, eh, to perform a basic (output) operation? How VERY *nix is that !! More low_beta maleware cluttering up the lusrs landscape. How 'bouts having to import a keyboard or mouse_driver so you can<nobr> <wbr></nobr>... jeeez, weenierdudes never mind<nobr> <wbr></nobr>...

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 09, 2004 01:51 PM
This isn't a linux thing its a licensing thing. You have to do the same thing if you are using the windows and macos client as well

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 10, 2004 09:08 AM
Atleast Apple provides you a MP3 encode license with Garage Band. Linux devs are perpetually broke when it comes to paying up and licensing stuff. Why can't the Audactiy guys pay up for an MP3 license and then charge users?. Then again, Lusers will not pay for anything so what's the point.

You guys still don't have a "legit" DVD player.

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 10, 2004 10:20 AM
Nice trolling.

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 10, 2004 11:53 AM
You can't handle the truth!

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 11, 2004 03:54 AM
When a troll is DOA, you just have to accept it and move on. This comes across as though you are begging for someone to argue with you. That's when a troll becomes truly pitiful. I'm going to give you the benefit of the doubt and hope you were trying to be funny by making a movie reference (that saves you from getting a 1; these grades are on a scale of 10, by the way), but this still falls far short of evoking an argument, which is the sole purpose for a troll.

I'll give it a 2.

#

Re(1):lame that's it ...

Posted by: Anonymous [ip: 216.191.188.90] on February 29, 2008 04:27 PM
ummmmmmmmmmmmmmmmmm................WHAT IS "TROLLING?"

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 11, 2004 03:44 AM
Much better material for a troll, and I'd like to give you a higher score for this one, but it's too transparent. The last two sentences included with the rest just take it too far, and you'll just end up getting only responses that identify it as a troll without arguing with you, like the response above.

I think I'll have to give you a 4 for this one because it just is not going to generate argumentative responses. If someone else comes back and starts arguing with you, I might reconsider the score.

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 10, 2004 06:27 PM
I am sure that whatever media tools you use work perfectly without ever installing a codec. No, didn't think so.

BTW, nice troll.

#

Re:lame that's it ...

Posted by: Anonymous Coward on May 11, 2004 03:30 AM
I'm afraid I'm going to have to give you a low score for this troll.

You misspell malware and apparently don't even know what it is. Malware is software that is or contains adware, spyware, a virus, a worm, or a trojan. It's not low quality software.

Also, the first sentence was worded poorly, since you can easily output sound files from Audacity without lame. You only need it to export to MP3. It also simply has to be installed, so "import" is a poor word choice. These points considered, it should have been something like, 'Got to install LAME, eh, to save to the standard music format?' Calling MP3 the 'standard' format might really get under someone's skin. Then when someone objects to you calling it the standard, you can always reply "Oh, come on. It's the de facto standard."

I'd give it a 5, since it is redeemed somewhat by the, 'Oh, that is so stupid!' factor.

#

Audacity is a great program

Posted by: augiedb on May 10, 2004 11:27 PM
It's one of the ten programs I use on my Linux box on a regular basis. I record a newscast for a local radio station once a week, and Audacity has fit my needs perfectly. I had once used AnvilStudio for Windows which, among other features, required a registration fee to allow for recording clips past 60 seconds. Audacity was similar enough to it for me to pick it up very quickly, plus it didn't cost a cent. It's a wonderful program that's simple to use.

#

Am I the only honest person here?

Posted by: Anonymous Coward on May 11, 2004 08:19 AM
Its *not* a gem, and its *not* a good application. It is lamer than the most basic windoze app written by a 10 year old. Shitbox sound support, no duplex - a general joke. And the interface is others work. What does this application even do?

#

Re:Am I the only honest person here?

Posted by: Anonymous Coward on May 11, 2004 09:54 PM
In the interest of preventing misinformation to those who have not used Audacity, it is indeed capable of full duplex operation. How this fact reflects on the veracity of this troll, you may judge for yourselves.

#

Re:Am I the only honest person here?

Posted by: Anonymous Coward on June 02, 2004 10:32 AM
Misinformation? Try reading their bug log! No duplex, no duplex, no duplex. Face it, its at best an incomplete buggy piece of software and the ONLY way software comes about in this manner is piss poor development.

#

Re: Am I the only honest person here?

Posted by: Anonymous [ip: 68.122.8.32] on January 26, 2008 09:46 PM
hey dude its free! wat can u expect from 0 dollar sofware? its got 1980's sound quality but hey its free, and besides, only someone who really sucks at an instrument will complain, either that or someone who is rich and has high expectations. i am not interested in paying 10,000 for pro audio equipment, so this is the key to paradise.

#

sponsorship

Posted by: Anonymous Coward on May 11, 2004 09:57 AM
> I'm on the lookout for sponsors who might be
> interested in helping to pay for a full-time
> developer

Please try to get sponsorship from Open Source Awards: http://opensource.org/osa/awards.php

But they are only handing out $500. If you get the Grand Master Award, it's $10,000 but

Have you tried IBM or Redhat or Novell?. They are the big guys pushing OSS so maybe they have money to sponsor you.

I guess you can always try to create a dual licensed version of Audacity and try to sell it like regular commercial software and make a living that way.

#

Set the record straight - not a "great" program.

Posted by: Anonymous Coward on June 02, 2004 10:41 AM
From the horses mouth:
Known Problems

The following are known bugs in Audacity 1.2.1:


        *


            Audacity can import and display MIDI files, but they cannot be played or edited.

        *


            The Change Pitch effect may crash when used on a track with a sample rate of 96 KHz.

        *


            Windows only: Audacity crashes when using the Time Track "Set Rate" command.

        *


            Linux: Recording in full duplex (play existing tracks while recording) on some systems causes mono recordings to sound slowed-down.

        *


            MacOS X: Starting Audacity may cause the settings for some USB audio devices to be set incorrectly. This can be fixed by changing the settings back to normal with Apple's "Audio MIDI Setup" program while Audacity is still running.

        *


            MacOS X: Audacity cannot work with files or folders that are contained inside folders with international characters (accent marks, etc.) in their names. Note that files with accented characters work, and Audacity projects with accented characters work. Only files inside of folders with accented characters in their names will cause problems.

Now give me a break! I would consider non-core-feature problems to be acceptable but this is a multitrack sound recorder with all these core problems. WHAT A JOKE! Its like saying that a CAD program where the line drawing mode doesn't work is a great program - no its not! This is what is wrong with Linux Apps in the first place - Big hype over broken software. Audacity is the proper name for this application - it should still be experimental beta version 0.0001 !
- "give me a break!"

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya