ActionScript 3.0 :: Syncing Text With Audio?
Oct 26, 2009
I have got a simple code that displays about three paragraph of text character by character.I need to sync it with audio. ie play the same audio that is displayed in the screen.What could be the best way to do so ?
View 2 Replies
Similar Posts:
Jun 13, 2010
When I go to test my video the audio and video are playing at different playback speeds. I'm trying to create a video using Flash that requires events based on the song itself. how to make the audio and video play at the same speed during Timeline playback and testing?
View 1 Replies
Mar 24, 2012
I'm making an animation in flash CS5, and everything went well with it until a certain scene, which is no different than the other scenes in terms of animation/audio. In that scene, while one character is finishing his audio sentence, the next audio line already begins, screwing up the animation to audio sync in the animation from that point on. This doesn't make sense because the line that begins too early, isn't marked to play until a few seconds into the NEXT scene. Why is this happening? I tried so many things and it's really frustrating that nothing is working. I tried changing the lines from even, to stream, from mp3 to wav, making scenes longer at the end, but no matter what I do, the next audio line begins really early, messing up the entire audio to animation sync of the entire video from that point on.
View 5 Replies
Nov 25, 2010
I was wondering whether MP3s or WAVs would be better to avoid syncing issues. Also, what audio stream settings would be best?
I was also wondering if you can manually play the audio track by moving the play head over it. I've tried multiple times with multiple settings to no avail.
View 1 Replies
Mar 30, 2009
I've developed an application which uses a (dynamic) XML file to load in several files; a maximum of four MP3 files and a number of JPG files.When everything has finished loading, the user can press a "Play" button. The application could be described as a "mixer"; it's used to give online music lessons and to facilitate this, the sheet music is loaded (cut up into into several JPGs) which move horizontally on the screen like a marquee, while the music it represents begins playback. The music exists of several MP3s so that the user can mute (e.g.) the vocals or the drums, allowing him to focus on (e.g.) the guitar.
So what's going wrong, is that the audio files are not playing in sync. They are all pre-loaded so any delay between files shouldn't be sought in the files not being fully loaded yet. For initiating playback in the application, I'm using a simple function with a for loop in it, which sets each instance of my sound class to start playing at position 0 of its timeline (I've added in highlighting for all of the "code" blocks in my post, to keep everything easy to read through):
Code:
function playSounds():void {
for (var iCnt:Number = 0; iCnt < aSound.length; iCnt++) {
// Start playback for each sound, at the time position set in the
[code]....
Seeing as this didn't work, I have no clue what I could give a shot next... so if anyone has any ideas or suggestions, it would be greatly appreciated! Something else I noticed, was that if I run the application on very fast PCs, the MP3s are almost always in sync, but the PC that I'm developing on isn't that sluggish either and they hardly ever run in sync on it - so it will form a problem for pretty much all of the people who will use the application.
View 1 Replies
May 30, 2009
Calling channel.position on an ENTER_FRAME event, I notice that it's not being updated every frame, but it looks more like every frame and a half.
var sound:Sound = new Sound(new URLRequest('music.mp3'));
var channel:SoundChannel = sound.play(); // assume the sound is completely,
// totally, 100% loaded
[code]....
View 1 Replies
Jun 2, 2011
FLASH CS5
AS3
I would like to sync my sound file with the text on the timeline. This would amount to sound being played and the text changing color when that word is read. I have tried this manually in earlier versions of flash. I timed up the sound file with the text/color. Using this method the results were spotty and not always the same. Sometimes, depending on the computer, it was timed perfectly, others it was a second or so off.
Is there an easier way to accomplish sound to text syncing?
1) Using Flash CS5?
2) Using After Affects? - I thought about using AA because I can control the sound better. But I would prefer to use Flash.
3) Another program?
View 3 Replies
Aug 6, 2010
If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?
View 1 Replies
Jan 15, 2010
I've been involved in a webproject where text will be converted into speech. Then the text should be highlighted word by word as the audio is played in the browser.
View 0 Replies
Feb 27, 2010
I have a Flash movie which is synched to an MP3 file by adding keyframes at the appropriate points to trigger actions.
In the *.fla file, and in an exported *.swf or *.exe Projector file the synching is retained perfectly. However, when I include the *.swf in an html file, the synching is lost. It would appear that either the MP3 file is playing at the right speed and the movie is lagging behind, or the movie is at the right speed and the MP3 is playing faster than it should.
I have matched the Audio Output stream to the MP3 file in the Publish Settings dialogue (both now 128kbps), but the drifting still occurs in an html page.
I am using Flash 8.0 on a PC running Windows XP Pro SP3. I have a quad-core Intel Xeon, and 4meg of RAM.
View 5 Replies
Aug 16, 2010
FrameSync is a free Flash extension, originally released nearly 2 years ago, that allows you rapidly lip-sync your characters with an audio track. Version 2.0 allows you sync your characters even faster and easier than before. ew features include a keyframe mode, audio playback and frame navigation for Flash CS5, and performance improvements. See this post for more details.
View 2 Replies
Mar 29, 2011
I'm working on adding sound effects to a short animation. The first few sounds are syncing perfectly, however when I test the movie in Flash Player, at about the middle part of the animation, the sounds no longer sync; they play ahead of where they are supposed to. Testing the movie right in Flash, though, the sounds are fine. Exporting to a SWF file as well as a MPEG-4 also plays the unsynched sounds where they are not supposed to be
View 7 Replies
May 16, 2011
We developed one application in which a user can chat with a customer. But FLV size of user is double than that of customer FLV. At the time of playing we are getting problem of sync issue between FLV files. We are setting buffer size of 10 seconds. Is their any other way so that we can sync both FLV and an officer can view the communication of user and customer. Is DVR will do in sync? If yes then how?
View 7 Replies
Aug 1, 2011
I've been working on this problem for months, can'f find a viable solution. I can get the main movieclips of the files to p with a mouseover action, but I really need three separate swf files to sync upon load.
View 1 Replies
Aug 17, 2011
Im starting experiment with Flash Builder for PHP mobile projects and I found it facinating. I could connect the app to a local database, but I was wondering how can I update the data of the mobile app from a website?
View 1 Replies
Sep 16, 2010
problem - syncing some background music with a movieclip. I am aware that you can place a sound directly onto the timeline of a movieclip: this was my first attempt at syncing the two up. Unfortunately the problem with this is that the sound (which is quite long) then won't STOP until it finishes playing regardless of whether I stop the movieclip or remove it from the stage. I also have no control over the volume this way.The only other method I can come up with involves keeping track of the current frame of the mc and triggering the sound manually, but this still goes out of sync if too much is happening at once and the framerate drops.
View 3 Replies
Dec 19, 2007
First of all, final swf file size needs to be max 30kb. So I can not use Fuse (which would do the job automatically for some reason) nor complex stuff.
I have timeline tweened a image to scale (loops like a heartbeat) on main scene. Then on onRollOver another movieClip appears with different image but with "same" timeline tween (same as in keyframes in same frames and animation the same lenght).
When I hover my mouse on top of the "main" image, which is pulsating, the appearing movieClip is pulsating in the same rhythm but out of sync.
my code so far:
Code:
import caurina.transitions.Tweener;
var my_sound:Sound = new Sound();
logo_mc.onRollOver = function() {
[Code]......
View 1 Replies
Jan 28, 2009
I'd like a page with several buttons, each starting a different loop of sound (no more than a few seconds), so that you can end up with several loops playing at once. Is it possible to force any subsequent buttons pressed to wait until the existing loops reach their start before starting it's own loop? So that when a button is pressed it's loop will sync up with what is already playing?
View 1 Replies
May 3, 2010
I made about a 1 minute animation synched to music soundtrack. When I play (command Enter) from Flash everything synchs up fine, but when I play the swf alone in the Flash player the audio and animation get out of synch. I tried setting the audio to stream but that made things worse, and I also tried increasing the compression rate of the audio file which helped but is not perfect. I found a snippet of AS2 code that I am trying to convert to AS3 that uses the sounds position to set the frame number via onEnterFrame. I'm also using a frame rate of 29.97.[code]...
View 1 Replies
Dec 14, 2010
I have a question regarding which version of Flash Media Server will best serve the project I am currently working on and whether the approach I have in mind is possible with FMS.The project envolves Flash Media Server syncing a dynamic background across multiple Flash Players running on separate computers on the same local network. One approach is to have FMS handle the variables and calculation on its side and communicate this to the other Flash Players (this I understand can be done with the Streaming Server).The second approach is to have FMS execute ActionScript on its own side to create the dynamic background and then serve this out as a video stream to the other computers. (With this approach FMS can completely takeover the processing required to generate the background content and the other computers only need to play it back as video. Is this type of approach possible with FMS and, if yes, with which version.
View 1 Replies
Dec 13, 2011
I'm using a DisplacementMapFilter to created a globe-like effect on a flat map. My problem is, I also want to sync some labels to this map. I have the x/y coordinates for their locations on the flat map, but I need to map them to the now-displaced image.
I would like to be able to do this using the BitmapData that contains the displacement map, so that changing the Bitmap changes both the displacement filter and the label locations. Also, the labels will not be static, and accuracy is fairly important.
View 1 Replies
Mar 5, 2012
I have a Flex/BlazeDS webapp (pseudo content management system) with a Java backend running on 2 Weblogic 10.3 servers for load balancing and HA purposes.Basically, I'm using AMF polling to update my app such that when a user opens a document from the search results, the corresponding row will display a locked icon across all user displays that currently have that document on the screen.
The problem I have is that if a user connected to Server A opens up document X, the locked icon will only appear on the screens of other users connected to Server A. The displays of users connected to Server B will not be updated. Is there any established paradigm or best practice to ensure that the locked update will propagate across all servers?
View 2 Replies
Feb 11, 2009
Trying to play an flv in a mc at 100% on one layer while playing the same flv at 200% on a layer behind it.
I am wanting to load the flv in once, check it has loaded and then play both instances at the same time.
I tried this:
// Create a NetConnection object
var netConn:NetConnection = new NetConnection();
// Create a local streaming connection
netConn.connect(null);
[Code].....
View 1 Replies
Sep 23, 2004
on animating a movieclip(s) based on a sound stream..
Basically - something like a spectrum analyzer or a visualization effect for a media player..
It doesn't have to be complex - as the basics are all i'm looking for so that I can expand upon that to fulfill my own agenda
Also - the sound is going to be dynamic, being that the user will specify a file to play, so this can't be done with simple frame animation (unless I were to create ~16,000 different swf files.. .. . . Yea)
View 1 Replies
Mar 27, 2007
Im working on a site which incorperates several flash movies on one html page.
I realy want all these flash movies to start at the same time so they fade out in sync.
[URL]
I cant seem to find any command in flash to start a seperate flash movie playing but im sure that there is one.
I have thought about 2 ways of achieving this but am not sure which is the best way. The first is to have an extra movie that checks to see if the others have loaded then when all 4 have loaded it then starts them all at the same time.
The other way is to have each movie send a variable when it is loaded, then when all the variables are checked a start function is sent either via javascript or php.
View 1 Replies
Sep 27, 2010
I've got a bit of a niche problem, in that I was tasked with making an animation for a 5760px X 1080px video wall. I tossed with the idea of doing a video in after effects instead but then decided the resulting file would be too large and encumbersome so I decided to pursue my other idea which was through flash. Now as you all probably know, maximum dimension for flash is half of what i need, 2880. So i made a half size mock up, got it approved and basically translated that into x3 1920x1080 fla's each containing a 3rd of the total animation, all synced for each other.
Now I need to figure out the best means of playing them together synced fullscreened on the video wall, which has just gone up. We are going to have a content management system that most likely will be able to sync the files but I'd really like the swf's to be able to sync without any help just incase sorta thing.
View 1 Replies
Nov 19, 2010
I am having a lot of trouble while syncing my Flash Builder Actionscript project with Subversion. I have read that the output folders bin, bin-debug and html-template should not be checked in to the repository. The project bin folder contains a lot of XML files and assets that other project members needs to access. The problem is that Flash builder ignores it.
Is there a way of setting up Flash Builder to override the ignored bin folder? If not, what other approach should I consider? Different folder structures?
/src (commited)
/bin (ignored)
/swc (commited)
I would really like to override the default "DO NOT COMMIT YOUR DEPLOY FOLDER" setting. Bounty it is.
View 5 Replies
Aug 1, 2011
I want to use it for what seems like a fairly simple application, but I am having a terrible time finding any tutorials that address this specific need. I've been through basic "how to us Flash CS5" training but I'm having trouble making the connection between the skills taught and what I'm trying to accomplish.
I have a static paragraph of text - black on a plain white background. I would like each sentence to highlight with a yellow box behind it as the audio for that sentence is read. I would like a user to be able to hear the entire passage, but also be able to click on individual sentences and hear them separately.
View 1 Replies
Sep 29, 2011
Let's see if I can lend a hand, it is urgent, I want to do is to reproduce audio, and what is being heard in the audio (voice) go see text and goes over.It should be from an xml file and if it can be animated, the better, to be easily upgradeable.
View 4 Replies
Sep 9, 2011
is there any best way to synchronize the audio with text in flash
View 1 Replies