The No.1 Website for Pro Audio
 Search This Thread  Search This Forum  Search Reviews  Search Gear Database  Search Synths for sale  Search Gearslutz Go Advanced
useful scripts: convert wavs to 10 11 12 13 bit
Old 7th September 2011
  #1
Gear Maniac
 
Martin78's Avatar
 

useful scripts: convert wavs to 10 11 12 13 bit

I made few useful scripts for converting wavs (16-32bit) to 10-13bits

windows only

please download and try

Convert samples to 10bit 11bit 12bit 13bit | Martin78.com
Old 7th September 2011
  #2
Gear Addict
Quote:
Originally Posted by Martin78 View Post
I made few useful scripts for converting wavs (16-32bit) to 10-13bits
This is awesome Martin. In my own experiments, I couldn't get SoX to convert to 12bits on OSX. When I tried there was no error but the OSX reported that the files were still 16bit. I'll try using the arguments out of your script when I get home.
Old 8th September 2011
  #3
Gear Maniac
 
Martin78's Avatar
 

here are commands

first, normalise sample and save to 16bit
Code:
sox.exe input.wav -b16 --no-dither output.wav norm
next decrease volume level to 12bit
Code:
sox.exe input.wav -b16 --no-dither output.wav vol 0.0625
next normalise level to max
Code:
sox.exe input.wav -b16 --no-dither output.wav norm
dithering must be off, this is very important
and its very important to work on 16bit files, do not miss -b16

vol levels:
10bit: 0.015625
11bit: 0.03125
12bit: 0.0625
13bit: 0.125

output file is 16bit, but with 10-13bit dynamic
just like real 10-13bit file

it works great, very good for drums
Old 8th September 2011
  #4
Gear Addict
I'd been attempting to use -b12 (and it does report an error)
I was looking for a method of creating real 12bit files to send via SDS to a 12bit sampler. I have other options, just thought this might work. Thanks for breaking down the arguements though!
Old 17th March 2016
  #5
Here for the gear
 

Quote:
Originally Posted by Martin78 View Post
here are commands

first, normalise sample and save to 16bit
Code:
sox.exe input.wav -b16 --no-dither output.wav norm
next decrease volume level to 12bit
Code:
sox.exe input.wav -b16 --no-dither output.wav vol 0.0625
next normalise level to max
Code:
sox.exe input.wav -b16 --no-dither output.wav norm
dithering must be off, this is very important
and its very important to work on 16bit files, do not miss -b16

vol levels:
10bit: 0.015625
11bit: 0.03125
12bit: 0.0625
13bit: 0.125

output file is 16bit, but with 10-13bit dynamic
just like real 10-13bit file

it works great, very good for drums
Sorry to bump this old thread but I'm a bit despaired. I like this batch script and tried to enhance it. Unfortunately I'm not very deep in scripting (aka clueless). I've read part of the SoX manual but it did not help. What I try to achieve: Convert to 12bit / 27500 Hz / pitch down an octave / filter @10khz
SoX seems capable to do these things (at least the manual say so) any ideas or knowledge to share?

Thanks in advance


Edit: Problem solved - managed it somehow even if do not sound how I hoped

Last edited by resistent; 17th March 2016 at 09:56 PM.. Reason: Problem solved
Post Reply

Welcome to the Gearslutz Pro Audio Community!

Registration benefits include:
  • The ability to reply to and create new discussions
  • Access to members-only giveaways & competitions
  • Interact with VIP industry experts in our guest Q&As
  • Access to members-only sub forum discussions
  • Access to members-only Chat Room
  • Get INSTANT ACCESS to the world's best private pro audio Classifieds for only USD $20/year
  • Promote your eBay auctions and Reverb.com listings for free
  • Remove this message!
You need an account to post a reply. Create a username and password below and an account will be created and your post entered.


 
 
Slide to join now Processing…
Thread Tools
Search this Thread
Search this Thread:

Advanced Search
Forum Jump
Forum Jump