I've created a WAV file that loops perfectly, as verified by using Loop Play in the Audacity audio editor. I want to keep the file small and have my media player loop it rather than having the file repeat its content over and over. I used to use Media Player Classic for this, but I just tried with the latest version and it pauses slightly before looping (just like standard WMP, VLC, and other clients I've tried). Are there any media players that will do this properly with no intervening gap? Opening it in Audacity and manually starting a loop is more hassle than I'm interested in doing every time I want to listen.
Foobar2000 should support gapless playback - its supposed to work for lossless tracks, and WAV is, well not compressed, so is as lossless as they come. You'll likely need to create a playlist with a single track, and pick "Repeat(Track)" under Playback. You might also consider converting it to flac and playing around with metadata as suggested here, if that dosen't work
I think you may have inadvertently answered your own question. You say an older version of Media Player Classic worked the way you like. Well, Media Player Classic is a portable app, meaning you can use it without installing anything. So get the version you used to use, and use that for that file.
If that doesn't work, then the problem is either something on your system that has changed, or you've misremembered what app you previously used.
Mplayer is a media player for Linux and Windows that does gapless playback (no silence between tracks) including in loop mode. On the command line this is achieved with the
-loop 0 option (infinite loop).
MPlayer is a movie player which runs on many systems (see the documentation). It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5, WMV and even H.264 movies.
If you want a graphical interface for Mplayer, check SMplayer
Assuming that you need this to loop a small file and that you are not worried about good looking GUI why not:
- Download and install Python.
- Download and install PyAudio.
- Write a simple script that:
- reads the whole file into RAM and Initialise the Audio port for output and
- in a blocking loop write the data you read above to the Audio Output
Or even - if you are on windows:
- Download and install Python
Use a script like:
import winsound as w
data = open.("YourWavFile.wav", "rb").read(-1)
w.PlaySound(data, w.SND_MEMORY | w.SND_NOSTOP)
You can even do this directly in the python console and if you need a GUI you could add one using a variety of libraries.