Thank you for your donation!


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


Solved: How to play DSD .dff files?
#13
@Tim Curtis

Now that I think about it, we may be mixing apples and oranges.

DFF (the file identifier for DSD interchange File Format, aka DSDIFF) is not the same as DSF (DSD Storage Facility), although both can contain DSD material.

I just looked up the DSDIFF spec to make sure I was remembering old wive's tales.

Under section 2.2 Data Types, Constants, and Notations, it says

Quote:All data is stored in Big Endian format, this means that the most significant byte of e.g. a ushort or ulong is stored first.
 
Clearly mediainfo knows this and interprets the leading bytes of the file appropriately.

The two sample .dff files I just downloaded are also Big Endian. I copied one to a moOde 6.5.2 player and:

Code:
pi@moode3b:/mnt/SDCARD/DFF $ mediainfo 'Smoke Gets In Your Eyes - 2.8MHz-DSD.dff'
General
Complete name                            : Smoke Gets In Your Eyes - 2.8MHz-DSD.dff
Format                                   : DSDIFF
Format/Info                              : Direct Stream Digital Interchange File Format
Format version                           : Version 1.4.0.0
File size                                : 223 MiB
Duration                                 : 5 min 31 s
Overall bit rate                         : 5 645 kb/s
Track name                               : Smoke Gets In Your Eyes
Performer                                : Art Lande
Writing application                      : KORG AudioGate ver.2.3.0 (Windows 7)

Audio
Format                                   : DSD
Format/Info                              : Direct Stream Digital
Commercial name                          : DSD64
Format settings                          : Big
Duration                                 : 5 min 31 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                              : 223 MiB (100%)

[aside - I'm surprised mediainfo reports track name, performer, and writing app. I thought .dff files could contain no metadata. The leading-bytes chunk in the file are correct according to the spec so apparently it's legit.]


It's playing just fine as I write this-

Code:
pi@moode3b:/mnt/SDCARD/DFF $ mpc status
SDCARD/DFF/Smoke Gets In Your Eyes - 2.8MHz-DSD.dff
[playing] #3/4   2:52/5:31 (51%)
volume: 30%   repeat: off   random: off   single: off   consume: off

=========

Audio Information
INPUT / OUTPUT
Source:     SDCARD/DFF/Smoke Gets In Your Eyes - 2.8MHz-DSD.dff
Encoded at:     DSD64, 1 bit, 2.822 Mbps Stereo
Decoded to:     PCM, 16 bit, 48 kHz, Stereo, 1.536 Mbps
Destination:     Local
Output rate:     16 bit, 48 kHz, Stereo, 1.536 Mbps
DSP OPERATIONS
Volume ctl:     Software (MPD 32-bit float with dither)
Resampling:     16 bit, * kHz, Stereo (SoX very high quality)
Polarity inv:     off
Crossfade:     off
Crossfeed:     off
Parametric EQ:     off
Graphic EQ:     off
Replaygain:     off
Normalize vol:     off
Chip options:     None
AUDIO DEVICE
Device:     USB audio device

Chip:     
Interface:     USB
Formats:     S16_LE
Platform:     Pi-3B+ 1GB v1.3

On the other hand, after "Update Library" this file shows up only as "Unknown Artist", "Unknown Album" with the track title derived from the file name, not that value mediainfo found in the file.


Just my 2-cents worth.

Regards,
Kent
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 TheOldPresbyope - 05-08-2020, 07:11 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: