Skip to main content
Recent Posts
2
FLAC / Re: SACD to FLAC
Last post by bmcelvan -
Wow, I'm dumb. Simply changing it from
sox 01.dsf -b 16 01.wav gain 6 rate -v -s 44100
to
sox 01.dsf -b 16 01.wav rate -v -s 44100 gain 6
I believe did it.

Thanks again for the help
3
FLAC / Re: SACD to FLAC
Last post by bmcelvan -
Thank you both...I have been playing around with that "other" file but wasn't sure if it was "official" or trusted. Was literally just about to write how I got it working.

Thanks for the responses.

After playing a bit, a couple more questions of advice. When doing what I'll call a standard convert:
sox 01.dsf -b 16 01.wav rate -v -s 44100

I get output files that when looked at in Audacity the peaks never go above or below 0.5 (see attached "normal").
I've read that PDM to PCM converting always loses volume and therefore it could be added back in.
Do you think it's worth trying to boost them a little bit - in theory could anything be gained other than having to turn the volume knob a little less?

I tried using both gain and volume adjustments but any positive number yields clipping. When looking at the output files in audacity...the gained and clipped files look identical to the not gained ones and doesn't show any clipping. When looking at the command prompt side of (attached "gain6") it looks like the input file was gained...not the output. I guess I'm wondering how to gain the output file.
sox 01.dsf -b 16 01.wav gain 6 rate -v -s 44100
or
sox 01.dsf -b 16 01.wav vol 6dB -v -s 44100

The only thing I could do that wouldn't clip was use --norm
sox --norm=-1 01.dsf -b 16 01.wav vol 1dB -v -s 44100

Am I getting the gain coding wrong?
4
Audio Hardware / Designing a good listening test
Last post by thehay95 -
So I ask the experts, please help me design a good listening test. There will be no instant switching unfortunately.

I just need someone to walk me through the steps. I may be in a position to compare my AVR in my bedroom to a friends Mark Levinson Preamp and power amp combination. I'm curious to see how much difference there will be, but I need your guidance in order to construct the test.

Any pointers or advise would be most appreciated.
5
FLAC / Re: SACD to FLAC
Last post by blurry_light -
I had to include the "-D" parameter to stop SoX from dithering; I'm not sure why it was automatically doing this. Maybe it's better? I'm not too sure.
SoX does dither when going to 16bit because it is common practise and not because it is bad. If you ask mathematical skilled people they even recommend 24bit to be dithered when coming from the 32bit integer SoX routines.

Yes -- that's when going from 32-bit PCM to 24-bit PCM. But this is PDM to PCM; is dither still justified here? I'm admittedly not familiar with the ins and outs of PDM so maybe SoX's default behavior is acceptable.

EDIT: I think I see what you mean; so because SoX uses a 32-bit internal routine (regardless of the *actual* source being PDM, it uses 32-bit PCM internally), and you request 16-bit, this is why it dithers?
6
FLAC / Re: SACD to FLAC
Last post by Wombat -
I had to include the "-D" parameter to stop SoX from dithering; I'm not sure why it was automatically doing this. Maybe it's better? I'm not too sure.
SoX does dither when going to 16bit because it is common practise and not because it is bad. If you ask mathematical skilled people they even recommend 24bit to be dithered when coming from the 32bit integer SoX routines.
9
FLAC / Re: SACD to FLAC
Last post by blurry_light -
What version are you running?
https://sourceforge.net/projects/sox/files/sox/14.4.2/sox-14.4.2-win32.zip

okay so from reading another thread:
https://www.computeraudiophile.com/forums/topic/38313-converting-dsd-to-pcm/

Do I have to install the DSD patches? I'm running windows and trying to figure out what files from the following site to download and where to install/place them:
A while back Mans Rullgard added support to SoX for DSD resampling. It applies the SoX resampling to 1bit DSD directly. https://github.com/mansr/sox



A cursory glance at that computeraudiophile thread shows that someone found this link from which the file sox-dsd-win32-MSVC.zip can be downloaded. I downloaded a DSD64 (which I believe is the kind of encoding SACD's use; correct me if I am mistaken) file from here and managed to convert it to FLAC with the included SoX.exe executable included in the ZIP file (extract all of the compressed file first).

I used the following batch file in Windows 10 with the executable in question:

Code: [Select]
for %%a in ("YourInputFolderHere\*.dsf") do sox -V3 -S -D "%%a" -b 16 "YourOutputFolderHere\%%~na.flac" rate -v 44100
pause

I had to include the "-D" parameter to stop SoX from dithering; I'm not sure why it was automatically doing this. Maybe it's better? I'm not too sure.

Anyway, this is if you want to encode it in standard CDDA quality (16-bit stereo, 44.1kHz). You can change the bit depth and sampling frequency to whatever you want the FLAC output to be.
SimplePortal 1.0.0 RC1 © 2008-2018