Tutorial - Vocal Removal and Isolation

From Audacity Development Manual
Revision as of 11:06, 18 April 2012 by PeterSampson (talk | contribs) (Using an instrumental track to isolate the vocals: working up the raw recipe into a step-by-step guide)
Jump to: navigation, search
Peter 16Apr12: Initial draft created from a modified version of the Wiki tutorial.
ToDo-2 ready for editorial review and merciless editing.
This page describes techniques which on some stereo tracks may allow you to remove or isolate vocals (or other parts of a recording) from the rest. There is no universal, reliable way of doing this without having the original multi-track recordings. Different tracks will require different techniques to achieve maximum possible attenuation or isolation. This will depend on where the vocals are positioned in the stereo field, and on their frequency content compared to the rest of the audio.
  • For popular songs, consider downloading vocals-only tracks from the internet.Many studios release the instrumental tracks (with and without backup vocals) for use with things like karaoke and some singles and records even have them on the B side.
It is strongly recommended that you make a backup copy of your original recording before attempting any of the editing described in this tutorial.


Case 1: Vocals in the middle, instruments spread round them

If the vocals are panned in the center of a stereo track (fairly common in "pop" music tracks), the so-called "vocal removal" technique can sometimes be effective by removing what is common to both tracks (i.e. the vocals), leaving behind what is different (i.e. the instrumentals).

To try this technique in Audacity, split the stereo track

Ed 17Apr12: maybe needs a better reference on how to split etc.--the links below to the FAQ is broken as it is in the manual now and the linking text does not specify what is being explained:

"...of one of them, and play back the result; see some better text of the Audacity FAQ for step-by-step instructions on this technique, or a..." this is the non-http version of the FAQ link: some better text

into its left and right channels, make both mono, invert all (or a selected part) of one of them, and play back the result. See this page of the Audacity FAQ for step-by-step instructions on this technique, or a YouTube video tutorial covering the same process. Note this removes everything panned in the center, not just vocals. In pop music this could mean removing bass or rhythm parts. Removal of the vocals can often be incomplete and will leave artifacts behind (especially where there are backing vocals and where reverb (echo) has been applied) as this spreads sound sources, and makes them very hard to extract from each other.

Vocal Remover (for center-panned vocals)

In the current version of Audacity a Nyquist plug-in effect is included to automate the steps involved in Case 1; for fuller details see Vocal Remover. It is accessed from Effect > Vocal Remover (for center-panned vocals).... It includes a Help screen and an option to retain a specified range of frequencies (so removing everything outside that range); there are three choices of removal methods that can be used, for details see here.

Although two channels of output are produced the result will be mono because both channels will be identical and panned to center.


Case 2: Vocals in one channel, everything else in the other

If you have an unusual stereo track where the vocals are mixed hard into one channel and everything else hard into the other channel, you can simply split the stereo track into left and right and delete the vocal channel. To isolate the vocals rather than remove them, delete the other channel. To split a stereo track in Audacity, click on the downward pointing arrow at the top of the Track Control Panel (where the mute/solo buttons are) then on Split stereo track.

To delete one of the channels, click the [X] to left of the downward pointing arrow. If you accidentally delete the wrong channel, use Edit > Undo, to get it back. Finally, click the downward pointing arrow again and choose "Mono", so that the track will play out of both speakers.


Case 3: Vocal Isolation

If you can make a two-channel track with center vocals removed (as in Case 1 above) it is tempting to think that those vocals be isolated by inverting this track against the original track, so as to remove the non-vocals. Unfortunately, using Audacity, vocals often cannot be isolated in this way. The result of the Audacity Vocal Removal effect is a mono mix of sound that was in the left and right channels but was not common in both. Mixing this back with the original track (either inverted or not inverted) will produce a stereo track that contains a new mix of the center panned vocal and the non-center sounds. Different techniques used by some third party plug-ins such as 'ExtraBoy' claim to be able to isolate vocals given suitable audio material (see below).

Using Audacity for vocal isolation

An Audacity user (Marco Diego) posted this technique on the Audacity Forum for using Audacity to attempt to isolate vocals; it will not work successfully in all cases.

It is sometimes possible to isolate vocals by using Audacity's Noise Removal to capture the noise profile of a song that has had vocals removed, then run Noise Removal with that profile on the original mix before vocals were removed.

  1. Make a copy of your original stereo track
    1. Select the whole track (click in the space its Track Control Panel)
    2. Copy the track with Edit > Copy
    3. Create a new stereo track with Tracks > Add New > Stereo Track
    4. Use Edit >Paste to make a copy of the original track in the new stereo track
  2. Select the whole of the copied track (click in the space its Track Control Panel)
  3. Remove the vocals in the copy by using Effect > Vocal Remover (for center-panned vocals)...
  4. On a copy of the track remove the vocals as in Case 1 above using Audacity's Vocal Remover
  5. The copied track should remain selected, so use Effect > Noise Removal... and click on the Get Noise Profile button
  6. Now select the original track (click in the space its Track Control Panel)
  7. Use Effect > Noise Removal... and click on the OK button
  8. Delete the copied track (click in the [X] at the top left of its Track Control Panel)

It's still tricky to get rid of anything else in the center (this almost always includes the bass guitar and bass drum), but careful use of Effect > Equalization... can sometimes get you a pretty good result.

The following may let you remove drums which are not centered but keep the vocals:
  • Use the steps above to create a track with vocal isolation.
  • Then import the original song into Audacity again and try this Nyquist plug-in elliptice.ny to move the bass frequencies to center.
  • Then remove the drums from the center by inversion.
  • Finally mix the vocals back in.

Using an instrumental track to isolate the vocals

In order for this to work you will need to have a studio version of the instrumental track. Removing the vocals to get an instrumental track and then trying to isolate the vocals does not work in this case.

Many studios release the instrumental tracks (with and without backup vocals) for use with things like karaoke. There are plenty of places online where you can buy these tracks (like Karaoke-Version.com and some singles and records even have them on the B side).

As opposed to the final mono track you get from removing vocals, this method will leave you with a full stereo track. As such, it becomes more important to try and match the quality of both tracks and align them before you isolate the vocals.

  1. Open Audacity and Import both the regular and instrumental tracks.
  2. Select one of the tracks and use the Time Shift tool to roughly align the two tracks.
  3. Zoom in really close and then zoom in more.
  4. Take the proper time to align the tracks as closely as you can. Pick a peak or trough in the left channel of one track and match it precisely with the left channel of the other track. If the alignment isn’t right the process won’t really work.
  5. Select the instrumental track, and invert it using Effect > Invert.
  6. Use Ctrl+A to select all of both tracks.
  7. Use Tracks > Mix and Render.

You should now have one combined track that should have a more diminished amplitude where the vocals were kept and the instrumentation removed.

Plug-ins

As well as the above methods supported by Audacity itself there are various third-party plug-ins that can be used to try and remove or isolate vocals. Please see this page in the Audacity Wiki for details.

Peter 17Apr12: The following section will be retained in the Wiki and removed from here, with a pointer (above) to what will become the residual tutorial in the Wiki. Gale commented in an email: "Another issue is how far can we go mentioning third-party plug-ins in the Manual, especially without verifying how effective they may be?"

Windows Plug-ins

Two Windows VST plug-ins are known of that can be used in Audacity for vocal removal and isolation.

  • kn0ck0ut (free) can sometimes remove vocals where they are not center-panned but rather different in frequency make-up compared to the non-vocal parts of the track. It works on two mono tracks (split from a stereo track and made mono as above) by extracting the right channel frequencies from the left hand frequencies, leaving the "result" in the former left channel. Alternatively, if your vocals are center-panned, this plug-in can often make a good job of isolating them from everything else.
  • Voicetrap is a commercial plug-in featuring center channel removal by frequency-based and cepstral methods (that is, not a simple subtraction of one channel from the other). It has an advantage over kn0ck0ut of providing stereo output for the "vocals removed" track, as well as offering isolation of center-panned content. There is a demo version with a "mild" vocal removal setting (but no isolation ability) that works in Audacity.

To try either of these VST plug-ins in Audacity, place the unzipped .dll file from the plug-in's zip folder, and the unzipped vst-bridge.dll from the Audacity VST Enabler into Audacity's Plug-Ins folder. The Plug-Ins folder will be in the folder where you installed Audacity, typically C:\Program_Files\Audacity. On restarting Audacity the new plug-in will appear in the Effect Menu underneath the divider. Should vst-bridge.dll not work, try the previous VST Enabler for Windows (place the already unzipped vst_Enabler.dll in Audacity's Plug-Ins folder along with the plug-in's own .dll, then exit and restart Audacity). Note that VST plug-ins in Audacity only have a generic tabular interface due to licensing restrictions imposed by Steinberg.

If you use the current version of Audacity, you do not need to add the VST Enabler to your computer to enable VST plug-ins. On first launch, Audacity should detect VST plug-ins in the Audacity installation folder. Also, Audacity will display the full interface for VST plug-ins that have a graphical interface. You can add further VST plug-ins later by checking the "Rescan" option in the Effects Preferences, then restarting Audacity.

There is another commercial VST plug-in called ExtraBoy which offers useful functionality for those interested in vocal removal or modification of the different components of an audio track. There are two versions of this plug-in but, unfortunately, neither work properly with the currently limited VST support that Audacity can offer. It seems that the processed audio is always completely silenced irrespective of the plug-in settings used. Both versions of ExtraBoy do function with other audio editors which offer full VST support, so you could always export a track from your Audacity Project as a WAV or AIFF file and process it with Extraboy using a different audio editor.

The "lite" version of ExtraBoy is quite similar to VoiceTrap but offers some vocal removal ability on all tracks (not just on center-panned vocals). It has two "vocal removal" algorithms: (1) on the basis of the vocals' frequency characteristics and (2) on the basis of their spread in the stereo spectrum. The two algorithms can be combined to obtain the best possible removal in a particular case, and full stereo information is preserved in the processed track. A "vocal isolation" algorithm is also provided.

The 14 day full-featured "demo" version claims to be capable of isolating, removing, suppressing or enhancing any component of a stereo track, based on its identified frequency and spatial "signature". Naturally the author points out that the exact results are subject to the particular characteristics of each track. Multiple components of a track can be processed simultaneously (for example, to isolate piano and vocal, or enhance piano and bass).

OS X Plug-ins

On OS X you can try the voxReducer Audio Units plug-in (14 day free evaluation) in Audacity, as long as you use the current version of Audacity. This requires OS X 10.4 or higher, although a legacy 1.3.3 version for OS X 10.3 is still available.

VoxReducer is similar to the Nyquist Center Pan Remover in that it aims to reduce the strength of center-panned vocals, but differs in having a phase offset adjustment and a slider for adjusting the intensity of the vocal reduction.

Try putting the voxReducer.component in either of these two locations:

/Library/Audio/Plug-ins/LADSPA or
~/Library/Audio/Plug-ins/LADSPA

or (as suggested by the program documentation):

/Library/Audio/Plug-ins/Components or
~/Library/Audio/Plug-ins/Components

brainworx makes a vst plugin bx_solo that lets you solo mid and side channels; it also has a mono-izing knob and the ability to solo left or right channels. It also has an AU and RTAS plugin and they're free.