Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: How to play DSD .dff files?
#9
The issue with the dff file is that it is in big endian byte order and Raspberry Pi requires little endian thus MPD does not recognize the file.

Below is the analysis.

With MPD set to verbose logging the following entries appear in /var/log/mpd/log for the 1.dff file (renamed to dff_test.dff) that you provided.

Code:
May 08 11:47 : update: reading USB/VFAT128/Test_mixed/DFF/dff_test.dff
May 08 11:47 : update: ignoring unrecognized file USB/VFAT128/Test_mixed/DFF/dff_test.dff
May 08 11:47 : update: finished

Heres the media info analysis which shows Format settings = Big (endian).
Code:
pi@rp3:/media/VFAT128 $ mediainfo ./Test_mixed/DFF/dff_test.dff
General
Complete name                            : ./Test_mixed/DFF/dff_test.dff
Format                                   : DSDIFF
Format/Info                              : Direct Stream Digital Interchange File Format
Format version                           : Version 1.4.0.0
File size                                : 404 MiB
Duration                                 : 5 min 0 s
Overall bit rate                         : 11.3 Mb/s

Audio
Format                                   : DSD
Format/Info                              : Direct Stream Digital
Commercial name                          : DSD128
Format settings                          : Big
Duration                                 : 5 min 0 s
Bit rate                                 : 11.3 Mb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 5 645 kHz
Compression mode                         : Lossless
Stream size                              : 404 MiB (100%)

Here's a mediainfo analysis for one of my test DSF files. Note it shows Format settings = Little (endian).
Code:
pi@rp3:~ $ mediainfo /media/VFAT128/Test_mixed/DSF/01\ -\ The\ Police\ -\ Roxanne.dsf
General
Complete name                            : /media/VFAT128/Test_mixed/DSF/01 - The Police - Roxanne.dsf
Format                                   : DSF
Format/Info                              : Direct Stream Digital Stream File
Format version                           : Version 1
File size                                : 131 MiB
Duration                                 : 3 min 13 s
Overall bit rate                         : 5 665 kb/s
Album                                    : Every Breath You Take - The Classics
Track name                               : Roxanne
Track name/Position                      : 1
Performer                                : The Police
Genre                                    : Rock
Recorded date                            : 2003
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg

Audio
Format                                   : DSD
Format/Info                              : Direct Stream Digital
Commercial name                          : DSD64
Format settings                          : Little
Duration                                 : 3 min 13 s
Bit rate                                 : 5 645 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 2 822 kHz
Compression mode                         : Lossless
Stream size                              : 130 MiB (100%)

Here is the byte order requirement of the Raspberry Pi ARM core. Note it is Little endian.
Code:
pi@rp3:~ $ lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1200.0000
CPU min MHz:         600.0000
BogoMIPS:            38.40
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
How to play DSD .dff files? - by Lizard_King - 02-28-2019, 03:52 AM
RE: How to play DSD .dff files? - by CallMeMike - 02-28-2019, 05:38 AM
RE: How to play DSD .dff files? - by Lizard_King - 03-02-2019, 04:49 AM
RE: How to play DSD .dff files? - by DRONE7 - 02-28-2019, 06:46 AM
RE: How to play DSD .dff files? - by Igorf11 - 05-08-2020, 06:19 AM
RE: How to play DSD .dff files? - by Tim Curtis - 05-08-2020, 11:10 AM
RE: How to play DSD .dff files? - by Igorf11 - 05-08-2020, 03:23 PM
RE: How to play DSD .dff files? - by Tim Curtis - 05-08-2020, 04:05 PM
RE: How to play DSD .dff files? - by Igorf11 - 05-08-2020, 05:53 PM
RE: How to play DSD .dff files? - by Tim Curtis - 05-08-2020, 07:09 PM
RE: How to play DSD .dff files? - by Tim Curtis - 05-08-2020, 07:17 PM
RE: How to play DSD .dff files? - by Igorf11 - 05-10-2020, 05:06 PM
RE: How to play DSD .dff files? - by Tim Curtis - 05-10-2020, 05:14 PM
RE: How to play DSD .dff files? - by Igorf11 - 05-11-2020, 08:20 AM

Forum Jump: