INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Sox and DSD  (Read 6713 times)

Caligari

  • Recent member
  • *
  • Posts: 6
Sox and DSD
« 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?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7911
  • Long cold Winter...
Re: Sox and DSD
« Reply #1 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.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Caligari

  • Recent member
  • *
  • Posts: 6
Re: Sox and DSD
« Reply #2 on: September 09, 2016, 03:35:35 pm »

Should? How would one know then?
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3125
Re: Sox and DSD
« Reply #3 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.
Logged

Caligari

  • Recent member
  • *
  • Posts: 6
Re: Sox and DSD
« Reply #4 on: September 10, 2016, 04:58:57 am »

There's a DSD fork for SOX.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3125
Re: Sox and DSD
« Reply #5 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.
Logged

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
Re: Sox and DSD
« Reply #6 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/

 
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42446
  • Shoes gone again!
Re: Sox and DSD
« Reply #7 on: September 15, 2016, 07:35:11 am »

SoX is not used to convert to DSD.

We are talking about it.
Logged
Matt Ashland, JRiver Media Center

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7911
  • Long cold Winter...
Re: Sox and DSD
« Reply #8 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?
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42446
  • Shoes gone again!
Re: Sox and DSD
« Reply #9 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.
Logged
Matt Ashland, JRiver Media Center

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3125
Re: Sox and DSD
« Reply #10 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?
Logged

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
Re: Sox and DSD
« Reply #11 on: September 20, 2016, 08:55:49 pm »

None that I know of sorry.
Logged

Caligari

  • Recent member
  • *
  • Posts: 6
Re: Sox and DSD
« Reply #12 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.
Logged
Pages: [1]   Go Up