top of page

Written by Jacob Nørgaard, Bachelor from the Royal Academy of Music Aarhus, Berklee Audio Mastering, HOFA Audio Mastering and day-to-day Studio Manager at The Hideout Studio, a recording studio in the heart of Aalborg.

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

"0" and "1": sound in the digital age

Sample rate: understanding digital audio

release music, music release, music metadata, digital music distribution, album release, single release, music pitching

Originally I wanted to write a piece about compression in connection with streaming, but it quickly became crystal clear that we had to start somewhere completely different....

What is sample rate?
Sample rate
"Prøvefrekvenser" 

Graph showing how sample rate captures a sound wave

"Prøvefrekvenser" (roughly "sampling frequencies").... Yes, that was honestly the best word I could come up with when trying to translate sample rate into anything useful in Danish....

​

But in many ways the term makes a lot of sense if one (I) is going to try to be just slightly educational, which I am not exactly known for, by the way. Good thing I only teach kids 2 days a week and not full time at the time of writing. 

​

We often use the term sample rate when we talk about audio, systems and processes. Sample rate is a decisive factor when it comes to describing the level of detail of a sound source or amount of data. When sound is converted from analogue to digital (binary), the waveform (amplitude) is measured  and data points are taken. Many data points = a high level of detail. 

​

The graph, which I have shamelessly stolen from Unison Audio, actually shows quite well what sample rate is: the number of samples taken over time. Sample rate describes the number of samples taken over a period of 1 second. The more samples, the more precisely a curve can reproduce the sound of the original material. 

​

When the binary code is reproduced in a digital-to-analogue conversion, the analogue signal, that is the end result, should be a "smooth" and "flowing" curve. The "digital steps", the differences between the measuring points, are smoothed out in the conversion from digital to analogue sound. 

​

A sample rate also describes how high the tones are that can be recorded or measured without significant digital noise (cf. the Nyquist theorem)

For example, a sample rate of 48 kHz (48,000 measurements per second) can reproduce a sound or tone that oscillates at 24 kHz = 24,000 Hz. In other words, a measurement at X sample rate can describe or reproduce a tone at half of X without significant noise, since everything above half of X is in theory removed afterwards by a high cut, or low pass filter (as some, for inexplicable reasons, like to call it)

​

The Nyquist theorem in brief

Nyqu

​

The Nyquist theorem states that the sample rate must be double the highest frequency the system or recording device is meant to reproduce.

That is why material recorded at 44.1 kHz (like CDs and most MP3s) can in theory reproduce tones up to 22,050 Hz faithfully and correctly. 

​

It is generally accepted that the human ear can hear from 20 Hz to 20 kHz, although most adults can't hear all the way up to 20 kHz, more realistically 16 to 18 kHz... So why record at more than 40 kHz?

​

This is where the term "anti-aliasing filter", also called the "Nyquist filter", comes in.

​

 

The Nyquist filter (a high cut filter) stops frequencies that are more than half the sample rate value from getting through our A/D converter (analogue-to-digital converter). If this didn't happen, meaning all sound was let into the digital domain, the result would be an "aliasing" tone, where the frequencies overlap because of the digital fold-back caused by the limitations of the digital domain. Imagine a tone that keeps rising endlessly in frequency, but hits a mirror on a vertical wall, then hits a mirror in the ceiling, and is then thrown back into the audible spectrum...... These are overlapping, artificial frequencies that occur because of the Nyquist factor. 

If your process doesn't follow the guidelines of the Nyquist theorem, you simply create synthetic sound that isn't intended and wasn't in the original material.

The high cut mentioned above (the Nyquist filter) should ideally be as gentle as possible. The gentler it is, the fewer negative side effects this EQ has on the sound, since a steep EQ creates phase shift and distortion. So a high sample rate also makes it possible to use much gentler high cuts, which are "healthier for the sound". 

​

​

In the image on the right you can see how even a

sample rate of 44.1 kHz still gives a little aliasing,

but not in the audible spectrum, since the noise (the red part)

is mirrored back but doesn't reach the audible spectrum

​

​

Do you dream of making music for dolphins?

A dolphin can hear up to 150 kHz, so you need to record at a 

sample rate of at least 300 kHz.

​

An RME ADI-2 Pro can convert at a sample rate 

of 768 kHz, and for only DKK 12,000 to 13,000 at Thomann you are actually

ready to make bangers for dolphins relatively cheaply. 

So don't tell me you haven't learned anything useful

from reading this post!

​

It would be controversial of me to claim that you should basically just record at 44.1 kHz or 48 kHz and leave the debate about ridiculously high sample rates like 96 kHz to audiophile nerds who would rather listen to their expensive systems than to the music. But no.

​

​

Advantages of a high sample rate:

​

- A high sample rate can be useful in mastering, often in the form of oversampling, where individual plugins raise the sampling to x2 to x4  or higher to avoid digital noise (artefacts), as described by the Nyquist theorem.

​

- If you record sounds that will be manipulated digitally, that is, sped up or slowed down, it makes sense to record at a high sample rate, since you simply have more source material to work with, which lets you avoid empty data points, especially in "slow motion" audio.

​

Disadvantages

The disadvantages of a high sample rate (and in my world a high sample rate is anything above 48 kHz) are that the files take up a lot of space, take a long time to move and simply require more computing power. 

​

​

​

​

​

​

​

​

​

​

​

​

Fun facts about gear and sample rate

​

release music, music release, music metadata, digital music distribution, album release, single release, music pitching

- The human ear can hear from 20 Hz to 20 kHz. You probably can't if you're reading this, since you have most likely listened to a lot of music, preferably loud, to be nerdy enough to be reading this.

​

- A cassette tape can carry information from 20 Hz to 15 kHz

​

- A vinyl record can carry information from 20 Hz to 18 kHz (if there is 18k on your vinyl master, your cutting engineer may be inclined to put a round of de-essing on it)

 

- A Neumann U 87 can reproduce 20 Hz to 20 kHz 

​

​

​

​

​

​

​

​

​

​

​

​

Want to know more about the topic?

Then check out this video from "Short Circuit Production". It's really cool, and I'm a huge fan of the channel, by the way.

bottom of page