DSF File Format Specification E
DSF File Format Specification E
Version 1.01
Contents
I. File Extension
II. Format Structure
III. Contact
I. File Extension
The extension of this format is “dsf” which stands for “dsd stream file”.
II.Format Structure
DSF file is made of 4 chunks. DSD chunk, fmt chunk, data chunk and metadata chunk.
( [Annotation?] means that there is an annotation which explains detail.)
1: mono
2:stereo
3:3 channels
4: quad
4 bytes Channel Type
5: 4 channels
6: 5 channels
7: 5.1 channels
[Annotation 1]
1: mono
2: stereo
4 byte Channel num
…
6: 6 channels
data chunk
4 byte 'd' , 'a' , 't' , 'a'
header
Numerical data (ex. Size of this chunk, Channel Type) should be stored as "LSB(Least Significant Byte)
first" in the file.
・3-CHANNELS
・QUAD
・4-CHANNELS
・5-CHANNELS
・5.1-CHANNELS
1 : Front Left 2 : Front Right 3 : Center 4 : Low Frequency 5 : Back Left 6 : Back Right
[Annotation2]
Sample count is the num per 1 channel.
Ex) n second data: Sample count would be Sampling frequency * n
[Annotation3]
Block size per channel is fixed, so please fill ZERO(0x00) for unused sample data area in the block.
[Annotation4]
For example, if dsd stream data is 0x00, 0x01, 0x02, 0x03, 0x04….., then this is the sample data in data
chunk.
If “Bits per sample” is equal to 1, then store the data as LSB(Least Significant Bit) first.
0x00, 0x80, 0x40, 0xC0, 0x20, ….
(00000000, 10000000, 01000000, 11000000, 00100000, ….)
If “Bits per sample” is equal to 8, then store the data as MSB(Most Significant Bit) first.
0x00, 0x01, 0x02, 0x03, 0x04…..
(00000000, 00000001, 00000010, 00000011, 00000100, ….)
III. Contact
If you have any question, send e-mail (in English) to [email protected] .
However, we will not guarantee that we provide support or answer your inquiry.
Change history: