IDE :: Overlapping Sound Vs. Andio Not In Sync?
Dec 30, 2011
I am aving a problem managing the sound in my application. Here is the situation.I have ten frames in the main timeline and on each frame is a movieclip, inside of which i need to put sound (Each movieclip plays a different sound). Currently I load the sound dynamicly from library and everything works fine - the application plays sounds according to the current frame.
Problem is that each of the movieclips contains also an animation (two characters talking) and I need the animation to be synchronized with the sound. And since I am loading the sounds via actionscript, it has no sync and when the framerate drops on slower computers, the animation lasts longer then audio. To solve this, I tried to put the sounds directly into each timelines of the movieclips and set the "Sync" property to "Stream", but the result is, that when I call the gotoAndStop(5); method, all the sounds placed in movieclips in the previous frames (frames 1 to 4) play as well and all the sounds are playing at the same time.
View 1 Replies
Similar Posts:
Jul 13, 2009
I have an animation and sound running along the timeline. And step forward and step back buttons. The sound is set to stream to keep the animation and sound in sync with each other. This works fine when played from the start all the way to the end. But if the step forward or step back button is pressed, the animation will fall around 5-10 fames out of sync with the sound. And will remain like this until the end.
How can this be fixed so the sound and aniamtion won't fall out of sync.
View 1 Replies
Mar 17, 2011
I have made an animation. I have a layer where I put sounds that execute on certain frames. No script are involved. When I play the movie inside Flash, everything looks good and sounds are syncing. When I make a preview of the movie, some of the sounds are out of sync. I have no idea why, it's the first time I get this kind of problem. All sounds are set to event, but I have tried with stream as well and get the same result.
View 1 Replies
Jan 29, 2010
I have a sound in my flash movie and I'm trying to lip sync to it but for some reason when I try to move that red thing across the frames to play the sound across it so I can go to each syllable so I can work the lips to it. But when I run the red thing across the frames there is no sound going through the speakers. When I ctrl-enter and play the swf I hear the sound what should I do?
View 2 Replies
Jan 16, 2011
I'm working on an animation where some guys sings and in order to make that look good, i need some good lip syncing. Since this is not short clips, but a whole song on 2-3 minutes, it's very hard for me to make the lip sync perfect because I have to replay from the beginning in order to hear the music. So question one is: Are there a way that I can play the movie in the middle and still hear the music? And so the second question is that I can barely see the sound waves in the Music layer, even though there's lots of music. Here's a picture of how big the sound waves are: And that's in the middle of the song! The problem is not that the music is too low, because it's quite high. So question number two is: Are there a way that I can make the soundwaves bigger in the music layer without affecting the music itself?
View 1 Replies
Jun 17, 2009
In Flash, when I use a sound, I can set its type to Play, Stream, etc., right? "Play" just plays the sound directly, while "Stream" makes it adhere to the frames.
Purely in Actionscript, is there any way to make a Sound object behave the same as the "Stream" type? That is, make it sync to the actual framerate of the application, instead of just making it play regardless of the frames? I need this because I'm designing a game where the audio needs to be consistent and repeatable.
I know that the default behavior of Sound objects is the standard "Play" type, because if I have something like this[code]...
View 0 Replies
Sep 1, 2006
i need to play a sound with voices in order to play an interactive animation, but i must have an stop or pause option (a button) that pause both, the movieclip and the sound track, and when pressing again the "pause" button, the movieclip has to continue with the sound track at the same place it stoped. I�m getting a headache trying to figure how to stop a sound in a specific moment and then play at the same place it stoped, and not from begining...
View 1 Replies
Dec 12, 2009
im having a problem with sound in the animation. I noticed that sound doesnt sync properly in 24 fps.The sound actually does sync properly when the sound is an event, but when the sound is set to stream, it actually doesnt play properly, and i need my animation to have streaming sound especially for the internet. So for example, if i added a sound effect to start on frame 30, when i play the animation in swf, the sound effect actually starts playing at the wrong frame, in this case, the sound plays before frame 30. So in this case, the sound plays too early, and therefore the sound effect doesnt match with the animation itself. I wanted my animation to be at 24 fps, so i assume theres something that i have to do to get sound to sync properly with the animation at 24 fps.
View 2 Replies
May 16, 2010
I've run into a bit of a problem using Adobe's CS3 flash program in terms of lip syncing... I can place the sound files in the timeline at whichever point I like and so forth, but I have no way to play them in such a way where I can adequately make lip syncs. It's hard to explain, but in flash MX I would merely click the timeline, drag the cursor along it, and it would play the sounds as it did the frames, one piece at a time. That way I could tell where the consonants were and therefore where to change my characters' lips. This is not the same as simply hitting "enter" and letting the sound play in its entirety.
View 4 Replies
May 18, 2011
I've made a slide show with three pieces of audio that are set up to play with certain images.So you can imagine when the video is paused but the sound continues playing everything gets a bit messed up.
I have each audio on a different layer and none of them overlap, just fade in/out to one another.[code]...
View 1 Replies
Apr 4, 2011
I wanted to know how to write As3 so that the sound that I place on a timeline doesn't overlap? Or is it best off the timeline? I've tried putting each song into it's own place on the timeline but there are labels and when a new song plays, the old one continues. If I just have one song on the entire timeline, whenever I move across different labels, the song overlaps.
View 4 Replies
Aug 31, 2009
How can I control sound in flash so that:
1) the music starts when the user clicks on a play button but when they click on the play button again while the music is playing, the music DOESN'T overlap?
2) the music doesn't overlap when going back to the homepage where the music first started playing??
I'm currently using the code below but the music overlaps when I press the play button more than once while the music is playing and when I go back to the page where the music started playing...
Code:
var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var lastPosition:Number = 0; // pause button
mySound.load(new URLRequest("that_tune.mp3"));
[code]....
View 2 Replies
Aug 31, 2009
How can I control sound in flash so that:
1) the music starts when the user clicks on a play button but when they click on the play button again while the music is playing, the music DOESN'T overlap??
2) the music doesn't overlap when going back to the homepage where the music first started playing??
I'm currently using the code below but the music overlaps when I press the play button more than once while the music is playing and when I go back to the page where the music started playing...:o
Code:
var mySound:Sound = new Sound();
var myChannel:SoundChannel = new SoundChannel();
var lastPosition:Number = 0; // pause button
mySound.load(new URLRequest("that_tune.mp3"));
//mySound.play();
[Code] .....
View 4 Replies
Feb 10, 2005
ok im trying to make the sound on the scene stop when the scene stops.because it keeps on going through even when the scene itself stops...i have an on and off buttin but i need it to stop when the scene stops on start over instead of overlapping when the scene is played again...
View 1 Replies
Sep 26, 2008
Is it possible to add 5 movieClip in the main timeline, and add for each movieClip a Sound object at frame 5, so that when I play the main timeline, all sound are played simultaneously. Because if I store all Sound object in array, and I do for example (see attach code). That's correct ? Because the play method of Sound class have may latency.
View 1 Replies
Jun 16, 2004
Is there a way to synchronize 2 sound events to play simultaneously? It's vital that they begin at the exact same time (aren't started asyncronously).
View 2 Replies
Jan 20, 2005
Im using MediaPlayback-component to load MP3-files into and play them.
I use this code to call it:
myMediaPlay.setMedia("SOUND.mp3", "MP3");
myMediaPlay.play(0);
Problem is that the sound is played twice overlapping eachother (some of the mp3 is played first,interrupted, and then restarted again to finish fully).
View 4 Replies
Dec 16, 2009
Everytime I click on my home Logo the music overlaps and plays again. How can I stop this? and... How can I get the music to loop? (I've tried the mySound.play(0,10000); code but it didn't work)
[Code]....
View 3 Replies
Jul 3, 2009
whenever I set my sound to stream and continue to make a movie with multiple scenes. The audio and video get disgustingly out of sync sometimes even off by 30 seconds. I just started an animation its only 10 seconds long with two scenes and the AV is already off by about 5 seconds. Ive worked around this by avoiding scenes altogether but i really don't want to have another 5000 frame scene. I discovered this problem in Flash MX and Im quite annoyed that it still has't been fixed 3 years later!
View 1 Replies
Oct 15, 2011
I'm a beginner with this whole As3 lango and running into a couple of road blocks.I designed a flash site with a total of four pages. I have background music playing when at the homepage and continues to play when browsing the other three pages, but when I navigate back to the homepage the background music replays and overlaps itself. Is there a way I can stop the background from repeating itself every time I navigate back to the home page?
View 11 Replies
Apr 16, 2011
I am triggering short sounds dynamically from the library for a game (Specifically Air for Android). When the user clicks a button the sound can take up to 600ms to actually play. I have set it for any silence before the actual sound by calling the sound like so:
[Code]...
All return the same results. I know there are threads here that talk about this but none have offered a real solution that I can find. Is there no way to cache the sound or store it in a buffer?
View 1 Replies
Jan 27, 2010
I'm a total novice and I think I can't find an answer to this question because it is so basic. There are all kinds of tutorials on FLVPlayback, streaming video from a URL, etc.,but nothing I can find on how to make it play nice with the rest of the flash animation in my .swf. I assume this is a matter of simple actionscript (AS3), but my ignorance is profound.
So . . . I've got a flash animation that leads into a gotoAndPlay button, which references the frame where my video starts. The video, streaming from my url, plays fine, but if it takes a moment to buffer, the main timeline in my .swf just continues on through the frames I've created for the length of the video. Since my intention is to have the video finish and loop back to the intro. animation, ending with the play button displaying again, what happens is that it loops before the video is done playing, leaving the audio still streaming but the viewer staring at the play button. In other words, if there is no lag time for buffering, the number of frames before it loops is enough for the whole video. If it lags for buffering, it cuts off part of my video, prematurely looping to the intro.
View 3 Replies
Nov 18, 2009
Ive tried converting the SharedObject tutorial [url...] provided by Adobe from AS2 to AS3. When one client moves the ball, the other client should be able to see the ball moving on another swf, and vice versa.The AS2 one worked fine with my flash media server 3.5 and wampp server on. When I tried the AS3 one, the sharedObject cannot sync, even though the connection was successful and the sharedObject "position" was created in the server.[code]...
View 9 Replies
Dec 7, 2009
When I use the webcam and microsoft to record a video, my audio and video are out of sync.This does not happens when I use the built-in Microphone on the webcam.
View 2 Replies
Oct 25, 2010
I've got my head around bones now, which isn't too bad once you get used to it. I have ten minutes of dialog which I have created mouth movements for in Lipsync MX, these are imported as a swf and then placed within my character's Head MovieClip.
Problem is, IK insists on using MovieClips instead of graphics. This means that the lip sync doesn't stay in touch with the main timeline - it only stays in sync until the main timeline is paused or jumps to a different point.
Is there an established method which allows you to embed a lip sync symbol within part of an armature and ensure it keeps pace with the main timeline, or am I going to have to code it somehow?
View 3 Replies
Jul 8, 2010
improve the synchronized playback of NetStream video (flv) with a seperate Sound object (mp3)? Basically I am making a music video mashup tool and this is just a small part of it.I need to have one single mp3 playing continuously (the main song) and a NetStream object to play various videos at intervals set by a timer. This all works fine, except that the video gets out of sync after a while.This could be a delay caused by the NetStream.seek method that starts playback of the video a bit too late but I'm not sure.My current code...
Code:
package
{
import flash.display.MovieClip;
import flash.events.Event;[code].........
View 5 Replies
Jun 29, 2011
I have been trying to synch two different banners on a HTML page.
I have checked this link :: [URL]
But I am not sure if the localconnection is needed for what I am trying to achieve.
View 1 Replies
Apr 15, 2009
I noticed after a few repetitions the images that disappear on one side and reappear on the other start to get out of sync with each other, eventually overlapping. I'm figuring that has something to do with the minute timing differences between the lines of code being read, and was wondering if there is some way to get the images to stop losing their relative positions to one another?
[Code]...
View 2 Replies
Oct 13, 2009
Is there a way to sync a netstream flv to the main timeline? I want the animation on layer 1 to play in sync with the netstream object on layer 2, that's why. netstream.time only provides seconds so I would lose a lot of frames of the animation. And adding a cue point for every frame would be a bit too much.
View 1 Replies
Jun 16, 2008
Any programs out there that will automatically lip sync your animations for Flash that are available for OS X. I've found a few out there, but they're for Windows. If not, does anyone have a simple trick to make it less time consuming? I used to mess around in Flash but it's been ages. I remember essentially making each character a movie? Or was it making the mouth a movie? It ended up being that on the timeline you would just press a button and the right mouth would come up. I bet that sounds mental. Just keep in mind my Flash knowledge is super limited.
View 1 Replies