Post Reply 
Upsampling MQA files to original resolution with sox
14-05-2020, 12:57
Post: #25
RE: Upsampling MQA files to original resolution with sox
(14-05-2020 11:39)Alandbush Wrote:  
(14-05-2020 05:40)granosalis Wrote:  
(14-05-2020 00:52)Alandbush Wrote:  The earlier stated sox command to upsample MQA (see below) is no longer supported, assuming it was correct initially.

sox -S input.mqa.flac output.flac -vsM 352800

For sox 14.4.2 the command is as follows:-

sox -S input.mqa.flac output.flac rate -v -M 352800

where 352800 is the original sampling frequency (tag ORFS) of the MQA file.
Thanks Alan,
I did it, but the output files is 16bit. Is there any way to produce a 24bit file?
if I put -b 24 the file becomes unlistenable.
Giuseppe

I've tried the following command successfully on a 16bit MQA/CD track downloaded from 2L. It appears 'listenable'.

sox -S input.mqa.flac -b 24 output.flac rate -v -s -M 352800

nb - I have also introduced an extra override (-s 'steep filter'). If only because the command now looks very similar to the originally posted command.

I have a clip warning and the result of the trasnformation is just noise.

C:\Program Files (x86)\sox-14-4-2>sox -S -b 24 "C:\Users\giuse\home\02 traccia02.wav" C:\Users\giuse\home\Traccia02.flac rate -v -s -M 352.8k
sox WARN wav: User options overriding size read in .wav header

Input File : 'C:\Users\giuse\home\02 Traccia02.wav'
Channels : 2
Sample Rate : 44100
Precision : 24-bit
Duration : 00:02:53.34 = 7644392 samples = 13000.7 CDDA sectors
File Size : 45.9M
Bit Rate : 2.12M
Sample Encoding: 24-bit Signed Integer PCM

In:100% 00:02:53.34 [00:00:00.00] Out:61.2M [ -==| ] Hd:0.0 Clip:7.31M
sox WARN rate: rate clipped 4871455 samples; decrease volume?
sox WARN sox: `C:\Users\giuse\home\Traccia02.flac' output clipped 2437165 samples; decrease volume?
Done.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Upsampling MQA files to original resolution with sox - granosalis - 14-05-2020 12:57

Forum Jump:


User(s) browsing this thread: 1 Guest(s)