How to convert WAV files of some frequency to 44100 Hertz?

I'm using Source Filmmaker, and need to convert an audio file I have to 44100 Hertz, otherwise SFM will not accept it.

I believe the frequency of the file is less than 44100 Hertz, and therefore will increase in size as a result of conversion (it's a sound file from CNC RA2, if that's relevant). I would like to convert the file directly, so as to reduce quality loss, and converting to an MP3 and back is a last resort.

4 Answers

With ffmpeg:

ffmpeg -i input.wav -ar 44100 output.wav 

There's really no need to convert to MP3 as an intermediate format.

0

Using SoX:

sox -S input.wav output.wav rate -L -s 44100 

If you are making Red-Book Audio CDs use this command:

sox -S input.wav output.wav channels 2 rate -L -s 44100 

You can have a look at Audacity ().

It's a simple audio editing software which will allow you to change this rate.

  • Import your file in audacity (File -> Open)
  • At the head of the track, clicking the arrow (on top of mute button) will open a menu, in which you can set the rate to whatever you need.
  • Then export it (File -> Export), and select your format. Select Other uncompressed files if you need 24 or 32bits WAV, the Options button will allow you to set it.

You can use Audacity: open your file, change the project rate, and export as WAV.

enter image description here

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like