Ok, results from next round of testing:
Running SOX from a batch file (outside dbpoweramp) works without issues. This is the output windows of the conversion:
Code:
D:\RF My Music\My Music Utilities\Tools\SOX\sox>sox -V3 1.flac 2.flac rate -v 44100
sox: SoX v14.4.2
sox INFO formats: detected file format type `flac'
Input File : '1.flac'
Channels : 2
Sample Rate : 176400
Precision : 24-bit
Duration : 00:14:50.05 = 157004042 samples ~ 66753.4 CDDA sectors
File Size : 532M
Bit Rate : 4.78M
Sample Encoding: 24-bit FLAC
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comments :
Title=Piano Concerto No.3 in D minor, Op.30: 1. Allegro ma non tanto
Album=++Janis, Byron
Artist=Rachmaninov, Sergei
Genre=Classical
ALBUMARTIST=Rachmaninov, Sergei
DATE=1991
TRACKNUMBER=01
sox INFO sox: Overwriting `2.flac'
sox INFO flac: encoding at 24 bits per sample
Output File : '2.flac'
Channels : 2
Sample Rate : 44100
Precision : 24-bit
Duration : 00:14:50.05 = 39251010 samples = 66753.4 CDDA sectors
Sample Encoding: 24-bit FLAC
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comments :
Title=Piano Concerto No.3 in D minor, Op.30: 1. Allegro ma non tanto
Album=++Janis, Byron
Artist=Rachmaninov, Sergei
Genre=Classical
ALBUMARTIST=Rachmaninov, Sergei
DATE=1991
TRACKNUMBER=01
sox INFO sox: effects chain: input 176400Hz 2 channels
sox INFO sox: effects chain: rate 44100Hz 2 channels
sox INFO sox: effects chain: output 44100Hz 2 channels
D:\RF My Music\My Music Utilities\Tools\SOX\sox>pause
Press any key to continue . . .
Note that SOX is able to directly decode and reencode FLAC.
I noted that the syntax for the target sampling rate is "rate" and not "--rate".
With this info, I tried again to use SOX as a DSP within Music Converter. The command line I used was:
- rate -v 44100
The file conversion ran, but the resulting wav file still had a samplerate of 176400.
Then I remembered something Daren (the developer of Xiklone) had told me. I put the sample rate of the WAV converter to 44100 instead of auto. Now the target file has a samplerate of 44100.
This is not useable for me, as I need to go FLAC -> resample -> FLAC. If I chose the FLAC converter, the target file remains at 176400. How do I solve this?