What is the difference between 128k and 320k music? Part 2


Free Download Mp4Gain
picture

What is the difference between 128k and 320k music? Part 2

DJs: Understanding Bitrate & Audio Quality - On The Rise DJ Academy

Bit Rate, Sample Rate, Lossless, MP3, FLAC, APE, 320kb, 192kb, 128kb, 44.1khz, CBR, VBR. Does this bunch of various names make you both familiar and unknown?

Audio File Sizes
Audio File Sizes

The higher the bitrate, the better the sound quality. Lossless music is the highest sound quality, right? So, let’s start with the sound collection.

【Audio composition】

Nowadays, when we talk about audio, everything is digital audio. Digital audio consists of three parts: sample rate, sample precision, and number of sound channels.

Sample Rate: Both the sample rate, which refers to the number of samples per second when recording the sound, expressed in Hertz (Hz).

Sampling Precision: Refers to the dynamic range of the recorded sound, measured in bits (Bit).

Sound channel: the number of channels (1-8).

 

In simple terms, we can think of a sound wave as a curve. We know that the curve is made up of points, and the sampling rate is the number of points in the middle of the length per second (the horizontal axis in the figure above). Sampling precision is the number of points in the dynamic range (upper vertical axis). The finer the positioning of these two dimensions, the greater the true sound restoration and the better the sound quality. Of course, the larger the audio file will be. The customer mentioned by the above colleague said that the latest Hi-Res Audio format released by SONY is a 6-channel 192kHz/24-bit recorded audio file. The size of the lossless format, of course, will be more than 200 megabytes.

The sampling frequency is approximately the following depending on the type of use (k is the thousand-bit symbol, 1khz=1000hz):

8khz – used for phones etc, is enough to record human voices.

22.05khz: transmission use frequency.

44.1kb: Audio CD.

48khz: used in DVD and digital TV.

96khz-192khz: used for DVD-Audio, Blu-ray HD, etc.

The common range of sample precision is 8 bits to 32 bits, with 16 bits generally used on CD.

Having said that, my friends are starting to get confused. It’s not the bitrate that determines the sound quality, so why is everyone saying that 320kb sound quality is better than 128kb?


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Why are MP3 bitrates often multiples of 32? Part 2

Why are MP3 bitrates often multiples of 32? Part 2

MP3 bitrate
MP3 bitrate

 

Technically, there is nothing to limit the MP3 bitrate to a multiple of 2, as variable bitrate encoding can be used, or a custom bitrate can be achieved using some flags not used in the MPEG specification (although it must be implemented manually).

MP3 bitrate
MP3 bitrate

 

For MP3 to be MPEG-compliant, and therefore compatible with most MP3 decoders, it must have a bitrate defined by the specification, so all CBR-encoded MP3 files must have a bitrate that is a multiple of two.

Depending on the resource, VBR can be encoded by changing the bitrate between a fixed rate above each frame, or it can be encoded by sharing the available bits in adjacent frames (effectively generating a non-standard bitrate for the two frames combined). The length of a given frame depends on the sampling rate, there are 1152 samples per frame. There is nothing to limit the size of the frame itself, nor is there any limit to making the frame size base 2 (i.e. a 128 kbit/s MP3 with a 44.1 kHz sample rate would have a frame size of 417 bytes).

In the end, a file encoded at 126 kbps sounds worse than a file encoded at 128 kbps, and likewise a file encoded at 131 kbps sounds better. However, MP3s are encoded for compression according to the psychoacoustic model of a specific encoder. The amount by which a file sounds “better” or “worse” at a given bitrate depends largely on the algorithm used to implement the model; however, in general, higher bit rates can hold more data, likely reproducing Build a more accurate raw stream audio signal

I strongly suspect that the reason the MPEG standard specifies multiples of 2 is because binary computers can often optimize math involving both themselves and programmers.
This is a begging question. Don’t you think there is a mathematical/arithmetic reason for the chosen bitrate value? Or doesn’t the mere presence of VBR justify any limits on possible bitrates?
@slhck I’ve just updated my answer to provide more relevant details, please let me know if this answers all questions.
MPEG 1 Layer-III (mp3) files are streams of frames.

This web page details the data structure of the framework.

As you can see, only 4 bits are allocated to determine the bitrate. When designing a format for live streaming, you don’t want to waste more space than describing the stream.

I’m not sure exactly why 4 bits was determined to be a good compromise between space footprint and “bitrate resolution” – for the particular bitrate chosen, they were probably chosen based on the lowest and highest quality range that the engineer considered acceptable. mp3 algorithm.

Probably most MP3 players read one frame at a time, probably trying to “early” buffer at least one frame when decoding/playing the current frame.

The size of the frame and possibly the RAM allocated to it is as follows:

FrameSize = 144 * BitRate / SampleRate when the padding bit is cleared.
FrameSize = (144 * BitRate / SampleRate) + 1When the padding bit is set.
Higher bit rate/sample rate = more RAM required.

128 Kbps is probably popular as it is the default setting for many encoders.

Also, a colleague gave me insight into the discussion: 128 Kbps also roughly translates to “minutes in a minute” (unverified though), probably has something to do with that as well.

When “raw” data is logged, that data is buffered in chunks. These blocks will obviously be powers of two. It’s conceptually easier if you have an integer number of blocks per second.