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




Lip Synch Possible?



Hello people! this is my first post in the forums. I wanted to know if it's possible in flash 8 to detect whether a mp3 is sounding or not so I can put a mouth animation to a character dynamically thanks in advance



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 11-21-2006, 05:23 AM


View Complete Forum Thread with Replies

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

AS3 - Lip-synch
Hi,

for years I've been using flashAmp lite 3 for lip synching in AS2 but now, I'm going to go one step further and see if it is possible to use AS3 and create a dynamic real time lip-sync on my cartoon animations?

I've googled the net but haven't found some useful tutorial. please let me know where I can find some more info about this? as I feel like flash CS3 and AS3 is able to take care of these things...

Please correct me if I'm wrong.
Hadi

Loop Synch
Hy again, i have to make a small and interactiv presentation for a Music firm and is almost done except one thing: i have 10 loops and the client want me to make a small Dj "thing" inside this prezentation. I've made the interface and all but the problem is that the loops are not synchronized!!! If you play a loop and then another one you have to "guess" the synchronization or have luck ))
So, anybody have a link to a tutorial on how to make synchronization loops?

Thanx

Mouth Synch
Hi everyone,

I need some help on mouth synching. Every time i try to do it with tween, it never ends up right. I want, for example, to start at a closed postion and then to an open position with teeth showing and stuff and then to a different position. So my question is, can someone give me a way or tips on how to do this right; mouth synching?

Thanks a lot

Best Lip Synch Strategies?
I am making an animated movie, with MANY voiced lines, and I want to lip synch. I have been doing some, very slowly, but I am wondering if there are any tips or tricks that any of you know of that could speed the process up.

Synch Problems
When I run a test movie from inside the fla. everything is synched in my demo with the voice over - - when I publish my movie things are not synched with the voice over ---- help please!!!!!

Quicktime Synch
I'm exporting a Flash 8 Pro file to swf and .mov. The synch in the swfs is fine - but the sound in the movs slips later and later. I've tried various codecs etc with the same result. I sense there's a pref I've missed in Flash. Can anyone help please?

Why Are My Mp3s Out Of Synch?
When I publish my movie at 32kb per second, the animation is perfectly in synch with the sound.

But when I lower the quality to 16kb per secont, the sound goes out of shynch and progressivly plays quicker.

I need to lower the quality to 16kb to reduce the file size of my animation (to meet a criteria in my brief).

Is there an easy way or sorting it out, or do I have to space my sound files differently to accomodate for the un-synching?

Thanks

Sound Synch
Hi,
I need to synch streaming sound to a slideshow. I want it to start on the first frame and end on the last, no loops.
It works on some brwosers but not on all. How do I ensure the synch is same everytime and in all browsers.
thanks,

Why Are My Mp3s Out Of Synch?
When I publish my movie at 32kb per second, the animation is perfectly in synch with the sound.

But when I lower the quality to 16kb per secont, the sound goes out of shynch and progressivly plays quicker.

I need to lower the quality to 16kb to reduce the file size of my animation (to meet a criteria in my brief).

Is there an easy way or sorting it out, or do I have to space my sound files differently to accomodate for the un-synching?

Thanks

Sound Synch
Hi,
I need to synch streaming sound to a slideshow. I want it to start on the first frame and end on the last, no loops.
It works on some brwosers but not on all. How do I ensure the synch is same everytime and in all browsers.
thanks,

Graphics Out Of Synch
Hi, I'm fairly new at Flash, and have been having a problem which I assume is a fairly basic one, but I haven't had any luck finding anyone or any resource with specific suggestions on how to fix it.

I've been working with some fairly simple Flash files in Flash MX. No ActionScript, just basic graphics, symbols, and layers.

My problem is this: When I try to line up different graphical elements, they may display perfectly when I test the movie, but when I export the movie, some of the elements will have moved a fraction of an inch out of alignment. This usually seems to happen when I have a text box that I am attempting to annotate with some overlaid graphics, as per the following examples:

Example #1: I have some text that I am displaying on the stage, like a poem or haiku:
This is line 1.
This is line 2.
This is line 3.

Then I try to annotate the poem with a red circle around the number "2" on the second line, so I make a separate layer with that circle. When I test the movie, it displays fine, but when I publish it, the circle shows up offset, so it's actually circling the area between the "1" and the "2".

Example #2: Again, I have some text like the above 3-line poem, and I want each line to appear one at a time. So I made a mask on a separate layer which was the same color as the background, and then I moved the mask downward in steps, so as to make the second and third lines "appear". Again, in "Test Movie" it works perfectly, but when I publish the movie, the mask shows up in a different spot, so I'll get the display of line 1, and then most of line 2, and then only the top half of line 3, and so forth.

I've also had similar problems where I'm just layering graphics on top of graphics, so it's not only a problem with text boxes.

Any suggestions on how to fix the problem would be much appreciated!

Thanks,

Elonka :)

Loops Synch
Hy again, i have to make a small and interactiv presentation for a Music firm and is almost done except one thing: i have 10 loops and the client want me to make a small Dj "thing" inside this prezentation. I've made the interface and all but the problem is that the loops are not synchronized!!! If you play a loop and then another one you have to "guess" the synchronization or have luck ))
So, anybody have a link to a tutorial on how to make synchronization loops?

Thanx

Synch Lyrics To Song
Can anyone give me some advice on how I can synchronize lyrics to a song. I loaded up my song in a sound object so I can play the song when the user clicks a 'Play' button. I'm dynamically pulling the lyrics from a textfile and loading them into a text field object. Any suggestions on how to synchronize each word to display at a specific time (I need to display the word at the same time it is sung in the song)?

Synch Lyrics To Song
Can anyone give me some advice on how I can synchronize lyrics to a song. I loaded up my song in a sound object so I can play the song when the user clicks a 'Play' button. I'm dynamically pulling the lyrics from a textfile and loading them into a text field object. Any suggestions on how to synchronize each word to display at a specific time (I need to display the word at the same time it is sung in the song)?

Synch Lyrics To Song
Can anyone give me some advice on how I can synchronize lyrics to a song. I loaded up my song in a sound object so I can play the song when the user clicks a 'Play' button. I'm dynamically pulling the lyrics from a textfile and loading them into a text field object. Any suggestions on how to synchronize each word to display at a specific time (I need to display the word at the same time it is sung in the song)?

Out Of Synch Video Playback On MX
I'm currently working on a Multimedia Project that requires video playback directly from a Flash executable. Everytime I play a video (Quicktime with Sorenson Compression) that is embedded in the flash executable the audio is out of synch and the video takes few more seconds to finish. For example a 30sec video at 15fps will take 38sec. when playing from the flash executable,and the audio will be out of synch as the result of this delay. File size for the video with the compression is 5.0MB. When the video is played using quicktime everything seems to be on time. Can anybody share some light on this subject. Thanks!

Embedded Video Out Of Synch
I have a 10,000 frame piece of FLV video in Flash (Sorenson 'squeeze') and it works great until later on in the timeline. At around the halfway mark, the audio starts going out of synch with the video. In most cases you wouldn't notice but unfortunately I'm working with a video of someone talking and it looks stupid with them mouthing one thing and saying another!

Any ideas to stop the audio going out of synch?

Mouse Cursor Is Not In Synch
HI

I HAVE USED THE TYPICAL MOUSE CURSOR CODE TO CHANGE MY MOUSE CURSOR TO ANOTHER SYMBOL.

the problem is that when i run the swf, i see that the symbol is actually about an inch away from where my mouse cursor is. making it very difficult to click on anything.

i looked in the actionscript dictionary for lockcenter, but it doesnt work with the code to hide mouse, use this.

does anyone have a solution for me?

thank you
slimpixi

Sound Synch Question
I created a (seemingly) perfectly timed e-card for a band with their music playing in the background. however, once published on the net, the speed of the flash animation lags severely behind the timing of the music. this happens regardless of my net speed (tried dsl, cable, 56k, all with the same result).

The movie is comprised of a movie clip within a movie clip, with the sound clip starting on the first frame of the scene.

So i'm guessing that the movie clip within the movie clip is causing the problem, but before i go and rebuild this thing, i thought i'd seek some FK wisdom.

if necessary i can link to the e-card.

many thanks.

Turning Synch Sound Off And On
Hello everyone.
Can someone please assist me.
In my flash movie I have a narration(audio) that is synched with the main time line of the movie. I have a single button which I want users to press and have the narration or sound turn off but not stop the movie from playing. If they hit the same button again the sound will resuem where the current playhead of the movie is.

Any suggestions.
I'm not sure if this is even possible with synchronized sound.

Thanks in advance.

Sound Synch Issues
I've created a number of content scenes and then added transitional scenes between them which have sound.

transition scene 1 > content scene 1 > transition scene 2 > content2 etc.

I've set Loop=0, Synch=Event. Once the transition scene is finished the movie jumps to the following content scene as intended but sound from the transition scene starts playing again. I think the sound is from subsequent transition scenes. When the movie reaches the following transition scene the sound doesn't play when it should.

There is navigation in the content scenes which jumps to frame 1 of the various transition scenes and when I click those the transition scene and sound plays as intended.

Anyone have any ideas as to what the problem is? Thanks.

Audio Synch Problem
Ok, when I'm in Flash making this the sound is synched up perfectly, but when I export it to a .swf file the sound becomes unsynched. Anybody know what the problem is?

Sound Out Of Synch/too Early...
I'm just starting in Flash... I'm working on a movie in which one scene begins with a long silence and still picture, before some sound finally comes in, and then some animation. The scene is perfectly in sync when played by itself, but when the movie is played as a whole, the sound begins way too early, during the still picture. The rest of the movie is perfectly synchronized. Any suggestions?

Sound : Image Synch.
Anyone that can give me a clue about dealing with sound and image synch problems would be much appreciated.

I have a quicktime movie I have imported into Flash MX without any sound, and also an mp3 file that is the sound to run the duration of the video. They sit on the time line with nothing else but a preloader in the first couple of frames.

The published swf file plays great offline, and once it is viewed from the web the preloader runs all the way through to 100% loaded, but then the sound stays in time while the images run slower and it gets way out of wack.

Not sure if I should put key frames in the quicktime file (there currently aren't any), or if I should some how tag the music so that I can synch it to the movie file, or perhaps put both sound and image inside a movie clip...?

Everything currently is running at 12fps, I'm working from a Mac 0S9 and OSX and viewing from IE.

Thanks,

llyfre

Flash/QT Synch Audio?
Hi,

I have embedded a quicktime movie within flash and set up controls for the user to stop and play the movie.

Problem is that when added to the timeline, the audio begins to stream independently before the movie is started by the user... Any suggestions on how to synch this up?

Sound Synch Problems
Hey all,

I just finished a flash presentation, basically a slideshow, and it has some background music ("Fire and Rain" by James Taylor). Now, I watch in on my computer, in editor preview, and the lyrics match quite nicely with the current slide. However, I publish to the web, and when I view it there, the timing is off ... it almost looks like the framerate is lower, and the music keeps playing normal speed. Is there anyway to fix this? I am pushing a high framerate (50) and alpha tweening a mask on and off revealing bitmaps underneath, so it does use some juice. But I didn't think it would be that noticable. Any recommendations? If it can't be fixed, I can just export to a different format.

Thanks,
Dave

PS About exporting ... I tried to export to .avi, and it just sorta hangs and the very end of the export. The program is responding, but it doesn't complete the export. Any help?

Video Synch In MX 2004 Pro
Hi all,

I want a .flv video streamed off a web server (by using the MediaPlayback component) to trigger certain events (eg. run a movie clip) at certain points during it´s playback (to create a subtitle-like effect).

I just can´t figure out how to achieve the above. Does anyone know how to accomplish it?

Thanks so much in advance.

Audio Synch. Problem In FLV
When i export a movie from quicktime as a flv I end up with an old school kung-fu movie when I view it in flash player. Has anyone run into this problem? Or know of a fix...

Thanks

Synch Loss On Pause
Alright, i've done a lot of searching, and found nothing that dealt with my exact problem.

I've got a swf that has streaming wav files that are synched up with the movie. when played straight through, it is synched perfectly. however, when you right-click and stop it while testing, or pause it, and then start to play it again, it is no longer synched up.

The reason this matters is that i'm calling the swf into a controller, and when it's paused and then restarted, the synch is lost. I know it's not the pause function because the problem can be recreated in the swf that's called.

The confusing part is that i have many other files that are set up the same way, but don't have the synch loss.

Synch: Stop - Need To Know Purpose
I've figured out the differences of synchronizing a sound on the timeline to Event, Start, and Stream, but I can't find any purpose to synchronizing a sound to stop. The topic came up in my Flash course I'm in and I've become determined to find out.

So my question is: Why would you need to synchronize a sound to Stop?

Sound Synch Problem
Hello,
I seem to be having a problem with my audio in my flash. When I craete a keyframe in my Sounds layer, and tell it to play a sound at that spot, it actually plays that sound much earler in the movie when I test it. It seems like I changed one of the sounds to Stream, and after that, the problem occured. Now any time I insert a new sound, it always plays very early in the Test video. Does anyone happen to know what I did wrong? Thanks

SWF Timing Out Of Synch In Browser
I am making an e card and when I play it in Flash player everything is perfect. But when I open it in a browser (locally and from the internet) the timing gets off and the transitions are wrong. Anyone run into this before? I used tweener a decent amount and Im thinking that maybe the delays are somehow getting off or something.

FLV Video/audio Get Out Of Synch
I have a video that consists of an imported FLV to the timeline so I could put a new background behind the alpha-channeled background of the movie and put other things in front of it. When I export as SWF it plays just great. However, the download is a killer over DSL speed connection, so I thought I'd try making the finished product into an FLV. To do that I have to export as QT movie first, then from QT Pro export to FLV. It loads much quicker, however the movie's video and audio get out of synch by the first minute (it's 4 1/2 minutes long), and by the end it looks terrible. Is there a remedy for this? Video was kept at 30 FPS thoughout the process.

Sound Synch. Problems
I'm having problems synching up sound and music to my flash animation. I have a pice of music which is 120 BPM (i know this for SURE because i compsed it). The animation is supposed to change views in time to the music. Every few bars it will change to another shot, RIGHT on the beat. the FPS is set at 25 sso every bar is 50 frames long. when i set the frames of the animation to this everything works fine and it looks realy cool. The problem comes when i EXPORT it or preview it in Flash (alt+Enter) everything becomes WAY out of synch (moreso in the browser preview). I can't understand. I have tried changing the publish settings, sound settings EVERYthing. I even made an Mp3 of uniform Clicking sounds (like a metronome) with me counting over the top so i know when each bar should land. I still get the same old problem.

Please help. I know it's posible to get flash animations timed correctly to music but i just can't get it to work.

Sound Doesn't Synch
Hey guys, I made an animation with a .mp3 file that is meant to be synchronized to the motion. When I play the .swf on my computer it works fine. But online it gets off. If anyone can help that would be Amazing, this is due tomorrow! The website is students.washington.edu/royburst and I cna email you the source file if need be. Thanks for your help.

Flash 8 - Synch Audio To SWF -- Please Help
Hello,

I have created some external .swf's that have audio actionscripted onto them. Here is my code for that--and my play and pause buttons for the audio...


Code:
soundTest = new Sound(this);
soundTest.attachSound("section1");
soundTest.start();
clipLength.text = soundTest.duration/1000+" s";
pauseClip.onPress = function() {
pausePositionS = soundTest.position/1000;
soundTest.stop();
};
startClip.onPress = function() {
if (soundTest.position == soundTest.duration) {
soundTest.start();
} else {
soundTest.start(pausePositionS);
}
};
startClip.onEnterFrame = function() {
currentPosition.text = soundTest.position/1000;
};

The audio works fine in Flash8 but when I export it different browsers are dropping frames of flash and the audio isn't synching up. Is there an easy way to synch the audio??
Since I need play and pause buttons I can't simply put the audio file on the timeline and hit synch in the properties panel. Is there a way to define synching in actionscript for my code above??

Someone please help!

Image And Sound Out Of Synch
I have a movie that contains audio, video, and still images. The video's sound is out of sync. This movie has 1761 frames. When I remove the movie's preloader, the sound and image are again in sync. But I need the preloader. Any suggestions?

Video/Audio Synch
Hi. Please take a look at http://www.eevul.com/invey click the 'video' link next to track 3 - 'Release'
I'm attempting to put a 'streaming' FLV of my band on our site. I'm using MX2004Pro with the latest vid. exporter and components. The video allways starts too quick, meaning that the vid is allways ahead of the music. I imported a .wmv and exported a .flv, which I'm linking to via the media playbsck component. It's driving me mental. Help please!

PS If ya like heavy, aggressive music have a listen to the tunes and visit invey.com

How Do I Synch Animation To Audio?
Hi there.

I am searching this board to finswer to a relatively simple question. I will ask this question in the form of what I want to accomplish:

I have a 2:44 long audio clip.
This clip has 3 tempo changes, each tempo is a different portion of the movie.
I want the animation to depend on the audio, so if the audio makes it to the change in tempo before the animation does, there is a script that tell the playback head to go to "xlocation" in the timeline.

I have done this in Director with a script that was a little like this:
On CuePass "bob"
go to "bobs marker"
End

So, the question is - how do I do this in Flash MX?
(I have a 3 day deadline!!! )

Thanx for all your help!

Synch Audio.swf To Movie.swf
I have a movie that has a few scenes in it. That means I can't play music throughout the whole movie. I have to loadMovieNum ("music.swf", 1) if I want the music to play through.

My question is, with a preloader on both SWF files, how does either one of them know that both have loaded so both movies may play at the same time? Example:

movie.swf loads before music.swf loads so movie.swf plays for 2-3 seconds before any music will play. What's the code to interlock these two movies so they are synchronous? Does anyone know of any tuts on this one? Thanks in advance.

Bo

BOS Media Services
www.bosmedia.biz

How Do I Synch Animation To Audio?
Hi there.

I am searching this board to finswer to a relatively simple question. I will ask this question in the form of what I want to accomplish:

I have a 2:44 long audio clip.
This clip has 3 tempo changes, each tempo is a different portion of the movie.
I want the animation to depend on the audio, so if the audio makes it to the change in tempo before the animation does, there is a script that tell the playback head to go to "xlocation" in the timeline.

I have done this in Director with a script that was a little like this:
On CuePass "bob"
go to "bobs marker"
End

So, the question is - how do I do this in Flash MX?
(I have a 3 day deadline!!! )

Thanx for all your help!

How Do I Synch Animation To Audio?
Hi there.

I am searching this board to finswer to a relatively simple question. I will ask this question in the form of what I want to accomplish:

I have a 2:44 long audio clip.
This clip has 3 tempo changes, each tempo is a different portion of the movie.
I want the animation to depend on the audio, so if the audio makes it to the change in tempo before the animation does, there is a script that tell the playback head to go to "xlocation" in the timeline.

I have done this in Director with a script that was a little like this:
On CuePass "bob"
go to "bobs marker"
End

So, the question is - how do I do this in Flash MX?
(I have a 3 day deadline!!! }

Thanx for all your help!

SWF Timing Out Of Synch In Browser
I am making an e card and when I play it in Flash player everything is perfect. But when I open it in a browser (locally and from the internet) the timing gets off and the transitions are wrong. Anyone run into this before? I used tweener a decent amount and Im thinking that maybe the delays are somehow getting off or something.

Cd Audio Video Synch Problems
I'm dynamicaly loading a 1 minute swf video into my stage, when i view it on my machine it plays fine, but when i burn a projector and play it off of the cd, it is completely out of synch.

what can be causing this?

any solutions?

Loader And Progress Bar Synch Probs
loader.autoLoad = false;
loader.content = "intro.swf";
pBar.source = loader;
loader.load();

Ok... i have this code a loader a progress bar and 2 probs:

My first prob is that the movie in the loader starts playing before the progress is completed resulting not to able to see what is palyed before it reaches 100% while the movie has already started playing ... in a few words no synchronization between the progress bar and the loader...

The second is that i if i put the progress bar behind the loader so that it will be covered by the loader content once loaded the progress bar won't show it's progress and will remain on 0% even though it's loading the content...
So what i need is a script that will allow me to have the prog bar in front of the loader and once the content is loaded the prog bar will disappear and not remain over the loaded movie.

I hope im not asking too much but it's kind of urgent and any help will be very appreciated.

Mp3 Sound Loaded Problem In Synch
Hi buddies
I use the below code for loading my mp3 in streaming mode for synchronizing myanimation time line with sound but i think its not synch and it is like an event sound

mySound=new sound()
mySound.loadSound("test.mp3",true)


thanx

Presentation,big Files, Keeping In Synch
Ok, so I am doing a presentation about an actress and in this I have music, video and alot of pictures that will be pan/zoomed to. Just doing the intro so far and having problems with the music staying in synch to the rest.

here is the fla: http://www.kanchoume.com/ito.fla
and the swf zipped: http://www.kanchoume.com/ito.zip

it worked fine on desktop 2.8ghz P4 but when bringing it to my 1.0ghz MobileP3 laptop its showing some lag and synching issues, ofcourse this is because of speed of laptop, but any advice? would like to figure this out before i make the rest of the presentation. so far i think i'll make the intro separate and load in the rest of the movie from the last screen with the video looping. thanks.

btw: there is japanese text used throughout this, so it'll be jibberish probably if you don't have the pack installed.

Synch Problem...with Sound And Movie
I have a movie(an imported .avi) long 2100 frames, at the first frame I attached a new sound obj and start it.
well, each time I charge that movie from another movie with the loadMovie method, the sound is not synchronised with the pictures.

there's some pro tricks to avoid this......?

what I can think is to made a faked preloader that check if the last frame was charged and then start the sound....

what you think about this?
there's something to know to avoid problems....?


thanks in advance

ciao
francesca

Video/Audio Synch Issue
I have searched through the posts and found information that doesn't seem to be much help. I love the Flash article that says that we pretty much can't control audio and video synching together. Gee, I don't suppose my paying clients care to understand the technical reasoning behind audio streaming complexities? Sorry, to my question...

I have an 'flv' file that I am working with and everything seems to be fine *gulp* when I publish the audio in mp3 format. However, the movie I am working with is just someone talking so I am trying to get the 'speech' export setting to work correctly. When I publish the movie in mp3 it works fine and then the timing mysteriously changes when I switch it to 'speech' export. Does anyone have any idea what may be going on? or how to fix it?

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