sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Problems converting from DSD128 to DSD64
@ 2017-08-27  8:12 Michael Vernersen
       [not found] ` <yw1xr2vx3yn0.fsf@mansr.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Vernersen @ 2017-08-27  8:12 UTC (permalink / raw)
  To: sox-users

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



------------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems converting from DSD128 to DSD64
       [not found]   ` <7e93f2d1-b0f2-7cbe-384f-c44b3e03ae7c@gmail.com>
@ 2017-08-27 16:24     ` Måns Rullgård
  0 siblings, 0 replies; 2+ messages in thread
From: Måns Rullgård @ 2017-08-27 16:24 UTC (permalink / raw)
  To: Michael Vernersen; +Cc: sox-users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-27 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).