Tell me more ×
Audio-Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of audio, video, and media creation. It's 100% free, no registration required.

Given that most people can't hear so many frequencies above 20kHz anyways, I've never understood the exact arguments for using sampling rates above 48kHz. At 48kHz, I understand that it is easier to construct a lowpass filter with a bit of higher bandwidth to remove aliasing, but I don't understand why anybody would want to record at 96kHz.

For projects which are strictly digital, ie, using pure digital synthesis and not recording any material which would be converted from analog -> digital, is there any advantage to using sampling rates above 44.1kHz?

For everything else, is there any benefit at all to using 96kHz? Is it beneficial when applying some particular type of DSP operation later on? Or is it purely a placebo effect for the ear?

Note: There are other questions here asking about which sampling rates to use for various types of recording projects, but here I am asking for real, hard facts for any mathematical or DSP-related reasons supporting use of higher sampling rates.

share|improve this question

6 Answers

up vote 15 down vote accepted

I always use double sampling rates if possible, for two important reasons.

First reason: to get rid of the characteristics of the anti-imaging filter when working with analog sound sources. What is an anti-imaging filter?

Let's say I am recording on 44100 Hz.
If I would record a sine wave of less then 10 KHz, you could clearly see the sinewave when you plot the sample values in a graph.
If I sample a sine wave of 0dB FS with a 20,5KHz frequency, the samples read 1 and -1 alternately.

Now, here's the problem. If I record a sine wave of 0dB FS with a 30 KHz frequency, and plot the samples, each sample is taking more than half a sine period, and - if you would play back the samples - it would return an 11KHz sinewave. (If you don't believe me, just make a simple drawing.) This behaviour is called the 'imaging effect'.

This means that before sampling the signal, we have to be sure that there are NO frequencies present what so ever above the sampling rate. When using digital sound sources that provide their sounds already sampled, this is not really that big a deal, since they can sometimes just be programmed to never generate a signal above half the sampling rate, or they can filter everything out using a linear-phase brickwall filter that has no effect on the rest.

But, if you are sampling signal from an analog source, this filtering is done before the signal is sampled. The only way to filter analog sound is by use of an electronical circuit. And since the filter is supposed to have a very steep curve, it will affect the frequencies within the audible range, even though the filter was not designed for it. Now there are quite some good filters inside A/D converters, so the problem is minimal, but it gets relatively irritating to listen to when you are working several days on 44.1 KHz audio, compared to using 96KHz. The filter that is going to be applied when you downsample 96 back to 44.1 is of course a digital filter, and is probably of a much better quality. And, it is only applied when you are completely done with all the work, so it won't bother you.

Second reason: to get rid of the characteristics of the dithering signal.

When you are recording in 24 bits resolution and you plan to have your master at 16 bits, you will need a dithering signal to mask away the rounding errors. Now noise is not a pretty thing to have in your recording and while broadband noise is best for masking rounding errors, noise shaping can be a big improvement applied to the dithering signal in order to make it less disturbing. Now if the recording was made using 96KHz, you can noise shape most of the dithering signal to frequencies higher than 24KHz, so nobody will hear them. The dithering noise is at the end of the recording finally filtered out, at the moment you downsample your project back to 44.1 KHz.

So, bottom lines: Is it useful when recording analog stuff:

  • Yes, definitely. You have less disturbance from the anti-imaging filter and less disturbance from the dithering signal when used with proper noise shaping.

Is it useful when working with digital stuff that came right of my softsynth?

  • Yes, still useful if you plan to work with 24 bits, and mastering it down to 16 bits. You can gain a great deal with noise shaping the dithering signal.
share|improve this answer

When recording with multiple tracks, I believe the bit depth is more important than the sampling rate.

So for example, 24bit would be better that 16bit. This has to do with the way that your tracks are mixed down together and something called "rounding errors" when there are not sufficient bits.

Most hardware and software can now easily support 96k & 24bit, so there isn't a real need to settle for less.

That said, you can obviously make a high quality recording using older 16/44.1 equipment.

It's more about the talent than it is the equipment.

share|improve this answer
1  
While this is not 'untrue', working with 24 bits introduces the drawback that you have to use dithering if you want to go back to 16 bits. Dithering noise can be reduced hugely if applied to a 96 KHz signal when using noise shaping. (see other answer for details) – Pelle ten Cate Dec 11 '10 at 15:29
All professional audio software works with 32 or 64 bit floating-point internally during the mix, regardless of the bit depth used during recording. – leftaroundabout Nov 23 '12 at 21:42

Pelle ten Cate's answer is great.

Another possible concern is that the ultrasonic frequencies might become useful later in processing, even though you can't hear them directly in the recording. If you decide to slow something down for whatever reason, those ultrasonic frequencies will become audible frequencies. If you had filtered them out, the slowed sound would be missing the high end.

If you put the sound through a distortion effect, it will create new frequencies at sum and difference locations from the ones in the original recording. Any effect that involves frequency modulation can also move ultrasound into the audible range. It's at least plausible that the ultrasonic frequencies could have an audible effect in these cases.

In general, working at higher sampling rates gives "headroom" to prevent problems with effects and stuff that may not be implemented correctly. Like photocopying a photocopy, the better the quality of each copy, the less degradation there will be in the final product.

In synthesis, for example, many square wave generators are poorly-written, in that they produce an infinite number of harmonics, which are aliased and sound clearly bad. If the sampling frequency is higher, this effect is reduced. Of course it would be better if the generator were written correctly, but you can't always control that.

share|improve this answer

For what it's worth, the mathematical rationale, at least to the needs of the audio world, is generally described by the Nyquist-Shannon sampling theorem, sometimes just referred to as the Nyquist theorem, which in basic language just states that to fully reproduce a waveform with a max frequency n Hz, you need 2n samples per second.

share|improve this answer

To have headroom for effects is a theoretically (and practically) valid reason to have a higher sampling rate than twice the human hearing limit.

The reason for this is easily visualised by comparing with image editing – if you only have say 800x600 px image with an overall shot of a high contrast brick wall, fishnet, striped textiles, or other finely spaced high contrast texture, you can only rotate in 45° multiples without causing a moiré effect and blurring the details. With audio, the distortions that occur with editing have different terms, but the same Nyquist-Shannon sampling theorem principles apply. Aliasing is a more commonly used term than "imaging effect", for the event that the sampled sound has frequency content above half the sampling rate (called Nyquist frequency).

In practise, like Pelle ten Cate already explained, a brick wall low pass filter is not achievable, but there is always some gradient (slope) on the cut off.

Another good reason to record with higher sampling rates is to achieve a more precise stereo image, as human hearing in large part relies on small time differences (about 5-20 ms, and physically these are phase differences) between ears to localise sound sources. The heads "shadow" and other aspects also play a part.

With the audio CD sampling rate of 44100 Hz, each sample represents 22,6 microseconds, and for example one period of a 882 Hz frequency has 50 samples. Also, a rather long delay of 20 ms delay lasts 50 samples. So, only 25 samples at that middle frequency means a 180° phase cancellation.

So, 44,1 KHz sampling rate is just good enough, but does not really have much headroom for editing.

Another thing that should be kept in mind is to use dithering (just as in image editing) to prevent quantization noise. And next you will ask, should I use 24 bit quantization instead of 16 bits...?

share|improve this answer

Another good reason to use a higher sampling rate is to work around deficiencies of plugin implementations. Many plugin writers do not properly take into account the bandwidth-expanding effects of nonlinear signal operations, and as a result you can get aliasing effects before you leave the box.

For example, a compressor is basically a voltage-controlled amplifier... it multiplies one signal (the audio signal) by another signal (the gain). Multiplication of 2 signals is also known as ring modulation or heterodyning; it has the effect of producing sum and difference signals of the 2 inputs. If you multiply a 15 kHz sine by a 10 kHz sine, you get an output signal that has a 5 kHz and a 25 kHz component. If your compressor's gain has a very fast attack, and the input signal has a wide bandwidth, the "sum" component signal could easily go over the Fs/2 limit on a transient basis, resulting in spurious aliased low-frequency junk in your output signal.

The real fix for this is for the plugin to be implemented using oversampling internally, but if you can't get that the next best thing is to run the system at as high a Fs as you can. You won't have any actual audio content up in the stratosphere but you are protected against some plugin blowing past the boundary.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.