Specifications
VLSI
Solution
y
VS1053b
VS1053B
8. FUNCTIONAL DESCRIPTION
8.7.9 SCI HDAT0 and SCI HDAT1 (R)
For WAV files, SCI HDAT1 contains 0x7665 (“ve”). SCI HDAT0 contains the data rate measured in
bytes per second for all supported RIFF WAVE formats: mono and stereo 8-bit or 16-bit PCM, mono
and stereo IMA ADPCM. To get the bitrate of the file, multiply the value by 8.
For AAC ADTS streams, SCI HDAT1 contains 0x4154 (“AT”). For AAC ADIF files, SCI HDAT1 con-
tains 0x4144 (“AD”). For AAC .mp4 / .m4a files, SCI HDAT1 contains 0x4D34 (“M4”). SCI HDAT0
contains the average data rate in bytes per second. To get the bitrate of the file, multiply the value by 8.
For WMA files, SCI HDAT1 contains 0x574D (“WM”) and SCI HDAT0 contains the data rate measured
in bytes per second. To get the bitrate of the file, multiply the value by 8.
For MIDI files, SCI HDAT1 contains 0x4D54 (“MT”) and SCI HDAT0 contains the average data rate in
bytes per second. To get the bitrate of the file, multiply the value by 8.
For Ogg Vorbis files, SCI HDAT1 contains 0x4F67 “Og”. SCI HDAT0 contains the average data rate in
bytes per second. To get the bitrate of the file, multiply the value by 8.
For MP3 files, SCI HDAT1 is between 0xFFE0 and 0xFFFF. SCI HDAT1 / 0 contain the following:
Bit Function Value Explanation
HDAT1[15:5] syncword 2047 stream valid
HDAT1[4:3] ID 3 ISO 11172-3 MPG 1.0
2 ISO 13818-3 MPG 2.0 (1/2-rate)
1 MPG 2.5 (1/4-rate)
0 MPG 2.5 (1/4-rate)
HDAT1[2:1] layer 3 I
2 II
1 III
0 reserved
HDAT1[0] protect bit 1 No CRC
0 CRC protected
HDAT0[15:12] bitrate see bitrate table
HDAT0[11:10] samplerate 3 reserved
2 32/16/ 8 kHz
1 48/24/12 kHz
0 44/22/11 kHz
HDAT0[9] pad bit 1 additional slot
0 normal frame
HDAT0[8] private bit not defined
HDAT0[7:6] mode 3 mono
2 dual channel
1 joint stereo
0 stereo
HDAT0[5:4] extension see ISO 11172-3
HDAT0[3] copyright 1 copyrighted
0 free
HDAT0[2] original 1 original
0 copy
HDAT0[1:0] emphasis 3 CCITT J.17
2 reserved
1 50/15 microsec
0 none
Version 1.01, 2008-05-22 45