User Manual

VS1003
8 FUNCTIONAL DESCRIPTION
8.6.9 SCI_HDAT0 and SCI_HDAT1 (R)
For WAV files, SCI_HDAT0 and SCI_HDAT1 read as 0x7761, and 0x7665, respectively.
For WMA files, SCI_HDAT1 contains 0x574D and SCI_HDAT0 contains the data speed mea-
sured in bytes per second. To get the bit-rate of the file, multiply the value of SCI_HDAT0 by
8.
for MIDI files, SCI_HDAT1 contains 0x4D54 and SCI_HDAT0 contains values according to the
following table:
HDAT0[15:8] HDAT0[7:0] Value Explanation
0 polyphony current polyphony
1..255 reserved
For MP3 files, SCI_HDAT[0. . . 1] have the following content:
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 ISO 11172-3
HDAT0[11:10] sample rate 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 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.08, 2014-12-19 34