Yep. Unfortunately there are examples of asshole record companies using the same horrible mix for vinyl as they used for CD.
Death Magnetic,
Californication, etc. However, more often than not vinyl receives its own mix, especially (strangely enough) on small labels.
Also, here are a
couple of
youtube videos that may be helpful in internalising what the difference in sound created by the loudness war is.
Anyway, here's a guide I wrote to repairing clipped audio with Audacity. It was requested on another board I posted this thrad at, so I might as well repoast it here too, as hopefully people will find it helpful.
The first thing you're going to want to do is make sure the album is actually clipped. The best way to do this is by looking at the waveform. If it looks like this:
Then it's probably clipped. You can zoom in further to see what the peaks look like. A clipped signal will somewhat resemble this:
Where you can see lots of signals hitting the peak right next to one another. (Audacity has a feature called "Show Clipping," but this will only work if the signal goes all the way up to 0 dB, and it's not always reliable).
Clip Fix will affect audio compressed with other compression filters, but it will not do so as much. If the audio used a distortion filter, you'll get quite a bit of recovery, though not as much as you would from actually clipped audio. If the audio used a peak limiter, you probably won't get any audible difference. Unfortunately the only way I'm aware of to tell for sure whether distortion or peak limiting was used is running clip fix and seeing how much dynamic range was recovered.
So you've determined you have clipped audio. You're going to want to make sure you have a good-quality version of the album before you start repairing it, because there is no point in repairing bad audio. Ideally you should be repairing from FLAC or some other lossless audio format, because applying lossy compression to audio already sourced from a lossy source results in egregious losses of quality that even non-audiophiles will be able to notice. Unfortunately, occasionally people upload tracks that are converted from lossy formats as FLAC, so you'll want to go to the spectrum analysis, which you can do by clicking the arrow on the top next to the "1.0" in the track view and selecting "Spectrum". Zoom out to 22k. If you have frequencies going all the way up:
Then it's probably legit. (Occasionally, albums are mixed from lossy sources. In these cases, there is no way to get a legitimate lossless rip, unless you happen to have the original master tapes and can make your own mix; in which case, it would be pointless to Clip Fix the audio anyway. Also, with piano music and other instruments that don't have lots of high frequencies you won't see audio extending to 22 kHz, but piano music is rarely clipped anyway). The best way to ensure you have a legit rip is to make your own FLAC rip with Exact Audio Copy. If you don't have the CD, there are plenty of places where you can find rips, but teaching you how to pirate music is beyond the scope of this guide.
Ideally, the best way to repair clipped audio is to do an entire album at once. This way you can be sure you are reducing the volume of all tracks by the same net amount, meaning that you will not get inconsistent levels from track to track. I would recommend loading the entire album into foobar2000, selecting "Convert", outputting as FLAC, destination "Generate multi-track files." This will embed a cuesheet into the file that will preserve the track listing, and it will also enable you to work on the entire album at once.
First I am going to run you through how to fix a case of ordinary digital clipping, and then I will run you through a couple of special cases.
The filter we're going to be using is called "Clip Fix." You can access this under the "Effect" menu. Clip Fix advises you to reduce the volume of the track by 10 dB. In my experience, this often isn't enough. If an album is as badly clipped as
My Beautiful Dark Twisted Fantasy (the record I'm using for my example), you will easily recover much more than 10 dB of dynamic range. We're not going to be
keeping all of this, because Clip Fix often overcompensates, but you need the room to work with in the mean time. I would recommend amplifying by -20 dB. If you've over-compensated, you can always re-amplify later. So the first thing you'll want to do is select the entire album, select "Effect - Amplify" and type in "-20." (You can use a different number, but if you do, you'll want to remember it and replace future references to "-20" in this tutorial with the number you use).
After you've got the track volume reduced, you're going to want to make sure the audio maintains a consistent level across the album. Sometimes record companies clip different tracks, or even different sections of the same track, at different levels. I have no idea why they do this, but I can name numerous albums by different artists (Dream Theater -
Falling into Infinity, several albums by Moonsorrow, etc.), where different tracks, or different sections of the same tracks, are clipped at different ranges. You will want to zoom in at the peak of the waveform and see if they are clipped at different ranges. Here is
Falling into Infinity by Dream Theater:
As you can see, the second song is clipped at a different level than the rest of the album. So for
Falling into Infinity, you will want to start by clip fixing the first song, then clip fixing the second song, then clip fixing the rest of the album approximately twenty minutes at a time. The reason you need to do this is because Clip Fix only addresses audio near the peak of the selection. Since the clipped audio in the second track will mostly not be near the peak of the selection, you will need to address the audio in the second track separately.
The settings you're going to want to use with Clip Fix will usually be the default. (In cases where faded out audio is clipped, you may wish to adjust the settings; I will address doing faded out audio later). 95% threshold is good. Too much lower than that and you start having the filter alter audio that's not really clipped. That's bad. I would say 90% is the absolute minimum you will want for audio clipped at a constant level. In some cases you actually may need to go higher (98% or 99%) to preserve audio fidelity. I have not actually worked out why this is, or how to identify recordings where this will be necessary, but when I did a 95% clip fix of Petrychor's
Dryad I noticed a distinctly audible loss of higher-frequency registers that did not occur when I clip fixed it at 99%. This is the only time I have ever observed this happening, however.
Once you've done the entire album, you will have something that looks like this:
Unfortunately, Clip Fix isn't a perfect filter; it will have overcompensated in many cases and created audio that will create undesirable "pops" in the speaker. If we've recovered more than about 5 dB of audio (you can tell how much you recovered by going to "Amplify" and seeing how much it suggests adding to the piece; subtract from 20, or whatever number you reduced the volume by, to see how much you recovered), we'll probably have this problem. The best way to deal with this is (strangely, given how much I usually hate dynamic range compression) by applying moderate volume compression to the repaired segments of the audio.
There are a number of different compression algorithms one can use, but I find most of them to be flawed in some way or another. There is a custom "soft knee" filter that does not work instantaneously and produces some distortion; there are several compressor filters that usually create audible "pumping" in the mix due to their lack of instantaneous attack and release. The best compression algorithm I have found in Audacity is the default plugin called the "hard limiter," though it is actually a hard knee filter.
Remember how we reduced the volume by -20? We're going to start at .5 above -20 and keep periodically applying the hard knee filter. Go to "Effects - Hard Limiter", input "-19.5" as the dB limit, and input something close to 1 as the "Residue Level." I select .840896 because it is the quad root of 0.5, meaning you will cut the amplitude in half approximately every 2 dB, but it is not necessary to use something so pedantic. As long as it is fairly close to 1, the effects will be desirable.
Now keep increasing the limit by .5 and repeating the filter until you hit the peak of the audio. You can tell what the peak is because it will be specified in the "Amplify" filter. If the value of your last pass through the "Hard Limiter" filter is greater than the value given to you in "Amplify," you're done.
Now the last step is to amplify the audio. I would recommend leaving 0.1 range, like so:
(If I had done the whole album we would be amplifying by much less than 14.2 dB; "Runaway" is one of the quieter tracks on MBDTF).
Naturally, since we sourced this from FLAC, we'll want to export this as FLAC. If you save as sixteen-bit FLAC, you will actually probably still be throwing away a small amount of audio data, since the volume has been reduced and the amount of data we have is beyond the scope of the sixteen-bit sample rate, but 24-bit FLAC is usually about twice the size of 16-bit FLAC and it is unlikely that the human ear can tell the difference with a clip fix from a 16-bit source, so I would recommend simply exporting as 16-bit FLAC.
That said, certain methods of exporting 16-bit audio result in the introduction of a fair bit of noise into the files. It is probably not audible to most people, but it will make the files larger. Before you export, I would recommend going to "Preferences", selecting "Quality" and setting "Dithering" to "Rectangle". This will eliminate the problem.
And we're done. The result should look something like this:
And it should be much more pleasing to the ear than the crap record companies usually excrete these days. Note that we will not have fixed
all instances of clipping in the album; Clip Fix is not that good. But we still will have solved enough of them to make a difference.
Two additional last things are worth noting. The first is cases where engineers clipped the audio before fading it out. This is a massive pain in the arse and unfortunately, the way the plugin exists right now, the only way to deal with it is to clip fix a few tenths of a second of audio at a time. This example from Moonsorrow's
Kivenkantaja is one such case of clipped fadeout:
And here's a zoomed-in view of one peak where you can tell the peaks are clipped:
Unfortunately, you will simply have to bear the tedium of applying the filter several dozen times. Luckily, since you're only clip fixing a few tenths of a second of audio at a time, you won't have to wait long for the filter to execute. You'll also want to make sure you're not selecting near the peaks of the audio, as Clip Fix will not affect audio near the edges of a selection. Make your selection between peaks. Also, with faded out audio it is fine to use a somewhat lower threshold of clipping, although you're not going to want to reduce it too much. Sometimes, if your sensitivity is too low, Audacity won't even recover a lot of clipping. I would recommend using 90% as the threshold for faded out clipping. (Just remember to increase it back to 95% when you go get around to fixing the next track).
The only other thing worth noting is cases where there is "soft" or analogue clipping. The remasters of Van der Graaf Generator are like this. You will see waveforms approximately like this:
Ideally you're going to want to go back to non-clipped sources (like the original VdGG CD issues) because this is a massive pain in the arse to deal with, but otherwise the only real way to deal with it is by clipping the audio at a constant level. You can do this by using the "Hard Limiter" as an actual hard limiter, with a residue level of 0. You can tell what decibel level you want by selecting "Waveform - dB" in the audio view dropdown menu and zooming in. Ideally you'll want the smallest possible value that results in clipping at a constant level.
Pawn Hearts complicates things further by clipping each track in a different manner (some are clipped at a constant level and some are clipped in a more analogue-like manner), so this is one of the rare cases where you will want to handle each track separately. Just make sure you amplify each track by the same amount, or albums that are continuous will have undesirable jumps in volume at track divisions.
You can create your own lossy encodes of the music after you've exported it if you want to put it on an iPod or something, but I'd recommend saving the FLAC (burning it off to disc if you're running low on disk space) so you don't have to repeat the process, because it is an incredibly time-consuming one.
Let me know if you need clarification on any of this and I will try to do so as best as I can.