Audio conversion into WAV and settings for a WAV conversion tool

WAV Converter: Turn an Existing Recording Into PCM Audio

You need a WAV file for an editor, game project, or delivery, but your recording is an MP3. A tool that converts audio into WAV can create a new local file with the requested settings. The conversion to WAV changes the file format; it does not recover sound removed when the MP3 was encoded.

Convert to WAV with a local command

FFmpeg is a command-line program that can read many audio formats and write WAV. Install a build for your operating system, then open Terminal on macOS or Linux, or PowerShell on Windows. Run ffmpeg -version to confirm the command is available. If it is not recognized, install the program or add its executable folder to your system’s PATH.

Put the source file in a folder you can find. Open a terminal in that folder, or navigate to it with cd. To convert an audio file to WAV for a project, choose its required rate, depth, and channels. For a file named input.mp3, use:

ffmpeg -i "input.mp3" -vn -c:a pcm_s16le -ar 44100 -ac 2 "output.wav"

This command tells the WAV converter to read the MP3, omit video, and write 16-bit PCM audio at 44,100 samples per second with two channels. Replace the input name with the real filename and extension. Keep the quotation marks if a name contains spaces. Choose a new output name so the original remains available.

Press Enter and wait for the command to finish. FFmpeg prints progress and either reports an error or returns to the prompt. It may ask before replacing an existing output file; choose a different name if that file must be kept. The FFmpeg documentation describes -i, codec selection, -vn, -ar, and -ac. The .wav output name selects the WAV container, while pcm_s16le specifies signed 16-bit little-endian PCM.

Choose settings for the destination

WAV is a container: it can hold audio encoded in different ways. PCM stores uncompressed samples, making it a common choice for editing and interchange. A .wav extension alone does not prove that a file contains the PCM type a recipient requested. Set the audio converter to WAV output and select the encoding as well.

Three settings affect the result:

  • Sample rate is the number of audio samples taken per second. 44100 means 44.1 kHz; 48000 means 48 kHz. Use the rate required by the destination, or retain the source rate when there is no reason to change it.
  • Bit depth describes the precision of each PCM sample. The example uses 16-bit PCM. For a destination requesting 24-bit integer PCM, replace pcm_s16le with pcm_s24le.
  • Channels describe separate audio signals. -ac 2 requests stereo; -ac 1 requests mono. Converting a stereo mix to mono combines channels, so listen for changes in the balance.

To preserve the input’s sample rate and channel count, remove -ar 44100 -ac 2 from the example. FFmpeg documents those input-derived defaults for output audio. This can avoid an unnecessary resample or channel conversion. It does not change the selected 16-bit encoding.

Converting audio to WAV at a higher rate or depth than the source creates a file with those settings, not new recording detail. Likewise, a mono source does not acquire a true stereo recording merely because the output has two channels. When a project supplies specifications, match those rather than choosing the largest numbers on offer.

Use an editor if a visual route is easier

An audio editor can perform the same task without typing a command. In Audacity, open the recording, choose File → Export Audio, select WAV, then choose the requested sample rate, channel setting, and encoding. The Audacity WAV export guide identifies the format and encoding controls. To convert to .wav in the editor, save under a new filename and wait for the export to complete.

A WAV audio converter may offer several WAV encodings. For the same result as the command, select signed 16-bit PCM, 44,100 Hz, and stereo. If the destination requests mono or 48,000 Hz, select those instead. Importing a file into an editor does not by itself create the deliverable: the export step writes the new file.

Before you convert the file to WAV, note its original duration and whether it is mono or stereo. Afterward, compare the new file with the source. This catches an accidental selection export, a missing channel, or the wrong source file before it reaches a project timeline.

Inspect and listen to the result

FFmpeg builds commonly include ffprobe, a companion inspection tool. Run the following in the folder containing the output:

ffprobe -v error -select_streams a:0 -show_entries stream=codec_name,sample_rate,channels,bits_per_sample:format=duration -of default=noprint_wrappers=1 "output.wav"

For the example, look for codec_name=pcm_s16le, sample_rate=44100, channels=2, and bits_per_sample=16. Duration is reported in seconds. Compare it with the source’s duration using the same command with the input filename. Minor differences can arise from encoded source timing; a large difference or missing ending deserves investigation. The ffprobe documentation explains stream selection and the displayed fields.

Then play the beginning, middle, and end of the WAV. Listen for silence, clipping, an unexpected channel balance, or a cut-off ending. A metadata report can verify settings, but it cannot tell whether the intended performance is audible. If possible, import the result into the application that requested it; that tests the actual handoff.

Fix the common failures

If the command cannot find the input, check the current folder and spelling, including the extension. A full path inside quotes can remove ambiguity. If the program reports that an output cannot be written, choose a folder where you have permission and a fresh filename. If the result is silent, confirm that the original plays and that the intended audio stream was selected; a video file can contain more than one audio track.

If the WAV is larger than the MP3, that is expected for uncompressed PCM. Reducing channels or changing format specifications solely to shrink it may make it unsuitable for the destination. Confirm the required format first. A WAV conversion writes decoded audio as PCM using the selected settings; it cannot reverse the information loss from an earlier lossy encode.

Now choose one short recording, convert to WAV using the command or editor, and compare the exported file’s settings and playback with the original.

More From Author

Impressionist paintings and famous impressionism examples

Impressionist Paintings: A Journey Through Color and Light