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 ...
user avatar
  • 7,219
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) ...
user avatar
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, ...
user avatar
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 ...
user avatar
  • 1,558
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 ...
user avatar
  • 8,091
6 votes
Accepted

Sine wave making no sound

Your sine has come out a couple of octaves too low, for some reason. Indeed it's infrasound, 6.6 Hz to be precise, which rather explains why you don't hear anything. A couple of ways you could have ...
user avatar
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....
user avatar
  • 121
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:...
user avatar
  • 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 ...
user avatar
  • 8,484
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 ...
user avatar
  • 1,264
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 ...
user avatar
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 ...
user avatar
  • 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
user avatar
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-...
user avatar
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 ...
user avatar
  • 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 ...
user avatar
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 ...
user avatar
  • 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. ...
user avatar
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/...
user avatar
  • 8,484
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: ...
user avatar
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.
user avatar
  • 303
2 votes

Can anyone offer examples of valid BWF files for study?

Don't think of it as the "header," since the bext chunk, like any other chunk, can be located at any point in the file. I've seen plenty of .wav files that have the bext chunk after the data chunk. ...
user avatar
  • 482
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 ...
user avatar
  • 2,733
2 votes
Accepted

Best quality encoding when exporting "8-bit 8kHz Mono WAV" sample in Audacity?

8-bit 8K isn't going to be great quality in any case, but WAV is as good as you can do. Straight uncompressed MS-format (RIFF) WAV is the most compatible format for interchange. There are two senses ...
user avatar
  • 1,721
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 ...
user avatar
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 ...
user avatar
  • 2,733
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 ...
user avatar
  • 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 ...
user avatar
  • 2,733
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 ...
user avatar
  • 5,845

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