sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: "Måns Rullgård" <mans@mansr.com>
To: Michael Vernersen <michaelvvv@gmail.com>
Cc: sox-users@lists.sourceforge.net
Subject: Re: Problems converting from DSD128 to DSD64
Date: Sun, 27 Aug 2017 17:24:02 +0100	[thread overview]
Message-ID: <yw1xfucd3rod.fsf@mansr.com> (raw)
In-Reply-To: <7e93f2d1-b0f2-7cbe-384f-c44b3e03ae7c@gmail.com> (Michael Vernersen's message of "Sun, 27 Aug 2017 17:18:53 +0200")

Michael Vernersen <michaelvvv@gmail.com> writes:

>> On 2017-08-27 15:53, Måns Rullgård wrote:
>>> Michael Vernersen <michaelvvv@gmail.com> writes:
>>>
>>>> Hi.
>>>>
>>>> Tried to convert from DSD128 to DSD64. Convertion went fine
>>>> but not playing on my DAC.
>>>>
>>>> My DAC plays DSD64 DSD128 with DOP without any problems.
>>>>
>>>> Convertion in Sox from 2 Flac works fine.
>>>>
>>>> My cmd I used is the following.
>>>>
>>>> sox -V4 01-DSD128.dsf 01-DSD64.dsf rate -v 2822400 sdm
>>> Looks like you're using my patched version with DSD features.  Could you
>>> explain in some more detail what goes wrong?
>>
>
>
> Jeps , I'm using your version from ARCH AUR
>
> https://aur.archlinux.org/packages/sox-dsd-git/

Hmm, that package really could use an update to the latest version in my
git repo.  There have been some important fixes since it was built.

> When the conversion is done, and no errors here, and I
> try to play the new file , I get 1 sec high frequency noise from my
> DAC chord 2qute and playing stops.

The high-frequency noise in the DSD128 input is destabilising the
modulator.  You need to get rid of it with a low-pass filter.  Something
like this will do:

$ sox dsd128.dsf dsd64.dsf lowpass 50k rate -v 2822400 sdm

For a sharp cut-off, use the sinc effect instead of lowpass.  The exact
frequency isn't important, so you might want to experiment a bit.

-- 
Måns Rullgård

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      parent reply	other threads:[~2017-08-27 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-27  8:12 Problems converting from DSD128 to DSD64 Michael Vernersen
     [not found] ` <yw1xr2vx3yn0.fsf@mansr.com>
     [not found]   ` <7e93f2d1-b0f2-7cbe-384f-c44b3e03ae7c@gmail.com>
2017-08-27 16:24     ` Måns Rullgård [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yw1xfucd3rod.fsf@mansr.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=michaelvvv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).