Hot answers tagged

26 votes
Accepted

Does the .wav file created from a .mp3 file have better quality than the .mp3 file itself?

A WAV file has the potential to hold "more" or "better" data than an mp3. WAVs employ no compression, no loss; they are as close to an exact replica as it is possible to get. An mp3 employs lossy ...
  • 7,732
11 votes
Accepted

How do you compute the bitrate of a WAV file?

Here is how you calculate the constant bitrate (CBR) of uncompressed audio: Bits Per Second (bps) = Sample Rate (Hz) * Word Length (bits) * Channel Count Which for 44.1 KHz, 16 bit, 2 Ch. (stereo) ...
10 votes
Accepted

WAV file recorded with wrong header

The most direct, if somewhat "hands-dirty", way of doing this is to manipulate the header with a hex editor. There are two entries in the RIFF header that need to be modified: the sample rate itself, ...
8 votes

Does the .wav file created from a .mp3 file have better quality than the .mp3 file itself?

No. When you convert a file from .mp3 to .wav, no new information is added: there is no way to regenerate the information that was lost when you created the mp3. All the extra data in the .wav file is ...
  • 1,568
6 votes

WAV file recorded with wrong header

Very easy. Just use SoX: sox -r 44.1k infile.wav outfile.wav The -r 44.1k overrides the header information in infile.wav and will not perform any effects on the samples themselves. More info: sox....
  • 121
6 votes
Accepted

Volume treatment in WAV (PCM) file

If you want to be technically accurate, a sound file does not have a volume, it has a level. Volume can only exist when there is an actual speaker producing sound as that has a fixed SPL(sound ...
  • 8,122
5 votes

WAV file recorded with wrong header

After some more searching, I have found that ffmpeg is able to do this by converting the WAV to raw PCM format, and then converting back to WAV with the correct sample rate in the header. For example:...
  • 243
5 votes

Does the .wav file created from a .mp3 file have better quality than the .mp3 file itself?

MP3 is the 'colloquial' name for "MPEG 1 Layer 3" audio encoding. The purpose of mp3 encoding is to reduce the overall size of an audio data stream whilst maintaining an acceptable level of listening ...
  • 8,695
5 votes
Accepted

What is the best WAV encoding and why?

I assume that you export sound in order to import it somewhere else. This process has a lot of details and used to be done in the step called "mastering" in the old recording days. I'm no ...
  • 1,324
4 votes

Is there any tradeoff to get the best quality/file size ratio for mp3 conversion?

To get the best audio quality in your final lossy-eccoded audio file output at the smallest possible file size, you have to do 3 steps: sample rate convert from 96kHz to 44.1kHz, because the lossy ...
4 votes

Wav file matching

If you use or have access to a mac, Similarity should be able to help with this. The free version may be sufficient for your needs. From the site: Similarity rapidly scans your music collection ...
  • 305
4 votes

Wav file matching

How is your coding? You could put together this functionality using an acoustic fingerprint library such as http://acoustid.org/chromaprint
4 votes

Does the .wav file created from a .mp3 file have better quality than the .mp3 file itself?

In order to make sound, your computer must drive the speaker with a time-varying voltage. In order to create the time-varying voltage, the computer must send a sequence of numbers to a Digital-to-...
3 votes

WAV file recorded with wrong header

One way i do this, using Adobe Audition, is to "Open as" raw PCM data (one has to type an * in the name bar of the opening window to show all files), and then define the sample rate and mono/stereo ...
  • 51
3 votes

Is there a losslessly compressed audio file?

FLAC being the most popular one, there is a comprehensive list of lossless compression formats on Wikipedia: http://en.wikipedia.org/wiki/Lossless_compression#Audio Compressed files should be ...
3 votes
Accepted

Tool for creating a WAV given a function of time/sample

The first thing that comes to mind is a tool like Matlab (from the Matthworks). You can download a free trial, but you would have to learn some prograsmming (or Matlabs language). But I believe it ...
  • 101
3 votes

alternative to mp3

During the editing & collaboration phase, it's good to avoid lossy formats if you can. You might want to try FLAC, a lossless format that compresses audio files to about half the size of WAV. ...
3 votes

Can I recover an incomplete .wav file?

The problem you have is that the WAV header has not been created correctly. If you are working on a Mac then you can try this application which I wrote to fix broken WAV files. https://www.dropbox.com/...
  • 8,695
3 votes

How can WAV files cause any clipping red in DAW meters if floating point can represent much higher values than 24 bit?

Building on Tetsujin and ZaellixA responses: If your wav isn't itself clipped, its encoding (if samples are floating points or are integer numbers, it's bit depth...) may be missing or wrong in the ...
3 votes

How can WAV files cause any clipping red in DAW meters if floating point can represent much higher values than 24 bit?

0dBFS in floating format is a bit of a misnomer. It's not "full scale" in floating point, instead it's actually defined as the value 1. This is the value that when converted to fixed point ...
3 votes

GUID difference in R64 and WAV files

The two formats seem to be similar, and as the specification says the older wav-format is compatible with RF64. From what I can see on p 10, the GUID isn't the only thing that identifies the format: ...
2 votes

How can wav sample formats be predicted?

First step when reading audio data from a wav file is to parse the header, especially the 'fmt ' chunk, as described for example in the wikipedia page or on this page. The 'fmt ' chunk will give you ...
  • 2,784
2 votes

Why do mp3 files have a time delay when compared to wav files?

It has to do with the MP3 codec algorithm. I don't know the exact science behind it but it's something you have to deal with when using MP3's because it can't be prevented.
  • 303
2 votes

How to ensure uniform sound levels in multiple WAV files?

You are talking about perceived loudness. This is quite unlike peak level. What you can do is measure the perceived loudness for all your songs and then adjust the gain accordingly. The best way ...
2 votes
Accepted

Differences in WAV files?

To examine difference between files, an hexadecimal editor will be helpful. Most of them allow to display differences between two files. You can find one appropriate to your operating system. A good ...
  • 2,784
2 votes
Accepted

Normalizing many small WAV files?

I use Sound Forge for this kind of thing. It has a feature that lets you specify a list of processes to run your sounds through, parameters to use, file formats and locations to save to, etc. It will ...
  • 146
2 votes
Accepted

Artifacts when exporting sound as 8-bit WAV

Given that your input file is 44.1 kHz/32 bits/stereo file and your desired output is 22.050 kHz/8 bits/mono file, there are actually three processes that are involved in your request : resampling ...
  • 2,784
2 votes

alternative to mp3

While lossless compression like FLAC would solve your storage space issue, it is a heavy load on your CPU, so you may run into problems if your machine is at at all old. The usual recommended ...
  • 5,920
2 votes
Accepted

How can these wav/mpeg files be the exact same duration—down to the (apparent) millionth of a second?

Digital audio is sampled i.e. made up of discrete chunks, with each chunk representing a small sliver of time. So the duration will be quantized to multiples of 1/sampling frequency i.e. if sampling ...
  • 604

Only top scored, non community-wiki answers of a minimum length are eligible