PDA

View Full Version : MP3 playing at slower speed inside flash


jez777
04-23-2007, 12:07 AM
At first I didn't believe it, but it seems to be happening and I don't see why. An mp3 called by a flash file is actually playing slower inside flash than it does on its own.

To see what I mean check these links, on the site, the mp3 starts playing automatically.


Mp3 called by flash (http://www.ambia.ca/rencomp/)


Mp3 on it's own (http://www.ambia.ca/rencomp/mp3/the-light-web-instrumental.mp3)

Inside flash it is actually playing a couple keys lower. Does anyone have any thoughts on to how this is happening or how to fix it?


In my code I am using this to play the mp3:

var snd:Sound = new Sound();

snd.loadSound({mp3 path and file name}, true);

snd.start();

Thanks if anyone can help!

jez777
04-25-2007, 12:52 AM
ahhh

I had a sample rrate of 48khz and that was the prob. Resampled to 44 and all is cool.