katoshin1026 / xld

Automatically exported from code.google.com/p/xld
0 stars 0 forks source link

DSD and DXD Conversion #243

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
XLD currently does not handle DSD or DXD which are increasingly available as 
purchased downloads.  It would be great to transcode to and from these formats 
to take advantage of the increased availability of DSD and DXD DACs.

Original issue reported on code.google.com by ppentlan...@gmail.com on 1 Apr 2014 at 9:12

GoogleCodeExporter commented 9 years ago
Can at least the DSD to PCM side be done with 
https://code.google.com/p/dsd2pcm/ through a plugin

Original comment by stargato...@gmail.com on 27 Apr 2014 at 5:32

GoogleCodeExporter commented 9 years ago
Here is an experimental DSD decoder plugin. Current specification is:
- supports 2.8MHz, DSF (.dsf) and DSDIFF (.dff) formats
- output PCM format is 24 bit / 352.8 kHz

DXD is a linear PCM format; it isn't DSD.

Original comment by tmkkmac on 11 May 2014 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
Many thanks I will have a look at the plug in.

Original comment by ppentlan...@gmail.com on 11 May 2014 at 8:59

GoogleCodeExporter commented 9 years ago
Update
 - DSD128 (5.6MHz) support. Native PCM samplerate is 705.6 kHz.
 - Resampling support. You can resample PCM to arbitrary frequency in the decoder.
   If encoder also has a resampler, data may be resampled twice; this is usually undesirable.
   In this case you should turn off either of the resamplers (decoder side* or encoder side**). 
    [DSF/DSDIFF]--(DSD Data)--[DSD Decoder]--(decimated 352.8/705.6 kHz PCM)--[Resampler*]--(resampled PCM)--[Encoder's resampler**]--[Encoder]
   Currently the resampler configuration is not implemented in GUI. You have to modify .plist file manually.
   Open XLDDSDDecoder.bundle/Contents/Info.plist file, then you will see a XLDDSDDecoderOutputSamplerate key.
   The default value is zero; this means no resampling in decoder's side. Entering non-zero value in this field enables a resampler.
   Resampling is done with SoX resampler, VHQ mode.

This plugin requires the latest version (20140504) of XLD.

Original comment by tmkkmac on 11 May 2014 at 11:10

Attachments:

GoogleCodeExporter commented 9 years ago
Update: added option to apply +6dB gain while decoding 
(XLDDSDDecoderApply6dBGain key, boolean value)

Original comment by tmkkmac on 11 May 2014 at 12:42

Attachments:

GoogleCodeExporter commented 9 years ago
Update
 - 32bit floating output support
 - 16:1 decimation support (2.8MHz DSD64 to 176.4kHz, 5.6MHz DSD128 to 352.8kHz)
 - GUI configuration support (XLD menu -> DSD Importer Settings...)

GUI configuration works with the development version of XLD: 
http://tmkk.undo.jp/xld/XLD_dev_140512.zip
Configuration with .plist is no longer supported.

About the samplerate conversion, decimation means it applies decimation filter 
(8:1 or 16:1) only. For other frequencies, 8:1 decimation filter is applied at 
first, then converted to arbitrary frequency using the usual samplerate 
converter.

Original comment by tmkkmac on 12 May 2014 at 1:30

Attachments:

GoogleCodeExporter commented 9 years ago
Update
 - 32:1 decimation support
 - Gain adjustment is now scalable (0dB - +6dB)

Original comment by tmkkmac on 13 May 2014 at 11:12

Attachments:

GoogleCodeExporter commented 9 years ago
im sorry i am no good with code but how do i use? When i open it up, itsends me 
to a command line input ? What do i input?

Original comment by ehale...@gmail.com on 24 Jul 2014 at 2:28

GoogleCodeExporter commented 9 years ago
Put .bundle into ~/Library/Application Support/XLD/PlugIns

No CLI knowledge is required.

Original comment by tmkkmac on 24 Jul 2014 at 9:36

GoogleCodeExporter commented 9 years ago
The plugin is included in version 20141109

Original comment by tmkkmac on 13 Nov 2014 at 5:08

GoogleCodeExporter commented 9 years ago
Plugin update: supported SACD .iso files

limitations
 - do not change importer settings while .iso file is opened (close and open again if you want to change)
 - only 2-channel area is read; multichannel area is ignored

Original comment by tmkkmac on 22 Nov 2014 at 8:40

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for adding SACD.iso conversion ... one question, is there any way to get 
metadata? Tracks show up as Track01, etc?

Original comment by sspec...@gmail.com on 30 Nov 2014 at 6:33

GoogleCodeExporter commented 9 years ago
CD-Text support is not implemented at the moment.

Original comment by tmkkmac on 30 Nov 2014 at 6:37

GoogleCodeExporter commented 9 years ago
This SACD ISO image would not even open:

Downloads/sacd_extract_0/sacd_extract -P --input Downloads/Szell\ Live\ in\ 
Tokyo\ 1970\ SACD\ ISO/GEORGE\ SZELL\ THE\ CLEVELAND\ ORCHESTRA\ -\ LIVE\ IN\ 
TOKYO\ 1970.iso 
Disc Information:

    Version:  1.00
    Creation date: 2000-11-16
    Catalog Number: SRGR747         
    Locale: en
    Title: LIVE IN TOKYO 1970
    Artist: GEORGE SZELL/THE CLEVELAND ORCHESTRA

Album Information:

    Catalog Number: 
    Sequence Number: 1
    Set Size: 1
    Locale: en

Area count: 1
    Area Information [0]:

    Version:  1.00
    Track Count: 11
    Speaker config: 2 Channel
    Track list [0]:
        Title[0]: APPLAUSE
        Title[1]: C.M.V.WEBER:OVERTURE"OBERON"
        Title[2]: W.A.MOZART:SYMPHONY NO.40 MOV.1
        Title[3]: W.A.MOZART:SYMPHONY NO.40 MOV.2
        Title[4]: W.A.MOZART:SYMPHONY NO.40 MOV.3
        Title[5]: W.A.MOZART:SYMPHONY NO.40 MOV.4
        Title[6]: J.SIBELIUS:SYMPHONY NO.2 MOV.1
        Title[7]: J.SIBELIUS:SYMPHONY NO.2 MOV.2
        Title[8]: J.SIBELIUS:SYMPHONY NO.2 MOV.3
        Title[9]: J.SIBELIUS:SYMPHONY NO.2 MOV.4
        Title[10]: H.BERLIOZ:RÁKÓCZY MARCH FROM"THE DAMNATION OF FAUST"
    ISRC Track [0]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05561
    ISRC Track [1]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05562
    ISRC Track [2]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05563
    ISRC Track [3]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05563
    ISRC Track [4]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05563
    ISRC Track [5]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05563
    ISRC Track [6]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05569
    ISRC Track [7]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05569
    ISRC Track [8]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05569
    ISRC Track [9]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05569
    ISRC Track [10]:
      Country: JP, Owner: SR0, Year: 00, Designation: 05573 

Original comment by george.a...@gmail.com on 9 Dec 2014 at 4:22

GoogleCodeExporter commented 9 years ago
Could you upload first 2MB of the iso file?

command:
head -c 2097152 disc.iso | gzip > disc_head.iso.gz

Original comment by tmkkmac on 9 Dec 2014 at 8:55

GoogleCodeExporter commented 9 years ago
Removed strict version checking

Original comment by tmkkmac on 10 Dec 2014 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
Tested with XLDDSDDecoder-20141210.zip bundle, still can't open the disc. Head 
is attached.

Original comment by george.a...@gmail.com on 8 Jan 2015 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
It works here. I guess the plugin isn't installed properly.

Original comment by tmkkmac on 8 Jan 2015 at 3:46

GoogleCodeExporter commented 9 years ago
Thanks a lot for XLD, BTW, and all your hard work. Please advice how to 
"install" the plugin. What I did was to rsync dowloaded XLDDSDDecoder.bundle/ 
into /Applications/XLD.app/Contents/PlugIns/

Original comment by george.a...@gmail.com on 9 Jan 2015 at 1:48

GoogleCodeExporter commented 9 years ago
Sorry, did not read above, it needs to go to ~/Library/Application\ 
Support/XLD/PlugIns/. ISO file is opening now. BTW, can you please add file 
association so XLD could handle .iso opening directly from Finder context menu? 
Thanks again.

Original comment by george.a...@gmail.com on 9 Jan 2015 at 1:53

GoogleCodeExporter commented 9 years ago
DSD Output plugin is here

Original comment by tmkkmac on 24 Jan 2015 at 12:26

Attachments:

GoogleCodeExporter commented 9 years ago
What is new/fixed/changelog for these plugins, please?

Original comment by george.a...@gmail.com on 27 Jan 2015 at 8:19

GoogleCodeExporter commented 9 years ago
DSD Importer Gain Adjustment +6dB is definitely not working (not applied) in 
XLD Version 20141129. Is it fixed now in XLDDSDDecoder-20150124 plugin?

Original comment by george.a...@gmail.com on 5 Feb 2015 at 9:38

GoogleCodeExporter commented 9 years ago
It works here. Note that the change is not applied for already opened files.

Original comment by tmkkmac on 6 Feb 2015 at 2:55

GoogleCodeExporter commented 9 years ago
Not an issue, just a workflow question.
For converting PS3 SACD ISO to PCM Stereo FLAC, I’m using the following DSD 
Importer settings:

    • 96000 Hz
    • SoX HQ
    • 24-bit Floating Point
    • +6db

I am satisfied with results, but I am strictly going by trial and error. Please 
advise if you feel there is a more optimal combination of settings. Many thanks 
for all of your good work, tmkk!

Original comment by aka...@gmail.com on 15 Feb 2015 at 1:42

GoogleCodeExporter commented 9 years ago
Theoretically, 44100 Hz or 88200 Hz (integer conversion ratio) should be better.

Original comment by tmkkmac on 15 Feb 2015 at 3:31

GoogleCodeExporter commented 9 years ago
Noted. with thanks/ akasrp

Original comment by aka...@gmail.com on 16 Feb 2015 at 1:29

GoogleCodeExporter commented 9 years ago
Any chance that we'll get support to convert from DSD ISO to DSF files? I'd 
prefer keeping it DSD rather than going to PCM. Thanks for XLD!

Original comment by sydt...@gmail.com on 19 Feb 2015 at 7:10

GoogleCodeExporter commented 9 years ago
That is not suitable for XLD. And it is already possible with sacd-ripper 
(https://code.google.com/p/sacd-ripper/).

Original comment by tmkkmac on 19 Feb 2015 at 9:11