Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Sync Ok?



ok, so I have this Flash piece, in which I have a long (5 minute) audio track, that syncs along with the animation..
http://wewillnotbesilenced.cf.huffingtonpost.com
Sometimes the track synchs to the animation all the way through (and you can *easily* tell when its getting out of sync as the words exactly matched the audio when I authored it, and sometimes it seems to 'creep' out of sync.
What might cause this and what could be a possible remedy ?

It's set on the timeline to play the sound 'streaming' and as I say, it's all perfectly in time in the actual FLA.. :/

Thanks, each.

Mike.



DevShed > Flash Help
Posted on: March 2nd, 2006, 01:26 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

EITHER: Volume Control On Sync Streaming Problem OR Loading External MP3 Not In Sync
Hi - I'm having a bit of a nightmare at the moment and would if you could pass any advice on the following, as I have been stuck on this for sometime.

As part of a menu screen, I have a background movie which involves a series of animations etc. This movie plays in sync with the music. This all works fine and is quite effective.

However, it has come to my attention that some of the users sometimes wanted to adjust the volume or mute it altogether. I have done many examples of this before previously, but became stuck when I realised for the music, all I did was import the MP3, and then dragged it right onto the timeline. From this, there is no variable/instance/linkage created to control the volume using setVolume. I tried to give a linkage name but was not affecting the main sync streamed music on the timeline.

SO following this, I decided at the beginning of the preloader to load the MP3 externally and play it as a stream, however this does not sync with the movie and falls out of time with it.

So all I need is a push to where I should go with this one.

All I want is for a MP3 to play in sync with the movie and I can adjust the volume of it also via actionscript during the movie.



- Is there a command I can use to sync the streaming external MP3?
- Can I adjust the volume of the initial sync stream via the timeline

Any ideas on this would be extremely helpful.

Thank you in advance.

Paul C.

Re-sync Out Of Sync Live Streams
Hi Guys,

I'm testing an application I've created. It's basically a 2-way A/V chat, with a text chat application on there as well.

Each user publishes a live stream, which is recorded on the server and then resent back down to the other user.

I've been testing it locally and everything is fine, so I signed up to Influxis on their Nitrous plan to give it a test run over the Internet.

Each stream is publishing a 32Kbps video + 8Kbps audio stream. Each user has a fast broadband connection, with around a 140 ping to the server.

Over time, around 10 minutes or so, the live streams get quite far out of sync. It can take over 20 seconds for the stream to reach the other person, making a "live" chat quite useless.

If I stop and start the streams again, it brings everything back into line, so I'm considering this as a potential resolution.

I'd really like to know why this sort of thing occurs, how I can minimise it, and how to recover from it when it does happen.

Any help would be appreciated!

[CS3] Lip Sync Out Of Sync With Stage
I have a mouth that I'm animating with the approach detailed in this tute:

http://www.youtube.com/watch?v=5uh3jhbCPbw

ie. it's a Graphic symbol within a Graphic symbol.

I've noticed that my mouth animation keyframes on the mouth symbol don't always match the same frame on the stage. For example, I set a keyframe at frame 326 in the symbol, but back on the stage I see that change happen at frame 330.

All the other frames leading up to that are in sync, and all after it are out by the four frames. What did I do?

.SWF Not In Sync....?
I am making an itro movie for my site, when I play it everything works in time the way it should. However when I export it, it's a complete mess. I have two sizeable sound clips one starts IMMEDIATELY when the first ends, but when compiled theres a 3 second gap. Also all of the frames after a certain point are more than a second behind, and I've just noticed several are not there at all. Can anyone tell me what I'm doing wrong? I'm very new to flash so if you need more info please tell me what and I'll include it.
Thanks in advance,
ltcolpe

Lip Sync Way Off
I made a cartoon with characters lip synching. It looked fine in Flash but on the web, the lips don't match the words. On some computers, the animation seems to move in slow motion. This, too, is unintentional. I'm not sure what to tell you except I was sure to use symbols throughout.
To see the animation, go to atomicmonsters.com and click on the upper left icon, “b-movie rental”.
Thanks

Sync Help
Hi!

Need help with how to synchronize sound and animations with director 8.5

Is there a similar forum like this but for director ????

I could put this into a flash question also.

When you guys synchronize imges and effects with sound,, how do you do it?
Do you put markers in the sound file and then work from them??

I would like to work with animations based on the music, not the other way around.

All tips both on director and flash are welcome,, i really really need help on this topic.

Out Of Sync .......&%¤%&%¤#
Hi
I made a movie(not the point here but it involves a wookie!!)
and I can´t get his mouth in sync with the sound after a couple of seconds the sound cant´t keep up with the image.
I have imported all the sounds and are placing them in keyframes I also have a preloader running before the movie starts

thanks

Lip Sync
Hello everyone!
Iv got a movie with about 3 or 4 different recordings of my voice. I have the movie all syncronized in flash mx but when I preivew or test it it gets all out of sync. I asked a very simillar question yesterday and someone said change the sound from event to stream, and that helped the first voice recording get in sync, but when the movie moves on to the second recording (which is on another layer) it is miles out of sync and it is also set to stream. aswell as the next 1 or 2 recordings. The audio recordings are in .wav format, would it help if I converted them to .mp3? If not what should I do?
Maybe merge the audio together into one file, if that is possible. Please help if you can I really really appreciate it. Thanks

Ryan

BTW It is set to 30 fps, if that could be something to do with it?

Everything Should Be In Sync
i ´m in desperate need of help.

The first time the movie start by itself , that´s okej. But when i press the button to play it again the little square inside the bigger black square is not in synk anymore . how can i achieve that.? I want the little square to be in sync with big square please help........

Look at my fla. file

Lip Sync..
Note: This is the very first time I've ever used Flash MX.

I'm starting a new video to send to my old lady for her birthday. It's a picture I drew of me singing the Buddy Holly song True Love Ways.

Anyhow. I'm having trouble with the lip synching. I've got a variety of mouths, so there's no problem there. It's the actual synching that's giving me the trouble.

Is there any way to make the sound graph/layer size larger so I can see it better? 300% on 1152x864 is still too small.


Also, when I play the file in MX, I sing with the music..When I export the file to SWF, it's way out of synch.

http://extremeryno.psychopuffs.com/TrueLoveWays.swf <---Just the first few words...Demonstrated the problem, though.

Out Of Sync
I'm a VERY basic flash user, i've only had it a few weeks.
My cartoon run fine when i watch them IN flash, but as soon as i export them, to any format, the sound runs about a second out of sync.
How do i fix this?

Also, when i'm in flash, and i only want to view say, the first 5 seconds, i press play (that fine) i watch it (that fine), i press stop, (thats fine) but the sound continues to run right to the end, how do i stop the sound as well, if i only want to preview a few second?

Thanks

Lip Sync S/w
hi,
Is there any software for lip syncing available free on the net... where i just have to type the lines and the lip syncing is done for me?
I am preparing a movie(animated) for some non profit org.
thanx

Sync
how do I synchronize my animation to my audio

Lip Sync
are there any free tutorials for lip synching? i have looked around and can;t find any. if someone knows of one, plz post.

Out Of Sync
In Flash MX 2004, I use the live preview to quickly make sure mouths are in sync with the words they are saying. Though when I go to do a preview or export movie... they are out of sync. Does anyone have a clue to whats going on here?

Lip Sync
I am working on the latest No Lettuce Productions cartoon.
It's an animated feature that does have sound, in the form of talking and music.

When I was making the lips sync, I used Live Preview. But whenever I view it in any other way, be it after uploading or in .swf format, it doesn't match up.

It starts out dead on, and consistantly, every time I view it, the lips slowly get slower than the sound, and by the end of my movie, I'm a good 10 to 15 seconds off. This hasn't ever happened before, so I'm not sure how to fix it.

Lip Sync Help
I am trying to learn to lip sync with Flash MX and have almost got it using graphic symbols. I am using imported gif bitmaps. The head symbol gif graphics have transparency so I can layer it over a background. My problem is that when the movie plays the frames don't display only in the frame they are suppose to be on but appear on other nearby frames making the lip sync unusable. How can I make a frame only show up when it is suppose to and not show up when other nearby frames play? I have put a link to the fla below if you want to look at it.

Nevermind I found the answer.

NOt IN SynC.
i am trying to make a lfash movie with a soundtrack that goes along in the background.........and i want it to be in sync. BUT when i get in in sync on the timeline, then the timing is completely different when i press ctrl+enter to test movie, but when i hust press enter to watch it on stage its perfectly timed! WTF is happening here? and can anybody tell me how to fix it?

RSO Sync
hi i currently have a timer on a flash page which lags badly if i try to use a remote shared object to store and sync it....I know that isn't clear so below are the user and .swf actions which i'm trying to accomodate.

1. user opens up flash page which contains the timer/clock.
2. user closes the browser window.
3. user opens a new browser window and opens flash page which contains the timer/clock
4. the timer doesn't lag and has the time same time on it as when the user closed the browser window and is running.

I'm willing to pay if somebody can accomplish this project or if you are just willing to take on the project for nothing.
I will provide the timer code if needed.

[F8] Lip Sync
[font=Comic Sans MS]I am about to make a animated flash series with some little characters voiced by my mates but, i need a way to sync the lips of the characters with a automatic script so I can place the script in with a sound file and the script will do the rest. I have searched many places for a answer but they are always explaining in depth mouth move-meant (I am only animating faces witch will be a inch at max!) or telling you to do it your self the slow way.
The must be an easier way!!
Please help me!
If i find a solustion i will put a text link on my site for yor site (first-come first serve)[/FONT]
E-mail me

What Is The Best Way To Sync?
hi all,

i m creating a presentation having text, animation and associated narration sound.

the problem is where the file becomes too large (around 10000 frames) or too complex (with complex graphics and layers).

i hav tried out both methods: timeline streaming sound and actionscript.

while using actionscript i cutted the bit sound into smaller clips and linked them using code:


ActionScript Code:
_root.speechName = 1;
var pageSound = new Sound(this);
pageSound.attachSound("speech01");
pageSound.start(0);
pageSound.onSoundComplete = function() {
    gotoAndPlay("speech02");
};

where sounds and related frames have same label and linkage id.

it works well but animation jumps at the end of sound as sound clip completes before animation.

secondlly, if i use streaming sound on timeline, the complex animation tends to be jerky. It seems that some frames skips out, but the narration syncs seamlesslly with other animations.

however, i can't reduce the size of fla as per my client and it will be published on web.

can anyone help me to solve this problem...and give me idea about other methods they are knowing to sync animations properly in such a situation.

thnx in advance!

regards,
sushil

Sync Is Not Right
I created a tightly syncronized Flash presentation. It plays back great from Flash. When published and viewed, even locally, the timing is lagging.

What can I do to restore my precise timing?

Thanks

V-sync?
Hi,

is there any way to make sure my animations run within the vsync to
avoid flickering?

TIA

Help, Out Of Sync...
I made a flash movie and when I play in it's published versions the movie is out of sync with the audio.

I was just wondering if that's because my comp is so very slow, or do I need to tweak the movie in order to have it play the way I desire it?

If it's just my comp than I won't worry about it, but if all flash, or flash 5 to be more exact, plays this way, than I'd like to tweak it so it'll play properly.

I know how to tweak it to get it to play right, I just need to know if it's my computer or the published versions of flash.

Any help you can give would be great. Thanks for your time.

BPM Sync
Hi All,

Just wondering if anyone here has had any experience with BPM syncing animations using as3? This is as far as I have got so far. Any suggestions as to how to improve this, or links to some good tutorials would be greatly appreciated.

Thanks

/*

- Create an FLA and place lines at every 50px mark on the y axis starting at 100px

- Also you need a click track done in a program like reason or fruity loops with the
linkage Record1 in your library

*/

stop ();

import flash.media.*;
import flash.display.*;
import flash.events.*;
import flash.utils.Timer;
import flash.events.TimerEvent;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.setTimeout;

var bpm:Number = 96;
var minute:Number = 60000;
var beatMS:Number = minute / bpm;
var barMS:Number = (beatMS * 4);
var ballList:Array = [];
var i:int;
var t:Timer
var rec1:Sound = new Record1 as Sound;

createBalls ();

t = new Timer(beatMS,999);
t.start ();

var isPlaying:Boolean = false;

t.addEventListener (TimerEvent.TIMER,updateTimer);
t.addEventListener (TimerEvent.TIMER_COMPLETE,resetTimer);

function createBalls () {

for (i = 0; i < 5; i++) {

var balls:Sprite = this['ball'+i] as Sprite;
balls = new Sprite();
balls.graphics.beginFill (0xff0000,1.0);
balls.graphics.drawCircle (10,(barMS/100) * i,5);
balls.y -= (barMS/100)
balls.graphics.endFill ();
addChild (balls);
ballList.push (balls);
}
}
function updateTimer (event:TimerEvent):void {

if (!isPlaying) {

isPlaying = true;
rec1.play (0,999);

}
for (i = 0; i < ballList.length; i++) {

ballList[i].y += (barMS/ 100);

}
event.updateAfterEvent ();
}
function resetTimer (event:TimerEvent):void {

t.reset ();
event.updateAfterEvent ();
}

Lip-Sync
I was wondering if there's a lip-syncing program out there (that can export to flash) that doesn't have shareware restrictions on it (such as length of audio file, etc) that I can easily target sound files to within a larger animation, and also have some customizability over the size/style of the mouths, etc. Thanks.

Sync 1.0
Well, I just finished my most recent project. A simple tool that allows you to synchronize your remote application with your local one. Fairly handy for quickly updating design changes or minute hot-fixes.

Read my post to find out more or download the source code.

Lip Sync
What is the best way to animate a lip sync except using magpie which isn't freeware so i can't export the god **** thing. Any suggestions?

Help, Out Of Sync...
I made a flash movie and when I play in it's published versions the movie is out of sync with the audio.

I was just wondering if that's because my comp is so very slow, or do I need to tweak the movie in order to have it play the way I desire it?

If it's just my comp than I won't worry about it, but if all flash, or flash 5 to be more exact, plays this way, than I'd like to tweak it so it'll play properly.

I know how to tweak it to get it to play right, I just need to know if it's my computer or the published versions of flash.

Any help you can give would be great. Thanks for your time.

AVI Sync
so.

i create backing tracks/video synced with audio in flash (like basic kareoke and a metronome).

anyway, when outputted as a .swf they are all good.

however now i use my iPod at gigs and export the flash file as an AVI file then convert it to an MP4 file and the audio video is all out of sync.

i use different frame rates (including decimal points) - that might be the cause.  any idea??

joel

BEST Way To Sync A FLV And A SWF
Well, after going over a bunch of documentation and doing some tests, I'm curious what the masses say.

Even tho MacroMedia doesn't recommend it, I seem to think that the best way is to embed the FLV directly into the SWF. Then I can just match the movie directly in the timeline. I don't seem to ever encounter the audio/video sync issues that MM mentions. But it makes my eomployers a bit jumpy so I have to think of another way.


I could load the FLV and SWF seperately and have them start at the same time. But then they can totally get out of sync. So then I thought I'd use netStream and cuePoints, but it seems to me that I'd end up having ALOT of cuepoints.

I see stuff like this:

http://www.macromedia.com/platform/

and I can see that the animation on the left is it's own SWF. But when I move the slider around I can jump to almost any point on that timeline. Are they just using TONS of cuePoints? Am I missing something simple here?

Any thoughts would be appreciated.

Thanks,
Chenzo

Sync Of Equalizer
Hi everyone
I have created a equalizer to play when a song is playing. I would like to know if there is anyway to have it in sync with the music as you would see on a regular stereo. Thanks for the help

Sync Sound
Why does the sound get dirty/noisy when I select Sync option? With Event/Start modes everything works fine. Spent all day trying to figure out why flash lugs when in Sync mode. Please, help!

Does MX Have Audio Sync Bug ?
In the FLIX forum one of the Wildform people says that MX has a problem syncing audio on export FLV video....

http://board.flashkit.com/board/show...hreadid=324677

Is this true ? My main for upgrading would be to import FLV video without using "loadmovie", but if MX can't even play in sync then there's not much point.

Is audio sync a recognised problem ?

thanks

[b]sound Sync[/b]
I want it so that when the movie stops, the music stops. How do I go about this?

Sync. Music
how do i make objects syncronize with certain beats of music, or even music in general. like a sound bar, or speakers, et.

Audio Sync?
Is it possible to sync up the end of a 10 sec intro to the beginning of a loop??

I just placed them end to end on the time line, but it varys too much, usually with a few second gap:

Sync An Object
...anyone know how to sync an object to audio, like you would see in an mp3 player

Sync Issues
Hey all,

so i'm linking a bunch of swf's together in a large, cover file. some of the files are video(with audio) which i have synced up to another swf slideshow with rotating images. the video(with audio), after 'squeeze' are about 4 mb/each. the slideshows are about 700 k.

the main problem is that i can't seem to keep the slideshow and video in sync once inside the large cover file. i dont know if this has to do with file size or what. overall there are probably about 10 swf's, 2 per scene.

maybe a loader at the beginning of each scene, but i cant seem to get one to work with both the files in the scene.

any advice would be greatly appreciated.

thanks

Sound Sync
Hello!

I am having a bit of a problem with a flash intro with accompanying sound. I have recently designed the sounds and sounds effects based on the visuals of the intro. I have assigned certain sounds to certain symbols.

On my computer, the sound syncronisation is fine. On other computers (which may or may not have the same power as mine) the sound sync is noticably out.

The URL of the intro is www.londonbydesign.co.uk
Does any one have any rules of thumb that spring to mind?

Thanks a lot for any help

Robert Flack

Sound Sync
hello

how can i make sure that when i play an animation, sound will be correctly played on all machines?

Sound Out Of Sync
I have embedded a dialogue sound into a Flash movie I have created. The dialogue goes through en entire scene. Then the scene transfers to the next scene, and a new dialogue sound begins. I have all the animation on my computer synchronized to the dialogue, but when I play the Flash movie on another computer, the scenes end before the dialogue is over, and the entire movie gets out of sync. Is there a way to either publish the movie on one speed that runs the same on every computer? Or do I need to add some sort of actionscript at the end of the scene to tell it not to end until the dialogue sound is over?

How would I resolve this?

Sync Two Movies Together?
I was wondering if it was possible to have two independent flash movies and ensure that they play at exactly the same time. If you go to here you will see that I have to movies for the banner. right now they play pretty good together, but how can i be sure they will play together on a slower machine? Can this be done?

jared

Sound Out Of Sync Because Of Fps
Hey all,

I'm designing an intro for a gaming clan's website right now, and I've come across a little problem.

Watch it here: http://functioncore.net/intro_optimize.html

There's a sound near the end and it's rather long. It's sort of a "charging up" sound that when it ends, it's supposed to end precisely when the music beat kicks in. Instead, it will end a few seconds beforehand because my FPS of 30 cannot be met on any computer through a browser.

Obviously it's easy to sync when a sound starts to a frame, but when it ends? Not possible, is it?

Does anyone know of a workaround for this? Oddly enough, lowering the FPS to 20 doesn't even help this matter, and even more oddly, when I do 'Test Movie' in Flash and run it at a debug 'load' simulation to test the preloader, the same problem occurs.

I'm not really sure what's going on here, this is the first time I've actually worked extensively with sound in Flash, but any help would be greatly appreciated. Thanks!

Sound Sync-ing
Trying to import an mpg that has sound with it of people talking, cant seem to get it to synchronize. Tried upping the frame-rate and I cant get it spot on. Tried 3rd part software like Wildform, no-go. Tried seperating the mpg and the mp3 and still no go.

Answers anyone??

Cheers

Sync Problem
Im trying to finish my movie, but the sync always goes off at 1
part. Im using Flash Mx with 40fps.

Out-Of-Sync Sound
I have a problem. I'm trying to get a long sound file (1 minute WAV) to sync along with an animation. However, when I try to run it at 24kbps and test the movie, the WAV file starts several seconds too soon in spite of it's perfect placement on the timeline. And when I try it at any other kbps, it cuts out one second into the animation. Can anybody help me?

Copyright © 2005-08 www.BigResource.com, All rights reserved