Loop a sound nicely

BlitzMax Forums/BlitzMax Beginners Area/Loop a sound nicely

How do I loop a sound, in this case a siren sound, so that there are no gaps. I tried just checking if the sound was still playing, and if not playing it again, but that leaves a gap sometimes.