If you want repetitive music, use: music.setLooping(true); after music.play();