However, it is possible to do so manually by making a copy of the music, manually speeding it up in your audio program of choice (such as Audacity), and then using Lua to check the value of the timer and use Audio.MusicChange to swap the music for the sped up version.
Yeah, I figured that much out. I'm just having trouble with the code part. I tried using the following code I'm my lua level file:
Code: Select all
function onStart()
Timer.activate(115)
if Timer.getValue(Timer) == (99) then
Audio.MusicChange("Hurry Up.ogg")
end
end
But it didn't work as w..., well, it didn't worked at all. Am I coding something wrong? Any tips you can give me to make it work?
Btw, thanks for answering so quickly =D