|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| PC Based Computer music servers, crossovers, and equalization |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Custom Title
diyAudio Member
|
Hi Guys:
Using SOX to upsample in software (prefer to do it file level rather than asking the Behringer DEQ I use to do it), and want to include a normalization at -12dB. Going from flac 44.1/16 to 48/24. My command string is as follows: cd %~dp0 mkdir converted FOR %%A IN (%*) DO sox --buffer 32768 %%A -b 24 "converted/%%~nxA" gain -n -12 rate -v 48000 dither -f low-shibata pause Doesn't seem like I should lose anything with the dither (which I'm using purely for low-level artifact masking) or by tossing away a couple bits to get the attenuation (given the 8 padding bits). Seem okay?
__________________
I write for www.enjoythemusic.com in the DIY section. You may find yourself getting a preview of a project in-progress. Be warned! Last edited by badman; 8th February 2011 at 11:03 PM. Reason: increasing attenuation to add dither headroom |
|
|
|
|
#2 |
|
diyAudio Member
Join Date: Mar 2003
Location: Southwest, UK / York, UK / Edinburgh, UK
|
Hi badman,
I can't comment on SOX specifically, but so long as its a good resampler I think your use-case is reasonable. Does the output of your command sound alright? If so, it's probably fine. In terms of purity, you'll of course get quantisation noise at the 24th bit due to the processing. Given that you've resampled, the gain step is the least of your worries. In any case, dithering the output quantisation is definitely the right thing so you don't get distortion - I'd probably use flat TPDF dither with 24 bits, but some noise-shaping is probably fine too. However, if the resampler's internals use 32-bit floating-point, you'll get some extra distortion appearing on top of that when the signal amplitude is loud, so if you're a real purist you'll want to make sure that the processing is done at 64-bit floating-point before the output quantisation. It's almost certainly overkill, but "24-bit pure" is a nice, perfectly attainable performance level as far as DSP goes, and 32-bit floating-point doesn't provide it in all cases.
__________________
Wingfeather |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anyone hear this 32 bit/192Khz source ? | ashok | Digital Source | 2 | 25th October 2009 06:00 AM |
| Sorry a tad-bit off topic usb power source pinnout | shadiedog87 | Power Supplies | 4 | 10th December 2007 06:05 PM |
| 24 bit I2S source to 16 bit DAC? | chris719 | Digital Source | 5 | 18th June 2005 05:24 PM |
| Padded cone for time alignment | nuppe | Multi-Way | 12 | 23rd March 2004 12:08 PM |
| use digital attenuation to improve 16-bit CD playback on 24 bit DAC | capslock | Digital Source | 7 | 8th April 2002 11:18 PM |
| New To Site? | Need Help? |
| Page generated in 0.07885 seconds (75.84% PHP - 24.16% MySQL) with 10 queries |