Read the simple explanations
x
Navigation menu
 
Optimize music files to reach your device’s sound quality limit, get compatible audio format or save disk space.
Audio file converter software for music production and home hi-end Read more...

What is Sample Rate? [Explained]

Audio Basis - articles about audio

Read an easy explanation, of what is sample rate and Nyquist–Shannon sampling theorem.

March 23, 2023 updated | since September 20, 2013

Author: Yuri Korzunov,
Audiophile Inventory's developer with 25+ year experience in digital signal processing,
author of the articles that make audio easy for beginners
Optimize music files
 to reach your device's sound quality limit,
get compatible audio format or save disk space

 
AuI ConverteR 48x44
 audio file converter software
 for music production and discerning music lovers

FLAC, DSF, DFF, SACD ISO, mp3, m4a, CUE, CD...
 
We think about quality. You just work with music.
 since 2011
AuI ConverteR 48x44 - audio converte software
DOWNLOAD FREE
[Windows]
DOWNLOAD FREE
[Mac]

 

 

What is sample rate?

Sample rate is a number of digital signal's samples per second.

More sample rate - more samples per second.

Read more...

 

What is sample

Sound is air pressure oscillation.

The oscillation is a fast changing of air pressure in time.

Air oscillations impact to a microphone. Changings of the air pressure are transformed into oscillations of electrical voltage. The last one is an analog waveform.

Analog-to-digital converter makes instant measurements of voltage. Measurements are placed at even intervals on the time.

 

Sample is the measurement.

Digital signal (digital form of analog waveform) is the sample sequemce.

 

Also, we can same that sampling rate is the measurement number per second.

Digital signal has own sampling rate.

Read more...

 

What is sine signal?

Sine signal is a periodic waveform. Changing of analog-audio voltage repeats over time period. Here we can look at the reference points of the waveform during a period.

values 0 → amplitude → 0 → -amplitude, or

GROUND → UP → GROUND → DOWN

Period repeats during time.

 

It's like periodical swing of the pendulum. Period is repeatable movement.

Period 0: center → left → center → right,

Period 1: center → left → center → right.

. . .

Period N: center → left → center → right.

 

Amplitude is how far the pendulum deviates from the central position.

 

 

Frequency of sine is a number of periods per second.

More sine frequency more high sound. Bass is low frequencies. Birdsong is high frequencies with plenty of the periods.

 

What is Nyquist–Shannon sampling theorem?

We have a time between the samples.

Designate this time as sampling period.

Imagine sine with the one repeating during the two sampling periods.

Nyquist–Shannon sampling theorem says:

Highest sound frequency, which be able to converted to digital form, is half of sampling rate.

 

Example: If sampling rate is 44100 Hz, such digital signal can contains maximum frequency 22050 Hz = 44100 / 2.

 

 

Sample rate and "stairs"

At first sight, digital signal like to "stairs". But, really, it is not so.

"Stairs" exists after conversion digital values to electrical voltage.

But next stage is analog filtering.

The filtering smooth stairs (interpolate). It is like to connecting voltage values by steel ruler.

 

Oversampling, downsampling, upsampling

Read about:

 

Frequently Asked Questions

What is a good sampling rate?

There is no "good" or "bad" sampling rates. Higher sampling rates allows solving issuies that are inherent in low diskretization frequencies.

Read more...

 

Is a higher sample rate better?

Higher sampling rate make easier design of filter of digital-to-analog converter.

Read more...