This content has been marked as final. Show 2 replies
sounds like a cool tutorial, haven't seen it though.
I think to synchronise the sound, what i do, is bring up the properties panel for the frame in which you wish to put the start of the sound, then where it says event, change that to stream.
hope thats wat u wanted
"crystal twister" <email@example.com> wrote in message news:firstname.lastname@example.org...
> Hi, I'd like to know if anyone could point me towards a tutorial that allows me
> to synchronize music with animation.
> A short time ago when surfing around for some cool things to do in flash I
> came accross a tutorial that had an image of a speaker in it. The speaker was
> tweened to enlarge in size and then decrease back to normal size.
> However the cool part about this tutorial was that the author showed a
> way in which the beat of the mp3 track was used to call up the animation.
> Therefore every time the beat was heard the speaker would bounce in/out in time
> with it, but, when the beat dissappeared in the track the speaker would sit
Because Flash can't read audio amplitude directly you must pre-process your audio to extract the amplitude (and audio spectrum data
if you want it) in another application. There are different programs that do that. The one that I use is Swift MP3 from
http://www.swift-tools.net/ The trial version lets you do the first 30 seconds of an audio track. The output swf contains the mp3
and a track of spectrum amplitude data. You can load and use the swf as it is or extract the spectrum data from the swf.