Skip navigation
sasaraj
Currently Being Moderated

Synchronization

Jun 1, 2012 4:49 AM

Why does the synchronization of the sound and the animation disrupt after several animations with synchronized sound which go one after another.

I've used stream.

Im using flash cs4.


 
Replies
  • Currently Being Moderated
    Jun 1, 2012 5:55 AM   in reply to sasaraj

    As far as I know, if you want to synchronize with sound you need to import the sound into the timeline.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 1, 2012 7:10 AM   in reply to sasaraj

    Also remember that it's the animation that gets out of sync, not the audio.

    The reason I say that is because the audio MUST play at one and only one frequency... or in other words, the audio will have an exact length of time that it takes to play the sound. If you shorten that time in an attempt to match the animation, that's sort of like pushing the sound together, that increases the frequency and raises the pitch... making it sound like Alvin and the Chipmunks.

    On the other hand, if you streeeeetch out the sound over a longer period of time, decreasing the frequency, you looowweer the pitch.

    So knowing that sound must play back at only one rate (or frequency), you'll need to match the animation to the playback speed (frequency) of the audio, not the other way around.

    While it's often recommeded that you not embed video into the main timeline because of this same audio/video syncing problem ("audio gets out of sync"), I've had no problems with syncing the audio and video as long as I set the Flash doc frame rate to exactly match the original video Frame rate (29.97 frames per sec for mini-DV).

    Here's an example of a video embedded directly into the timeline, yet the audio stays in sync.

    http://www.cidigitalmedia.com/tutorials/vid_sync/vid_sync.html

    Now I realize you are not using video, but the principle is the same. Match the animation to the audio, not the other way around.

    This may mean that you need to play with the document frame rate to find the sweet spot where the audio and animation stay in sync. Test your .swf with higher and lower frame rates to see the effect. It may take some experimentaion but you should be able to greatly improve the sync.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 3, 2012 7:48 PM   in reply to sasaraj

    Looks like the animation is running too fast.... remember, you can't change the speed of the audio. It's the animation that's out of sync, not the audio.

    Did you try adjusting the Flash doc frame rate as I suggested? What were the results?

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 12, 2012 4:00 PM   in reply to sasaraj

    If you've read my first post about syncing, about all I could add is that it's very hard to match audio and video or animation.

    Since your first section syncs OK, have you tried putting each animation in it's own movie clip? And then work to sync audio and animation in the individual clip.... not over the entire time line, since any lag builds on the previous lag and compounds the problem.

    And remember, it's the animation that is out of sync, NOT the audio... which is often blamed for the problem.

    So when building the individual movie clips, lay down the audio track first and then match the animation to that... not the other way around.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points