Skip to main content

Topic: Can SoX/other freeware overwrite WAVs w/ resampling+normalised volume? (Read 1449 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • bennetng
  • [*][*][*][*][*]
Can SoX/other freeware overwrite WAVs w/ resampling+normalised volume?
I need to convert and overwrite all .wav files in a certain folder to 16-bit 48khz stereo with -15dBFS normalized peak volume. What command line value should I use? Thanks!

  • xnor
  • [*][*][*][*][*]
  • Developer
Can SoX/other freeware overwrite WAVs w/ resampling+normalised volume?
Reply #1
Try:

sox a.wav -b 16 b.wav rate 48000 gain -n -15
  • Last Edit: 18 July, 2013, 09:28:01 AM by xnor
"I hear it when I see it."

  • bennetng
  • [*][*][*][*][*]
Can SoX/other freeware overwrite WAVs w/ resampling+normalised volume?
Reply #2
Thanks for the code!