I'm trying to play some music in my scenario by looping short MP3 files, but there's a big delay between each looped sound (like half a second). There is no delay in the actual file; I checked. Here's my code:
Any way to get it to loop with no delay?
Thanks. :D
public class Music extends Actor { private GreenfootSound bass; private GreenfootSound drums; public Music() { bass = new GreenfootSound("bass.mp3"); drums = new GreenfootSound("drums.mp3"); } public void act() { bass.playLoop(); drums.playLoop(); } }