Thank you for your donation!


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


Solved: How to play DSD .dff files?
#1
Question 
I placed a folder of .dff DSD files yet Moode 4.4 does not see the files. Is there a way of me playing these without convertingthe files?
Reply
#2
(02-28-2019, 03:52 AM)Lizard_King Wrote: I placed a folder of .dff DSD files yet Moode 4.4 does not see the files. Is there a way of me playing these without convertingthe files?

Moode 4.4 'does not see' DSD files... Is this the actual location of the files?
1. have you re-synchronised the library?
2. don't forget to turn ON the DoP in Config

Or maybe you want to test by simply placing a DSD file on a USB stick (nothing else), plug it onto the RPi, synchronise the library, browse and eventually play the file...
Reply
#3
Some useful info would help....
As CallMeMike asked...where ?
What Hardware..? (Pi, Dac, Nas ?, sdcard ? etc etc)
Length of string you're using ?
----------
bob
Reply
#4
(02-28-2019, 03:52 AM)Lizard_King Wrote: I placed a folder of .dff DSD files yet Moode 4.4 does not see the files. Is there a way of me playing these without convertingthe files?

I have a motley collection of DSD sample files pulled from various sources. Some are .dff and some .dsf (Google is your friend if you want to know the gory details of these two file format and why they both exist). Both types play fine on my moOde system.[1] 

As others have suggested, you apparently have a file-system related problem, not a DSD problem.

Regards,
Kent

[1] Some diddling of Audio Config settings might be required. For example, turning on cross-feed for my headphone listening seems to incompatible with playing DSD files.
Reply
#5
(02-28-2019, 05:38 AM)CallMeMike Wrote:
(02-28-2019, 03:52 AM)Lizard_King Wrote: I placed a folder of .dff DSD files yet Moode 4.4 does not see the files. Is there a way of me playing these without convertingthe files?

Moode 4.4 'does not see' DSD files... Is this the actual location of the files?
1. have you re-synchronised the library?
2. don't forget to turn ON the DoP in Config

Or maybe you want to test by simply placing a DSD file on a USB stick (nothing else), plug it onto the RPi, synchronise the library, browse and eventually play the file...

Thanks,that did it!
Reply
#6
Hello, all!
My Moode 6.5.2 doesn't see some .dff files. Only some .dff files. I re-synchronised the library many times, turned on the DSD over PCM in config. I placed these .dff files on a NAS and on a USB stick. Moode doesn't see them.
I placed this files on my smartphone and opened them with the Onkyo HF Player. Onkyo sees them and plays them. I tried to play these .dff files with the Fiio Music - it sees them, but can't play.
Got information about one file that Moode can't find:

<media ref="1.dff">
<track type="General">
<AudioCount>1</AudioCount>
<FileExtension>dff</FileExtension>
<Format>DSDIFF</Format>
<Format_Version>1.4.0.0</Format_Version>
<FileSize>423623136</FileSize>
<Duration>300.163</Duration>
<OverallBitRate>11290482</OverallBitRate>
<StreamSize>32768</StreamSize>
</track>
<track type="Audio">
<Format>DSD</Format>
<Format_Commercial_IfAny>DSD128</Format_Commercial_IfAny>
<Format_Settings_Endianness>Big</Format_Settings_Endianness>
<Duration>300.163243</Duration>
<BitRate>11289600</BitRate>
<Channels>2</Channels>
<ChannelPositions>Front: L R</ChannelPositions>
<ChannelLayout>L R</ChannelLayout>
<SamplingRate>5644800</SamplingRate>
<SamplingCount>1694360102</SamplingCount>
<Compression_Mode>Lossless</Compression_Mode>
<StreamSize>423590368</StreamSize>
<StreamSize_Proportion>0.99992</StreamSize_Proportion>
</track>
</media>

In order not to violate copyright, I can link to one of these .dff files in a personal message.
Reply
#7
Sure, just PM me the download link and I'll try to test sometime today.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#8
(05-08-2020, 11:10 AM)Tim Curtis Wrote: Sure, just PM me the download link and I'll try to test sometime today.

Sent. Thank you! )
Reply
#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
#10
Nice catch! It's been so long since I ran into an endian problem that I forgot they exist.
Reply


Forum Jump: