SoX supporta DSD

Visualizzazione dei risultati da 1 a 10 su 18

Hybrid View

Messaggio precedente Messaggio precedente   Prossimo messaggio Prossimo messaggio
  1. #1
    Moderatore L'avatar di bibo01
    Registrato
    Oct 2010
    Messaggi
    4,591
    configurazione

    Predefinito SoX supporta DSD

    "I added support for reading DSF and DFF files to SoX and figured someone here might find it interesting. The source code is at https://github.com/mansr/sox.

    With these additions, converting to PCM is a simple matter of invoking the "rate" filter. I have tested it with DSD64, DSD128, and DSD256 in stereo and multi-channel. The output seems entirely satisfactory to me, though I haven't done any thorough comparisons to other converters." (mansr)

  2. #2
    pebibyte L'avatar di marcoc1712
    Registrato
    Jan 2013
    Messaggi
    5,254
    configurazione

    Predefinito

    Originariamente inviato da bibo01
    "I added support for reading DSF and DFF files to SoX and figured someone here might find it interesting. The source code is at https://github.com/mansr/sox.

    With these additions, converting to PCM is a simple matter of invoking the "rate" filter. I have tested it with DSD64, DSD128, and DSD256 in stereo and multi-channel. The output seems entirely satisfactory to me, though I haven't done any thorough comparisons to other converters." (mansr)
    Modificherei il titolo in: Una fork di SOX che supporta DSD. Non è la versione ufficialmente mantenuta.
    Ciao, Marco.

    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
    — E. F. Schumacher (mis-attributed to A. Einstein)
    ________________________________________________________________________________
    Autore della patch R2 per Squeezelite e del plugin C-3PO. note libere
    Logitech media Server 7.9 > miniPc + squeezelite-R2 / SB+ > "Lu Scalmentu" NOS R2R DAC by TubeOne/ AudioResearch DAC 1-20 >
    Klimo Merlino Gold TPS > DIS Interconnect > Kent Gold > Reference > Monitor Audio Studio 20 SE

  3. #3
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,529
    configurazione

    Predefinito

    Originariamente inviato da bibo01
    With these additions, converting to PCM is a simple matter of invoking the "rate" filter.
    ...ottimo. Però servirebbe anche il passaggio inverso, da PCM a DSD.
    Ciao, Paolo.

    «Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»

  4. #4
    Moderatore L'avatar di bibo01
    Registrato
    Oct 2010
    Messaggi
    4,591
    configurazione

    Predefinito

    I have now added DSF writing support as well as a simple SDM for creating DSD streams. Although it can certainly be improved, it is a reasonable starting point, and the output is listenable, at least to my ears. (mansr)

  5. #5
    tebibyte L'avatar di UnixMan
    Registrato
    Sep 2013
    Messaggi
    2,529
    configurazione

    Predefinito

    Grande! Ora forse potrebbe essere il caso fare un po' di "lobbying" affinché le patch siano incluse nelle prossime versioni "ufficiali"...
    Ciao, Paolo.

    «Se tu hai una mela, e io ho una mela, e ce le scambiamo, allora tu ed io abbiamo sempre una mela per uno. Ma se tu hai un'idea, ed io ho un'idea, e ce le scambiamo, allora abbiamo entrambi due idee.»

  6. #6
    Moderatore L'avatar di bibo01
    Registrato
    Oct 2010
    Messaggi
    4,591
    configurazione

    Predefinito

    Qualche informazione ulteriore:

    The resulting code is available from https://github.com/mansr/sox with the following features:

    - DSF read/write
    - DFF read-only
    - DSD to PCM conversion using the existing resampler
    - PCM to DSD conversion

    The DSD encoding supports four settings with increasing quality and decreasing speed: fast, hq, audiophile, goldenear.

  7. #7
    Moderatore L'avatar di bibo01
    Registrato
    Oct 2010
    Messaggi
    4,591
    configurazione

    Predefinito

    Riporto la risposta dello sviluppatore alla mia domanda su come convertire un DSD64 a DSD256:

    Yes. To do that you need to remove the high-frequency noise from the original, resample to 256x rate, and quantise to 1-bit. Like this:

    sox in.dsf out.dsf rate -v 88200 gain 6 rate -v 11289600 sdm
    The "gain 6" is needed to restore the volume level from the -6dB reference level for DSD/SACD. However, some DSD files (e.g. from dsdfile.com / Opus3) are encoded at a higher (nonstandard) level, and those require a lower gain setting to avoid clipping. You can also omit the "gain" step entirely and simply get a quieter output file.

    Note that although the command above will produce valid output, the filters are optimised for DSD64. Using them for higher rates simply raises the frequency where the noise level starts rising without improving anything in the low part of the spectrum. With filters tuned for DSD128 or DSD256, other characteristics would be possible. I simply haven't got around to exploring those options yet.

Informazioni Thread

Users Browsing this Thread

Ci sono attualmente 1 utenti che stanno visualizzando questa discussione. (0 utenti e 1 ospiti)

Regole d'invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
nexthardware.com - © 2002-2022