Sample Rate Conversion and bit reduction - when and how with software? - Page 3 - Gearslutz.com

Gearslutz.com

All Advertisers
Go Back   Gearslutz.com > The Forums > Mastering forum


Sample Rate Conversion and bit reduction - when and how with software?

New Reply New Reply Thread Tools Search this Thread
Old 11th September 2009   #61
Lives for gear
 
MattGray's Avatar
 
Joined: Aug 2005
Location: Brisbane, Australia
Posts: 1,233

Verified Member
Quote:
Originally Posted by adamlloyd83 View Post
But Izotope outputs a 32-bit float file.
Are you talking about iZotope RX Advanced or AE's WaveEditor or SampleManager?

Quote:
Quite frankly I don't know why it wasn't made to just return the file to the source bit depth after resampling, that's annoying to me, unless I'm missing something. It isn't a problem for downsampling, because we usually dither at the last step anyway, but upsampling is a different story.
What Alexey (one of the very talented programmers for iZotope) was trying to explain to you is that iZotope's SRC does it's DSP calculations at 64 bit floating point internally. All SRC's (and all native plug-ins in general) are done at either 32bit floating point (most common) or 64bit floating point so you can not avoid your audio increasing in wordlength if you want to upsample to 96kHz.

Quote:
So..."Are there any (high quality) SRC programs that will upsample 24 bit files without converting them to 32 bit float files that need dithering back to 24 bits?
No... refer to the info above. However a lot of Native DAW's will import & playback 32bit floating point files directly (with the exception of Pro Tools) which would save you dithering & requantizing to 24bit fixed point again. What DAW are you using?

Mind you one truncation from 64bit or 32bit float to 24bit isn't likely to be audible as it's truncation errors/distortion will be below the noise floor of even the best D/A converters unless you heavily process or raise the gain dramatically post the initial truncation.

Matt
__________________



MattGray is offline   Reply With Quote
Old 16th September 2009   #62
Gear maniac
 
adamlloyd's Avatar
 
Joined: Jun 2007
Location: los angeles
Posts: 283

Quote:
Originally Posted by MattGray View Post
Are you talking about iZotope RX Advanced or AE's WaveEditor or SampleManager?



What Alexey (one of the very talented programmers for iZotope) was trying to explain to you is that iZotope's SRC does it's DSP calculations at 64 bit floating point internally. All SRC's (and all native plug-ins in general) are done at either 32bit floating point (most common) or 64bit floating point so you can not avoid your audio increasing in wordlength if you want to upsample to 96kHz.



No... refer to the info above. However a lot of Native DAW's will import & playback 32bit floating point files directly (with the exception of Pro Tools) which would save you dithering & requantizing to 24bit fixed point again. What DAW are you using?

Mind you one truncation from 64bit or 32bit float to 24bit isn't likely to be audible as it's truncation errors/distortion will be below the noise floor of even the best D/A converters unless you heavily process or raise the gain dramatically post the initial truncation.

Matt
Hey Matt..

Ahh, yes I tried using RX Advanced. I tried truncating, and the tracks sounded fine at first when importing them to a 96k session. But after mixing and mastering the song, the end result just didn't sound as smooth to the ears (perhaps my imagination, I'm not sure). I assumed it was the truncation.

I am a PTLE guy (for now... we'll see for how long), so unfortunately I need 24-bit files. It sounds like Wave Editor might do the trick because it works at 64-bits and can return the file to it's original bit depth without problems (from what I understand). I would have to move all the files to my mac (production sys is on PC) to upsample, but that's not a big deal.

Do you know where the distortion occurs when "truncating" the 64-bit process back to a 24-bit file? I'm assuming it's way way down there. I've actually never thought of 64-bit process > 24-bit as truncation in the classic, nasty sense...

Thanks!
adamlloyd is offline   Reply With Quote
Old 13th October 2009   #63
Lives for gear
 
Joined: Mar 2008
Location: Sweden
Posts: 3,960

Has anyone used SoX on a Mac? I'm scratching my head trying to make it work on a MBP.

I have been able to use it with a wrapper (SoX Wrap) but it's not updated since 2005 and there are some limitations in settings of dither and the SRC parameters.


/Peter
Audiop is offline   Reply With Quote
Old 13th October 2009   #64
jdg
Lives for gear
 
jdg's Avatar
 
Joined: Aug 2005
Location: seattle, WA
Posts: 2,540

Verified Member
Quote:
Originally Posted by Audiop View Post
Has anyone used SoX on a Mac? I'm scratching my head trying to make it work on a MBP.

I have been able to use it with a wrapper (SoX Wrap) but it's not updated since 2005 and there are some limitations in settings of dither and the SRC parameters.


/Peter
yah, what do you need it to do?
i can make a simple front end for one or two of its many "tricks"

just sample rate convert?
__________________
nothing helps "suck", not even analog

panicStudios - mastering in seattle
jdg is offline   Reply With Quote
Old 13th October 2009   #65
Lives for gear
 
Joined: Mar 2008
Location: Sweden
Posts: 3,960

@jdg

I want to SRC 24bit fixed and 32bit float @ 88.2-192kS/s down to 44.1kS/s with same wordlength as input and also the option to dither down to 16bit with TPDF and the shaped dither called "low-shibata" according to SoX.

This I want to do with linear phase VHQ.


If I can only have one batch-file or similar I would like LP VHQ down to 44.1kS/s, no dither.

Where do I send the check? :-)

Thanks a lot man for even consider this. thumbsup


/Peter
Audiop is offline   Reply With Quote
Old 14th October 2009   #66
Lives for gear
 
Joined: Oct 2002
Location: Suffern, NY
Posts: 509

Quote:
Originally Posted by Bob Olhsson View Post
NEVER ASSUME audio software developers or audio manufacturers know what they are doing! It simply doesn't pay enough to attract the best engineering talent.
Ha! So true.

Take for example the pathetic SRC in Protools.
speerchucker is offline   Reply With Quote
Old 13th May 2010   #67
Gear nut
 
Joined: Dec 2008
Location: Norway
Posts: 122

SoX SRC Mac OSX Script

I made my first script ever, a simple script for using SoX for SRC under Mac OSX.
I've used the the VHQ Linear Phase parameters in this example converting from whatever to 44.1 kHz.

Download latest SoX and copy the main sox file to your root/bin directory (hidden).
Copy and paste the script (without the ---) into e.g. BBEdit and save the file named e.g. "soxsrc44.command" (without the " of course).
Copy this .command-file to the directory where you have the files you want to convert and run it! (I guess you also can put the main sox file here too if you did not put it in your root/bin dir)
The script does not delete any original files. Just adds "_44kHz" to the file name.

Note: The Script does not seem to handle directory path names with spaces. If you have a dir named "Audio Files" you got to name it "AudioFiles".

It should be easy editing the script to do what you want, e.g. dithering etc., simply by changing or adding a few parameters in the:

"sox "$i" "$val\_44kHz.wav" rate -v -s 44.1k"

To convert to 48 kHz VHQ Minimum Phase, simply change to:

sox "$i" "$val\_48kHz.wav" rate -v -s -M 48k

Hope it is useful :-)

----------------------
#!/bin/bash

cd `dirname $0`

for i in *.wav; do
val=${i%.wav}

echo "** Converting wav to 44.1 kHz (using VHQ Linear Phase)"

sox "$i" "$val\_44kHz.wav" rate -v -s 44.1k

echo "** $i conversion complete."
done
----------------------
Noooway is offline   Reply With Quote
Old 13th May 2010   #68
Lives for gear
 
Cellotron's Avatar
 
Joined: Aug 2004
Location: Brooklyn, New York
Posts: 3,638

Verified Member
Quote:
Originally Posted by speerchucker View Post
Ha! So true.

Take for example the pathetic SRC in Protools.
Dunno - the most recent version actually tests out pretty decently in the comparisons up at http://scr.infinitewave.ca (which also confirms it's the same exact algorithm used in both HD 7.2 and LE 8.03). One that tests out surprisingly poorly is SADIE - hopefully the upcoming version 6 improves on this.

Best regards,
Steve Berson
Cellotron is offline   Reply With Quote
Old 29th September 2010   #69
Gear interested
 
Joined: Sep 2010
Location: caracas-venezuela
Posts: 3

alesis masterlink

some body has used the alesis masterlink... ?? some opinion?? maybe just as src copying the 24bit file exported from your daw ???... im thinkig that i can export from protools hd to desktop, do a cd with the data and use the alesis as src, doing another cd with the 16-44 and do the master in jam...
sorry for my english...
CARLOSNAHY is offline   Reply With Quote
Old 30th September 2010   #70
Lives for gear
 
dcollins's Avatar
 
Joined: Aug 2003
Location: Hollywood CA
Posts: 2,625

Verified Member
Quote:
Originally Posted by CARLOSNAHY View Post
some body has used the alesis masterlink... ?? some opinion?? maybe just as src copying the 24bit file exported from your daw ???... im thinkig that i can export from protools hd to desktop, do a cd with the data and use the alesis as src, doing another cd with the 16-44 and do the master in jam...
sorry for my english...
I would avoid any processing in the Masterlink. That thing has ten foot pole marks all over it.


DC
__________________
Dave Collins Mastering
www.collinsaudio.com
+1 323 467 5570
dcollins is offline   Reply With Quote
Old 30th September 2010   #71
DuX
Gear Head
 
DuX's Avatar
 
Joined: Jan 2007
Posts: 65

All I know is... to keep it simple, I keep everything in 96k or 88.2k/32bit FP format. It just feels so safe and the backup space is really not a problem these days, especially if you use Wavpack to compress such files. It's so easy to use them any time, edit it, whatever, without worrying about SRC or dither. You do what you have to do to it, SRC it to whatever the frequency you need and then dither/quantise it to whatever the bitdepth you need. Simple. And the main backup is always here to use it again...

Cheers!
DuX is online now   Reply With Quote
New Reply New Reply Submit Thread to Facebook Facebook  Submit Thread to Twitter Twitter  Submit Thread to LinkedIn LinkedIn 



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread starter Forum Replies Last Post
DITHERLESS SAMPLE AND BIT RATE CONVERSION SECRET dannywild Music computers 35 8th February 2011 06:38 AM
Sample rate conversion 44.1-48K, which software question Post Production forum! 30 9th June 2010 07:01 PM
Bit Rate Conversion DIY? edIT Mastering forum 4 23rd April 2007 11:45 PM
Bit-rate and sample-rate question... urobo[l]us Mastering forum 8 18th January 2007 10:19 PM
anybody know of a freeware bit rate/depth reduction plugin??? beat you down Rap + Hip Hop engineering & production 3 14th December 2006 07:47 PM


All times are GMT +1. The time now is 05:22 AM.

Home - Search Forum - Contact Us - Terms Of Use - Advertise on Gearslutz - All Advertisers - Archive - Top
 
 
Powered by vBulletin®
Gearslutz.com LTD - UK Company Number 7597610.
Registered Office - 35 Ballards Lane, London, N3 1XW.
Hosted by Nimbus Hosting.

SEO by vBSEO ©2010, Crawlability, Inc.