

I ran this on all the files and it seemed to clear whatever the second problem was with no apparent ill effects. foobar2000 has a utility called Rebuild MP3 stream. Next, it turns out the tracks off Homogenic Live had two problems–the padding information was missing/wrong and there was something else wrong with the files themselves so even once the padding information was correct there was still a gap. To fix this, go into Preference and toggle it on so it shows up in the context menu. You’ll need foobar2000 and Audacity, both freely available for Windows.įirst off, in foobar2000 we’ll use a utility–Edit mp3 gapless playback information–that is not visible by default. So if mp3 files aren’t playing gaplessly, here’s how you can find and embed that padding information manually. The amount of padding at the end of each file will be variable. For instance, files encoded by LAME should also have 576 samples of padding at the beginning. The amount of padding at the beginning of each file in an album should be consistent. Thus, the mp3 player needs two pieces of information to play a file gaplessly: how many samples of silence (padding) are at the beginning of the file, and how many samples after the beginning padding the player should play before skipping to the next file.

To get around this, metadata is embedded in the file to tell the mp3 player how long the padding is so it can skip playing the silence.

Mp3 is not an inherently gapless format–the files have silent padding both at the beginning and the end of the file. Fortunately, in both situations, this can be fixed. Usually, the quality of the tracks on Freegal is fine, but I downloaded Björk’s Homogenic Live and was disappointed by the gaps between tracks. For instance, my local library subscribes to Freegal, which allows me to download a few audio tracks every week for free. The second is that album makers don’t always get it right. One is that if you trim off the beginning of a file with an (excellent) program like mp3DirectCut, then the gapless information in the file will be wrong. I’ve found two scenarios where I’ve had to fix mp3 files. Other times, it is a problem with the files themselves. Sometimes, this can be a weakness of the mp3 player–Google Play Music, for instance, doesn’t reliably play gaplessly in my experience. I hate it when mp3 files that should play gaplessly instead pause for a brief instant when changing tracks.
