by David Filipovic (4 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
Explains which bytes are used, and how, to store info about bit-rate, frequency, channels...
Untitled Document
2nd byte has to be in between [F2,F7] or [FA,FF],
and the info extracted from 2nd byte is as follows:
Value
MPEG, Layer
CRC
F2
MPEG 2.0, Layer 3
Yes
F3
MPEG 2.0, Layer 3
No
F4
MPEG 2.0, Layer 2
Yes
F5
MPEG 2.0, Layer 2
No
F6
MPEG 2.0, Layer 1
Yes
F7
MPEG 2.0, Layer 1
No
Value
MPEG, Layer
CRC
FA
MPEG 1.0, Layer 3
Yes
FB
MPEG 1.0, Layer 3
No
FC
MPEG 1.0, Layer 3
Yes
FD
MPEG 1.0, Layer 3
No
FE
MPEG 1.0, Layer 3
Yes
FF
MPEG 1.0, Layer 3
No
3rd byte has to be in between [1x,Fx] (Where x is between [0,B]),
and the info extracted from 3rd byte is as follows:
Value (x)
MPEG 1.0 Frequency
MPEG 2.0 Frequency
[0,3]
44 KHz
22 KHz
[4,7]
48 KHz
24 KHz
[8,B]
32 KHz
16 KHz
Value
MPEG 1.0 Bit-rate
MPEG 2.0 Bit-rate
1x
32 Kbit
8 Kbit
2x
40 Kbit
16 Kbit
3x
48 Kbit
24 Kbit
4x
56 Kbit
32 Kbit
5x
64 Kbit
40 Kbit
6x
80 Kbit
48 Kbit
7x
96 Kbit
56 Kbit
8x
112 Kbit
64 Kbit
9x
128 Kbit
80 Kbit
Ax
160 Kbit
96 Kbit
Bx
192 Kbit
112 Kbit
Cx
224 Kbit
128 Kbit
Dx
256 Kbit
144 Kbit
Ex
320 Kbit
160 Kbit
4rd byte is of type ax(hex), where a is between [0,F], and x is between [0,F],
and the info extracted from 3rd byte is as follows:
Value (a)
Original
Emphasis
Copyright
0
No
None
No
1
No
50/15 microsec
No
2
No
Invalid
No
3
No
CITT j. 17
No
4
Yes
None
No
5
Yes
50/15 microsec
No
6
Yes
Invalid
No
7
Yes
CITT j. 17
No
8
No
None
Yes
9
No
50/15 microsec
Yes
A
No
Invalid
Yes
B
No
CITT j. 17
Yes
C
Yes
None
Yes
D
Yes
50/15 microsec
Yes
E
Yes
Invalid
Yes
F
Yes
CITT j. 17
Yes
Value (x)
Channels
[0,3]
Stereo
[4,7]
Joint Stereo
[8,B]
2 Channels
[C,F]
Mono