INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: Caligari on September 08, 2016, 03:50:40 pm

Title: Sox and DSD
Post by: Caligari on September 08, 2016, 03:50:40 pm
Is SOX used for PCM to DSD on the fly conversions or are you still using your own engine?
Title: Re: Sox and DSD
Post by: Awesome Donkey on September 09, 2016, 03:31:01 pm
If you have the SoX box checked, it *should* be using SoX to resample DSD to PCM.
Title: Re: Sox and DSD
Post by: Caligari on September 09, 2016, 03:35:35 pm
Should? How would one know then?
Title: Re: Sox and DSD
Post by: dtc on September 09, 2016, 05:51:46 pm
The original question was converting PCM to DSD. I do not believe Sox does that conversion. There is nothing in the Source Forge documentation to indicate it does PCM to DSD conversion. It is quite a different process than PCM upsampling and downsampling.

When converting from DSD to PCM, MC first converts to PCM with a sample rate 1/8 of the original (e.g. 2.822 Mhz becomes 352KHz PCM) using open source code and if that is downsampled to, for example, 176 KHz, then that downsamplng from 352 KHz to 176 KHz should be done using Sox, if the Sox option is checked. The only way to know for sure if Sox is being used in that second conversion is to have one of the developers verify it. One option would be to do a conversion from DSD to, for example, 172 KHz and time how long it takes, with Sox and with the original algorithm. If they are repeatedly different times, that would indicate that Sox is being used if the box it checked. You might need a large file, or a whole album, to see the timing differences.
Title: Re: Sox and DSD
Post by: Caligari on September 10, 2016, 04:58:57 am
There's a DSD fork for SOX.
Title: Re: Sox and DSD
Post by: dtc on September 10, 2016, 08:15:46 am
There's a DSD fork for SOX.

Can you point to a reference for it.

Matt will have to answer whether or not it is included in the update. My guess is they did not change PCM to DSD,  but that is a guess.
Title: Re: Sox and DSD
Post by: HiFiTubes on September 14, 2016, 10:26:05 pm
Can you point to a reference for it.

Matt will have to answer whether or not it is included in the update. My guess is they did not change PCM to DSD,  but that is a guess.

https://github.com/mansr/sox

There's also an AUR repository available:

https://aur.archlinux.org/packages/sox-dsd-git/

 
Title: Re: Sox and DSD
Post by: Matt on September 15, 2016, 07:35:11 am
SoX is not used to convert to DSD.

We are talking about it.
Title: Re: Sox and DSD
Post by: Awesome Donkey on September 15, 2016, 07:49:41 am
Ah, I misread the original question and assumed it was DSD to PCM, which SoX in MC does, correct?
Title: Re: Sox and DSD
Post by: Matt on September 15, 2016, 08:13:06 am
Ah, I misread the original question and assumed it was DSD to PCM, which SoX in MC does, correct?

Yes, that does use SoX if it's enabled.
Title: Re: Sox and DSD
Post by: dtc on September 15, 2016, 09:03:41 am
https://github.com/mansr/sox

There's also an AUR repository available:

https://aur.archlinux.org/packages/sox-dsd-git/

Thanks. I had found the references. I found very little discussion about this code, other than one or two threads on Computer Audiophile. Is the code used by any other software that you know of?
Title: Re: Sox and DSD
Post by: HiFiTubes on September 20, 2016, 08:55:49 pm
None that I know of sorry.
Title: Re: Sox and DSD
Post by: Caligari on September 21, 2016, 05:01:10 am
SoX is not used to convert to DSD.

We are talking about it.

Thanks that would be great.