Change Music speed?


(Adam Edney) #1

Is it possible in fp to change the speed of the music, because i want the music to go faster when the player gets a special abilty for a few seconds. Can i do it?

Or would i need to have to music files one normal speed and one fast speed and then turn one off and turn another on?


(azrafe7) #2

You can take a look at this: http://mcfunkypants.com/2011/as3-pitch-shift-mp3/


(Ultima2876) #3

I’d recommend doing the latter method though. Doing it dynamically will introduce glitches and generally doesn’t sound fantastic. If you do it with a file you can make it sound great, be on pitch and not have any glitches, at the expense of filesize (though with good compression you’re likely talking about 600-800kb; a worthy tradeoff in my experience).