Sample rate and bit rate


Free Download Mp4Gain
picture

Sample rate and bit rate

Sample Rate and Bit rate

If the file size is reduced (code at a lower bit rate), the sound quality tends to deteriorate. How much should it really be? .. ..

sample rate bit rate

When compressing using audio encoding (AAC, MP3, etc.), the compression rate is determined by the bit rate at the time of encoding. Specifically, if you set a low bitrate, the compression rate will be high and the file size when saved will be small, but what is the bitrate for the original sound source (PCM) without compression in the first place?

If you save it as PCM, the sound quality of the original sound will be obtained, but it can be a little inconvenient to save it without worrying about the file size. Also, depending on the application, I think the original sound size has enough memory capacity and the communication speed is correct. Therefore, I would like to write about the sample rate and bit rate that are often heard in digital audio.

The bit rate of digital audio is determined by the sampling frequency, the number of bits assigned to a sample (number of quantization bits), and the number of channels (stereo, monaural, etc.).

PCM bit rate (uncompressed) = sample rate x number of quantization bits x number of channels
As I wrote a bit last time, in file containers like wav and mp4 format, this information is attached as a header, so that the application can see the header and play it back. The compression rate of the encoding is determined by the bit rate specified at the time of encoding for this PCM (uncompressed) bit rate.
For example, as many of you know about music CDs, with 44.1 kHz stereo, this is the next bit rate.

Music CD bit rate: 44100Hz x 16bit x 2ch (stereo) = 1411.2kbps
When encoding this with MP3, AAC, etc., you will naturally need to specify a bitrate less than 1,411.2 kbps. For example, when encoding at 256 kbps, the compression rate is approximately 18% and the file size is 1/5 or less when the original sound is 100%.

Encode Music CDs at 256 kbps: 256 kbps / 1,411.2 kbps = approximately 18%
Generally, the sample rates of audio devices actually connected to a PC are 48 kHz and 44.1 kHz for music, 16 kHz and 8 kHz for audio such as microphones and headphones, and 32 kHz, 24 kHz, 22.05 kHz. , etc.

The bit rate of PCM (uncompressed sound source) with 16-bit quantization bits is as follows.

Stereo (for music) PCM 16-bit bit rate (example)
Sampling frequency Number of quantization bits Number of channels Bit rate Comments
48 kHz 16 2 1,536 kbps
44.1 kHz 16 2 1,411.2 kbps Music CD
32 kHz 16 2 1,024 kbps
24 kHz 16 2 768 kbps
22.05 kHz 16 2 705.6 kbps
16-bit monaural PCM bit rate (for audio) (example)
Sampling frequency Number of quantization bits Number of channels Bit rate Comments
32 kHz 16 1 512 kbps Super Wide Band
24 kHz 16 1 384 kbps
16 kHz 16 1 256 kbps Broadband
8 kHz 16 1 128 kbps Narrowband

Sampling rate

If you check the web, there are explanations such as the sampling required to convert analog waveforms to digital conversion. For example, it shows how many samples of an audio signal input from a microphone are taken per second and digitized. The larger the sample, the greater the range that can be recorded. When an analog waveform is digitized, the frequency that can be expressed is half the sampling frequency (sampling theorem). For example, with a sampling frequency of 48 kHz, it can be expressed up to 24 kHz. At 8 kHz (narrow band) and 16 kHz (wide band), which are often used for audio, you can only hear up to 4 kHz and 8 kHz, respectively. The higher the sample rate, the higher the bit rate.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Sample rate and bit depth

Sample rate and bit depth

uno2

When describing digital recording devices, two fundamental concepts are used: sample rate and bit depth. In this article, we will see what it is.

Sampling rate
The sample rate is the rate at which the logger captures samples of the input signal. When recording sound in digital form, in fact, individual samples or, in other words, values ​​of sound intensity are recorded at separate points in time.

The sample rate for recording devices is usually the following standard values: 44.1 kHz; 48 kHz and 96 kHz. The higher the sample rate, the more samples will be taken in 1 second and the better the digital sound quality we will get as a result.

What is the meaning of these numbers? They mean the number of times the recorder reads the sound intensity value from the input signal per second. The sample rate is measured in kilohertz (kHz), 1 kHz = 1000 samples per second.

For example, if the recording is made with a sampling frequency of 48 kHz, this means that the sound recorder measures and records the sound intensity value 48,000 times per second.

This number may seem unimaginably huge, but here the phenomenon called Nyquist frequency is worth remembering. The Nyquist frequency is named after the person who first discovered it. Defines the highest sound frequency that can be recorded at a given sample rate.

In short, the maximum tone that can be digitally fed is about half the sample rate.

Therefore, when recording at a sampling frequency of 48 kHz, the maximum audio frequency that can be recorded is 24 kHz. This is sufficient, considering that the human ear hears frequencies on average from 20 Hz to 20 kHz.

Bit depth
When talking about digital recording devices, you can often hear the words “16-bit”, “24-bit”, and so on. Some mean the number of information units with which the value of each sample obtained from the digital recording can be represented.

The higher the value of this number, the more accurately you can record the value of each sample and the higher the sound quality you will get as a result.

Do not think that the greater the number of bits, that is, the greater the bit depth, the greater the intensity value that can be set. Here is meant representation precision.

Modern recorders are usually 24 bits wide. It should be noted that recording with a large bit depth takes up a lot of space on the storage device, but this is not so important, because modern media has a huge volume and is becoming more and more affordable.

Why can the difference in bitrate make it sound great (high, medium, low)?

Why can the difference in bitrate make it sound great (high, medium, low)?

Bit Depth vs. Bit Rate

Reply:
Just to make sure this is clear, let’s differentiate

BIT RATE BIT DEPTH

sample rate vs bit depth

as much as

Bit rate

how they relate to audio in the digital domain …

Sampling frequency:

The sample rate is specified as a frequency (samples per second), for example, 44.1 kHz for CD. Other common values ​​are 48, 88.2, 96, 176.4, and 196 kHz, although some formats (such as DSD) have sample rates greater than 2.8 MHz. The sample rate indicates

how often the audio signal is measured

While some people view lower readings as a tiered bar graph, I prefer to view them as a child bitmap. If you take the outline of a horse and simplify it to 20 points so the child can connect, it’s not so much that you end up with steps (using straight and curved lines to connect 20 correctly spaced points can lead to a decent figure), but there won’t be without subtlety. Whereas with 200 (or 2000) points, you could approximate the wavy strands along the horse’s mane.

In audio, a lower sample rate does not make the sound “bad” (eg, fuzzy, fuzzy, or distorted), but rather limits the maximum frequency (pitch) that can be recorded / played back as intended.

Nyquist theorem formula

, The 44.1 kHz sampling rate was chosen for CD because it can record and play back frequencies up to 20 kHz. To record a spoken word (such as a speech, a sermon, or an audiobook), it would be difficult to detect a much lower sample rate, as the human voice has less and less harmonic information above 10 kHz.

Depth bits:

Considering that the sampling frequency determines how

often

audio signal is measured, bit depth indicates

scale accuracy

Since we are talking about digital audio, we describe this measurement scale in bits, where each bit is 0 or 1, and we concatenate a certain number of them to represent the value. When we have 8 bits, there are 256 possible numerical values, including zero. With 16 bits, there are 65,536 possible values. A 24-bit register can use 16,777,216 values.

When we convert analog audio to digital representation (A-to-D) and vice versa (D-to-A), we find interesting mathematical relationships. Each bit (digital) doubles the number of possible values ​​… And doubling the amplitude (approximately 4 times the power) of the sound wave (analog) corresponds to + 6 dB of loudness. Therefore, we can estimate the maximum dynamic range * of a digital recording at 6 dB / bit. Therefore, 8-bit recording has ~ 48 dB of dynamic range, 16-bit recording (such as a CD) has ~ 96 dB, and 24-bit recording has ~ 144 dB.

* For those of you unfamiliar with this term, dynamic range basically describes the difference between the quietest and loudest sound waves that can be recorded / played back. The CD has a difference of approximately 96 dB, which can be used to represent the most subtle pause compared to the incredibly loud burst of the cannon at Tchaikovsky’s climax.

1812 Overture

,

Three quick notes for those interested in delving into the rhythm …

There is a formula for the actual dynamic range of a digital recording that may differ slightly from the previous estimate, but it is a fairly minimal deviation, so an estimate of 6 dB / bit is what you normally see in quotes.
The latest 32-bit floating point representations combine a 24-bit number and an 8-bit exponent to represent many more possible values ​​than 24-bit registers. The dynamic range estimate is getting a bit dubious, but suffice it to say it’s well above 144 dB.
Using a lower bit depth, while you might think in terms of warp plugins with names like “bit-grinder”, doesn’t have to sound “bad” (eg fuzzy, fuzzy, or distorted), but just represents a reduced dynamic range. But since a 16-bit recording with a dynamic range of 96 dB (65,536 numerical values) cannot be represented in 8 bits (48 dB and 256 numerical values), to reduce the bit depth of the already digitized audio, a mathematical correction of the numbers down. (for example, 65535 becomes 255) using a compressor or limiter, which can cause the quietest recording bits to be lost so that the difference between soft and loud parts is <48 dB. Without such scheme, the transformation will cause clipping (numerical values ​​above the maximum),
Bit rate:

In digital audio, the bit rate is a measure of

how many bits are transmitted / processed per second

What is the fundamental difference between 44100 and 48000 Hz?

What is the fundamental difference between 44100 and 48000 Hz?

44100 vs 48000 hz
44100 vs 48000 hz

In fact, this is just a question of long-standing standards.

44100 vs 48000 hz
44100 vs 48000 hz

44100 vs 48000 hz

44100 is the CD standard.
48000 is the standard for DVD.
The difference in practice is so small that it will be impossible to notice it (I’ll tell you more: many people feel the difference between mp3 and wav, but they can’t tell which is better).
The stereotype has persisted that if you need to work with TV or movies / soundtracks, it is better to do it in 48000, suddenly some old equipment will not understand sampling.
But this is very, very unlikely these days, so there isn’t much of a difference.
It can record at 96000. There is a small chance that some plug-ins / sound effects can handle such recordings better, but it requires more CPU / RAM and much more hard disk space.
Between 16 and 24 bits, it will also be difficult to feel the difference, but at the request of the sound engineer, we wrote in 24 with the same thoughts (for plug-ins).
In general, write to 44100 if you don’t need to work with a specific television crew.

44100 vs 48000 hz
44100 vs 48000 hz

Choosing the Right Sample Rate: 44100 or 48000 hz

 

In the world of digital audio, the choice between 44,100 Hz and 48,000 Hz sample rates is a critical one. As an audio expert, I’ve spent years diving deep into this topic, examining the real-world scenarios where this choice can make or break a sound. In this article, I’ll guide you through this audio journey, shedding light on the differences and helping you make an informed choice.

44100 Hz – The Analog Heartbeat

When we talk about 44,100 Hz, it’s like stepping into a cozy vinyl record shop, where the warm crackles and pops surround you. This sample rate mirrors the heartbeats of analog audio, capturing the subtleties of your audio source much like a vintage vinyl record player.

Imagine: You’re in a dimly lit jazz club, and a saxophonist takes the stage. You close your eyes as the music begins. 44,100 Hz is akin to capturing every breath, every emotion, and every nuance of the saxophonist’s performance. It’s the sample rate that preserves the soul of analog sound.

48000 Hz – The Digital Precision

Contrastingly, 48,000 Hz feels like entering a state-of-the-art recording studio with a digital mixing console at the heart of it all. It’s the precision tool for audio in the digital age, where every sound wave is charted with utmost accuracy.

Visualize: You’re in a high-tech laboratory, and a scientist is conducting a finely tuned experiment. 48,000 Hz is like the precise instruments that measure every data point with accuracy. It’s the sample rate that excels in capturing the clarity and detail of digital audio.

The Real-World Decision

The choice between 44,100 Hz and 48,000 Hz ultimately depends on the nature of your audio project.

Subtitle: For Vintage Vibes

If you’re aiming for a warm, nostalgic sound reminiscent of classic records, 44,100 Hz is your choice. It’s like using a vintage camera to capture that old-world charm. This sample rate will maintain the character and imperfections of your audio source.

Subtitle: For Contemporary Clarity

When you require crystal-clear audio for modern projects, such as podcasts, video games, or high-quality music production, 48,000 Hz is your ally. Think of it as upgrading to a high-definition TV for the audio world. This sample rate ensures every detail is captured and reproduced faithfully.

Last words about right sample rate for your digital audio

As an audio expert, my journey has led me to understand that the choice between 44,100 Hz and 48,000 Hz is about preserving the essence of your sound in the most appropriate way. Each sample rate has its place in the vast world of audio, just as a painter chooses different brushes for different strokes on their canvas.

So, whether you’re embracing the warmth of the past or striving for the precision of the future, remember that the right choice of sample rate can be the difference between an audio masterpiece and a missed opportunity. Choose wisely, and let your sound shine in all its glory.

 

The fundamental difference between them in the coverage of the frequency range on the track (from 20Hz), the 44100 sample rate allows you to work in the range up to 22kHz, 48000 to ~ 25kHz, 96000 to ~ 35kHz, etc. 48 parameters o 96kHz are used in large studios where the reproduction of these frequencies and sound engineers strive for the slightest increase in sound quality, before and after conversion to the 44100 standard, the sound of the track objectively looks better, even though the human ear does not hear these frequencies, the psychoacoustic effect remains (the closest example: if you shoot video and plan to play back in fHD, you will prefer to shoot 4k with rear cropping for the sake of image quality, and no one will say there is no point in shooting 4k, the same is here).

It’s even more interesting in movies … because 44100Hz is the playback frequency at 24fps and 48000Hz is 25fps. If you record a video at 25 fps and the sound is separately on the recorder at 44100Hz, then the length of the tracks will not match and you will have to change the timbre of the original with a small time interval.

Sample rate and bit depth

Sample rate and bit depth

Sample Rate Bit Depth

When describing digital recording devices, two fundamental concepts are used: sample rate and bit depth. In this article, we will see what it is.

Sample Rate, Bit Depth

Sampling rate
The sample rate is the rate at which the logger captures samples of the input signal. When recording sound in digital form, in fact, individual samples or, in other words, the sound intensity values ​​are recorded at separate points in time.

The sample rate for recording devices is usually the following standard values: 44.1 kHz; 48 kHz and 96 kHz. The higher the sample rate, the more samples will be taken in 1 second and the better the digital sound quality we will get as a result.

What is the meaning of these numbers? They mean the number of times the recorder reads the sound intensity of the input signal per second. The sample rate is measured in kilohertz (kHz), 1 kHz = 1000 samples per second.

For example, if the recording is carried out at a sampling frequency of 48 kHz, this means that the sound recorder measures and records the sound intensity value 48,000 times per second.

This amount may seem unimaginably huge, but a phenomenon called the Nyquist frequency is worth remembering here. The Nyquist frequency is named after the person who first discovered it. Defines the highest sound frequency that can be recorded at a given sample rate.

In short, the maximum tone that can be digitally fed is about half the sample rate.

Therefore, when recording at a sampling frequency of 48 kHz, the maximum audio frequency that can be recorded is 24 kHz. This is sufficient, considering that the human ear hears frequencies on average from 20 Hz to 20 kHz.

Bit depth
When talking about digital recording devices, you can often hear the words “16-bit”, “24-bit”, and so on. Some mean the number of information units with which the value of each sample obtained from the digital recording can be represented.

The higher the value of this number, the more accurately you can record the value of each sample and the higher the sound quality you will get as a result.

Do not think that the greater the number of bits, that is, the greater the bit depth, the greater the intensity value that can be set. Here is meant representation precision.

Modern recorders are typically 24-bit wide. It should be noted that recording with a large bit depth takes up a lot of space on the storage device, but this is not so important, because modern media has a huge volume and is becoming more and more affordable.

Samplerate, what is sample rate

The sampling frequency is the time that results from the time between two samples. It is given in samples per second (S / s).

Sampling Rate

The level of the sampling frequency is a criterion for the reproducibility of the frequency of the sampled signal. The closer the sampling times are, the better the signal can be reproduced.

Sampling rate

Relationship between frequency and sampling frequency

For example, if an analog signal is sampled once per millisecond (ms), the sample rate is 1 kHz and the sample rate is 1000 samples per second. If the sampled signal has a frequency of 1 kHz, the signal is sampled once per period. It cannot be played. If, on the other hand, the frequency of the signal is 100 Hz, the signal is sampled ten times with the same sample rate. Therefore, the signal is easily reproducible. Therefore, the sampling frequency must be in a certain relation to the frequency of the signal. This relationship is through the given sampling theorem. Accordingly, the reproduction of the signal requires a sampling frequency that is at least twice the frequency of the signal. This applies to sine-type signals for their 1st harmonic, but not to square wave or pulse signals.

Audio sampling frequencies

In the case of voice transmission over ISDN with a maximum frequency range of 4 kHz, the sampling frequency is 8 kHz, which corresponds to a sampling interval of 125 µs. For audio with a maximum frequency range of 20 kHz, the sampling frequency is 44.1 kHz (22.67 µs) and 48 kHz (20.83 µs). For high-quality multi-channel audio, the sample rate can be up to 192 kHz. Much higher values ​​are found for video and HDTV. For digital video, this results in a 6.5 MHz bandwidth for the luminance signal, a sampling frequency of more than 13 MHz and a sampling interval of 74 ns. The sample rate for HDTV is even higher with 74 MHz and a sample rate of 13.5 ns.
In the case of pulse-shaped signals, the sampling frequency must be many times greater than its fundamental oscillation, since otherwise important pulse parameters cannot be determined. If the sample rate is many times higher than the theoretically required sample rate, we are talking about oversampling.