Synchronizing sound and animation

Hi All..
I have an animation of a swinging sign that is accompanied by a squeaking/swinging sound that is loaded externaly.. What I would like to do is go a step further and synchrinize the sound with the swinging sign.. Can someone please point me in a direction of where I should look? I've seen some tutorials about synking imported sound with animation - but is there a way to also synk an external sound? Thanks so much ahead of time!

you can't sync a loaded sound and animation unless you load your sound BEFORE your animation appears.  or, at least, before the part of the animation that needs sound appears.
so, either don't load a sound that needs to be sync'd or use code to ensure loading is complete before the corresponding animation is displayed.

Similar Messages

  • Synchronizing sound and image for splash screen.

    Hello all,
    I have a peculiar request. ...
    I have a sound file (about 137KB) and an animated gif (about 134KB).
    I would like to use this as my splash window before my app starts up.
    I know how to load these 2 to a screen but my problem is how do I synchronize the sound to go along with the image when it starts up? (Its a gunshot sound, whcih is looped with the animated image showing the bullet holes ;-)
    I've been investigating using the Timer class but no success to date.
    Currently, the sound file loads up, starts and then a few seconds later the image..
    So.... How do I:
    1. Load the sound first.
    2. Load the image.
    3. Start both of them synchronized.

    This is actually pretty involved...
    Are you using java.applet.AudioClip to play the sound? Are you loading the animated gif as a JLabel or something using ImageIcon?
    If you are using AudioClip for the audio, I suggest that you cache the sound and image before playing the sound... otherwise you'll probably hear pops or the sound will pause. To cache the sound, do this:
    AudioClip clip = Applet.newAudioClip("somefile");
    Unfortunately, java really sucks at handling animated gifs. On slower computers, I've seen it take about 15-20 seconds to load an animated gif that's around 90k in size... totally unacceptable! If you have a gif that just plays a once (or a few times) and then stops, you'll have to flush the graphic to restart the image. This will reload the file and cause the long delay every time you need to replay the gif.
    It seems like the best thing to do is to break up the animated gif into frames (either put each frame in its own file, or place each frame into one large image file and use clip rectangles to retrieve frames) and handle the animation yourself with your own thread. Alternatively, you can use the GifDecoder utility available at http://www.fmsware.com/stuff/gif.html, but be careful when using GifDecoder, it eats up a lot of memory for larger Gif files. When you handle the animation yourself, things should work properly. Again, make sure to cache the images by doing something like:
    ImageIcon ii = new ImageIcon("somefile");
    Once everything is preloaded, things should be pretty much synchronized if you play the sound and then show the image.
    To have more control, you may have to use an object with synchronized methods... like if you want a sound to play on the 3rd and 10th frame of animation. Another option is to use Quicktime for Java.
    If you need more info, let me know!

  • Published CP8 project spotty sound and animation on tablets

    Hello,
    I have a Word Press website with an LMS where I am able to embed my Adobe captivate projects into a webpage using [iframe].  When the published project is uploaded to my website it works as expected when using a computer or notebook, but if you access the webpage / published CP project using a tablet (android, or ipad) the product loses some sound and, on occasion, there are issues with the animation.  Is there a work-around for this?  I have tried changing all sorts of settings and adjusting configurations, but nothing seems to work.  I even tried re-creating the project from scratch which still didn't work.  My next step is to upload to Scorm cloud to see if I get the same issue.  I will update this post once I do, but hopefully someone here has experience with this issue, as I really need help on this one.
    Thanks,
    Andrew

    I uploaded my project to ScormCloud and got the same issue.  What helped (a little) was breaking out my slides so that each slide had no more than one animation and one sound recording.  This seemed to help, but it's very tedious and shouldn't be necessary.  I recently informed Adobe of the issues I am having (through a customer outreach email that I received), but I haven't heard anything back.  This issue is crippling my business...  I can't publish a course that works fine on Desktops and laptops, but not mobile devices, as I wont have a business in a couple of years!  Any help would be very much appreciated.
    Thanks,
    Andrew

  • Sound and picture did not match?

    After recording the presentation it was OK and I could show it. But the fourth time I would show the presentation the sound and animation did not match the pictures? t.i. Keynote did not move to next picture (e.g. I was in picture No. 3 and it shoud move to next picture 4 but it doesn't -  and the voice to the next picture No. 4 started continued in picture 3)
    Why does this happened? Is Keynote not reliable?

    If sound files and images are placed on the slide and timed using Inspector  > Builds they will maintain the timing.
    I have suggested to do that instead of using the recording feature built in to Keynote which has proven to be unreliable with large numbers of slides and  longer voice overs.
    Switching to using builds will eliminate these errors.

  • Audio and Animation Synchronization

    I am working in Flash Pro 8. My project is 3 minutes long. It
    includes background music and narration. The audio files are each
    in the library as MP3s and are called in by sound objects via
    actionscript. I have animated words that need to match up to the
    narration. It works great on my top of the line G5 but as soon as I
    transfer it to a PC or any slower computer the synchronization of
    the animation and narration gets all out of wack. It starts off
    okay but gets worse and worse as time goes on.
    The only information I have found on this issue pertains to
    audio that is sitting in the timeline and can be set to "stream."
    Since my audio is called in by sound objects I am at a loss. I need
    the audio to be called in with sound objects so I can control
    volume and on/off buttons for the background music and the
    narration independently.
    Any and all suggestions would be greatly appreciated.

    I think what you're trying to do is impossible. There is a
    potential workaround for the issue of having streaming sound AND
    stopping and starting the audio, but not for changing the volume.
    You can put each sound file into the timeline of an empty separate
    movie clip that you place on the stage. Within each movie clip,
    obviously the timeline will have to match the length of the audio
    track. Set the properties to Stream. Then you can use Action Script
    to play() and stop() that movie clip, hence pausing the soundtrack.
    That also gives you the ability to use script to skip to specific
    frames or markers within that movie clip. But as for controlling
    the volume, I think you're out of luck. Flash is still quite
    limited in how it treats sounds. Unless I'm wrong, there isn't a
    way to use script to set the properties of a sound to
    Streaming.

  • Sound and video are choppy since installing Flash Player 11.3

    I'm having a problem here!  Since I updated Adobe Flash Player 11.3, the audio and video are all choppy when I play Adobe Flash game apps in Facebook!  Even when I disabled hardware acceleration, the sound and video are STILL choppy!  Even I watch a YouTube video and the sound and video are a bit choppy!  There's DEFINITELY some sound issues in Flash Player 11.3!  I'm using Firefox 13 in Windows XP SP3.  I'm wondering if you have any answers for the sound issues in FP 11.3. 

    I went through an annoying password reset process to post on here, haha, I was experiencing this issue and managed to resolve it for a flash animation I was making that was going to be sent out; thus fixing it for myself wouldn't change things for others. I know this is old, but if anyone is in this position, I hope it helps.
    I was using Swish Max for my scenario.
    Under the Export Settings, I found that by default it was using SWF Version: SWF8 - when it had the option to go up to SWF10. I changed it to 10, and set the hardware acceleration to Level 1 - Direct.
    I exported, and it still didn't work. The music was choppy as heck and terribly inconsistent with speed. I even created a preloader, which appeared to work but didn't resolve my issue.
    FINALLY, I kept it at version 10, and found that it had an option that said "Preload Content: Disabled." I set that to "At Preload Frame" and though I had a loading animation setup to do the preloading, I still placed a preloadcontent keyframe at frame 1. Then I set Hardware acceleration to Level 2-GPU and exported.
    IT WORKED. The terrible, seemingly non-fixable audio cracking lag was gone and it worked flawlessly.
    Hope this helps someone, I originally found this when I was trying to find a fix for the issue.

  • My computer keeps doing the usb sound and freezes

    My computer keeps doing the usb plug and unplgu sound, and when it does, the computer freezes.  I have tried update all drivers, and run one-key recovery but nothing helps. The system event logs only show one error:
    The embedded controller (EC) returned data when none was requested. The BIOS might be trying to access the EC without synchronizing with the operating system. This data will be ignored. No further action is necessary; however, you should check with your computer manufacturer for an upgraded BIOS.
    I tried to update BIOS driver and found it was up to date.  Does anyone eles have the same problem? It is very frustrating expecially when you are in the middle of a game.  Please Help!

    I understand what you mean about the sound now.  I was thinking of something else.  Sorry for the mis-understanding.
    Are these errors showing up in the System Event Log happening repeatedly ?  If there is just one or two of the same error showing up during the session you are on the computer that maybe normal.  As the operating system is working it will occasionally hit a glitch that produces an error in the log, but later in the log you will find where the problem was resolved.  The Event Log is never error free. If an error is repeatedly recorded then it is a problem. 
    You can also look at your Reliability History which might indicate a problem.  Go into Control Panel then System Security then Action Center then click on Maintenance and then choose View Relibility History. 
    If your remembered when the problem started, did you trying doing a System Restore to a date prior to the problem starting ? 
    You mentioned One Key Recovery.  Did the recovery process not correct the problem or did One Key Recovery not work at all ?
    Try booting the computer into Safe Mode and see if the problem is happening there. 
    Also try logging into the computer using another User account.  If no other accounts are available then create a new User account to try it.  If the other User account is problem free then suspect your original account has corruption. 
    On my Windows 7 system the sound event for connecting a device like a USB flash drive and disconnecting the flash drive sounds about the same.  Also the sound event for a device failing to connect will produce the same sound in my present sound scheme.  Try plugging in your keyboard and mouse several times to insure they have a good connection or even try plugging them into another USB port.
    Also try another mouse and keyboard if you have them available.  Since you are a gamer chances are the mouse and keyboard are well used and might be failing. 
    Owner & Operator of the following:
    ● Lenovo Ideapad Z570 w/ Win 7 & Win 8.1 Dual Boot ● Lenovo Yoga 3 Pro w/ Windows 8.1 ● Toshiba A75-S206 w/ Win 7
    ● IBM Thinkpad T-23 w/ Win XP ● IBM Thinkpad T-22 w/ Win XP • As well as multiple desktops dual/triple booting XP, Vista and Win 7.
    ★ Find a post helpful? Thank that member by clicking on the ☆Star☆ to the left awarding them a Kudo.
    ★ Posting a problem and a reply is helpful and it answers your question, please mark it as an "Accepted Solution"
    ★ I'm not a Lenovo employee, just a volunteer geek who likes to help folks. Enjoy your time here, pay it forward by helping others !
    ★ Sorry, I don't answer questions via Private Messages. Posting in the appropriate forum is the best way to get assistance.

  • Sound and Loop Counter

    Hi all - here's a quick rundown of what I'm trying to do...
    The project: A looping banner animation with audio event
    sounds
    Background: I currently have event sounds of a camera-click
    and an audio transition between 5 mc's on my main timeline. I'm
    trying to find a way to disable the audio sounds once the movie
    plays through one time.
    The problem: I can't get my head around it. Do I use a
    counter that initiates on the first frame of the loop and next time
    it comes through it disables sound or unloads a mc or what?
    The sample: You can view the animation here:
    http://66.187.132.180/cherryhillevents/
    Basically, I want to have the animation play one time - then
    on the next pass through - disable the sounds. Thanks for help on
    this.

    NicknameAlreadyTaken,
    > I currently have event sounds of a camera-click
    > and an audio transition between 5 mc's on my
    > main timeline. I'm trying to find a way to disable
    > the audio sounds once the movie plays through
    > one time.
    Okay.
    > The problem: I can't get my head around it.
    Free yourself from the timeline, my friend! :) Use
    ActionScript to
    trigger those sounds, and you'll have complete control over
    when they're
    triggered. You mentioned a counter, and that makes good
    sense. You could
    set up a variable in the first frame ...
    var counter:Number = 0;
    ... and set up your Sound instances as you need them. All you
    need is an
    instance of the Sound class (just like your movie clips are
    instances of the
    MovieClip class). Put something like this also in frame 1:
    var cameraClick:Sound = new Sound();
    cameraClick.attachSound("nameOfLibraryCameraSoundLinkageID");
    var audioTrans:Sound = new Sound();
    audioTransSound.attachSound("nameOfOtherLibrarySoundLinkageID");
    In later frames, check that counter's value before you play
    a sound:
    // frame 20, say
    if (counter < 1) {
    cameraClick.start();
    In your last frame, increment the counter by one, and
    gotoAndPlay(2).
    Why 2? Because if you go back to the very beginning, you'll
    re-initialize
    that counter to zero.
    Make sense?
    Alternatively, you could globally turn down the volume for
    all sounds
    after the first loop. ActionScript usually gives you half a
    dozen ways to
    accomlish a given goal. ;)
    Here are some short articles that may help you in this
    particular
    endeavor.
    http://www.quip.net/blog/2006/flash/how-to-loop-three-times
    http://www.quip.net/blog/2006/flash/actionscript-20/understanding-the-sound-constructor
    http://www.quip.net/blog/2006/flash/how-to-toggle-sound-globally
    http://www.quip.net/blog/2006/flash/actionscript-20/ojects-building-blocks
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Help!! Static sound and Lock ups

    I recently updated to the newest Ipod Mini version software 1.4. and when i play the songs on my ipod i get static sounding sounds and when i look at the display timer, it looks like the ipod i slowing down.
    Also i'm getting lockups when i'm browsing.
    Ipod service told me to restore the ipod, and i have 3 times, 1 to the factory software version, and twice to the newer version. It didn't help, as i'm still hearing static sounds, and I've switched headphones and headphone jacks, and it still doesn't help.

    the exact same thing happened to me. Mine is an original mini which needless to say is out of warranty, so I need an answer that is not "replace the hardware". Is there a way to restore it to a previous version of the software?
    mini   Windows XP  
      Windows XP  

  • Disable sound and/or vibration while in Messages app?!

    Hi!
    I would like to know is there some option in the iOS where I could disable sounds and vibration while I'm using Messages app (app is open and the display is turned ON and I can see the message I recieved). This is very annoying when I'm using iMessages and getting a message every few seconds and then my phone vibrates constantly. It is of course OK if I'm not in Messages app but when I'm already using it I don't need a notification I got a message when I can see it for myself.

    I'm having the exact same problem. I get a random text message ding for no discernible reason at least oncer per day. No alerts from apps, no email, no texts, no missed calls, no voicemails. It's not changing connection types between wifi, 3G, and edge. I know that the first gen iPhones sometimes dinged in that situation. If anyone knows what's causing this I would love to hear it.
    Just to be clear I'm using a perfectly normal, not jailbroken, iPhone 4 running the latest software version.
    Regards,
    John G.

  • HP ENVY TouchSmart 4 Ultrabook - Sound and Video Lags and Distortions

    This issue has been previously reported and noted as solved, but it is not solved. See the link to the other post below.
    Ways in which I attempted to address this myself...
    I first re-installed all drivers and updates, including BIOS updates. After that didn't fix the problem, I did a full wipe/re-install of windows 8, and again, updated all drivers from the HP website. This issue happens on both Windows 8 and Windows 8.1. I then did an exchange, and even the new exchange ultrabook is experiencing this issue. HP technicians, there is something faulty with this device. Please acknowledge and address ASAP. 
    http://h30434.www3.hp.com/t5/Notebook-PC-Sound-and-Audio/Distorted-sound-on-my-Envy-TouchSmart-4-Ult...

    Its crazy
    Check the System
    HP Software Framework must for IDT Sound Driver
    Intel Chipset Installation Utility and Driver  must the new for Windows 8.1
    Intel Management Engine Interface (MEI) must the new for Windows 8.1 
    UEFI for your Notebook
    Adds the Audio Test. 
    Provides improved support for tablet systems
    or test October 10, 2013
    ftp://www.compaq.com/pub/softpaq/sp63501-64000/sp63852.exe
    Please test the same with HP System Event Utility
    ftp://www.compaq.com/pub/softpaq/sp63501-64000/sp63805.exe
    Newest IDT November 11, 2013
    ftp://www.compaq.com/pub/softpaq/sp63501-64000/sp63940.exe
    deactivate or remove antivirus application for installation, Download Select the correct manufacturer and remove the software
    Say thanks by clicking the "Kudos! Star" which is on the left.
    Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue.

  • Sound and cam can't work in this old lenovo note book computer model 3000 N100

    Fatory said support window XP and vista ,I allow mircosoft test vista and  window 7 ,everythink can work, but now I install window 7 only ,sound and cam des't work, .I don't know why?How can my notebook sound and cam can work?

    what?
    you are asking about issues in windows on a lanovo laptop in the appletv forum on apples support site?
    is that not a bit like asking for support for a boing 737 on philips discwaster forum ?

  • Satellite P200D-11R sound and graphics crash after waking up from sleep mode

    Hi,
    I am wondering if anyone here has had similar experiences to mine (below) or can offer any solutions.
    I have upgraded my P200D-11R OS to Vista 64 Ultimate to take advantage of the extra performance. I also add that the BIOS has already been updated to version 1.4.
    Well, everything works fine with the standard 2Gig of RAM which the laptop was supplied with originally, however, when I upgrade the RAM to 4Gig (2 x 2GB Samsung 667mHz modules), sound and graphics problems appear every time the machine is brought back from sleep mode.
    The sound card makes a very laud fuzzy noise every time it wants to play a sound and the graphics produce lots of horizontal lines on the screen. I then just have to restart the machine which means loosing all my unsaved work.
    Everything works fine as long as the machine does not enter sleep mode. I have currently disabled the sleep mode to prevent the machine from entering it but I am finding life very hard without it.
    I am very surprised and also disappointed at the fact that Toshiba did not test these machines with Vista 64 Ultimate and 4Gig of RAM!
    Extra info:
    The memory is the same Samsung type as the 1Gig modules supplied by Toshiba originally with the machine, and the part number Toshiba recommends.
    I have tried installing other (more recent) device drivers by Realtek and ATI without any improvements.
    The memory modules pass all tests and are not defective. They have also been tested on my friends Dell notebook with no problems even in sleep mode.
    I have installed my friends Dell 2Gig memory modules in my P200D and they too produce exactly the same results with post-sleep crashes.
    My thoughts are that this must be another BIOS issue unless anyone can shed some light on the issue from another angle.
    Please help! Many thanks in advance.

    Hi Sascha
    Since you are running a Vista 32bit version, the upper limit of the memory recocnised by the machine is 3.2gb which is the maximum a 32bit operating system can address and use. The diffrence here is that I also upgraded my OS to Vista Ultimate 64bit to get yet better performance out of the 64bit dual AMD processor.
    3.2gb of RAM on 32bit OS does not necessarily increase the performance. However, it keeps the performance stable when you open many more programs at the same time since the machine has more RAM to play with before staring to use the much slower hard drive as operating memory (Page File), to keep all thoes open programs running.
    A 64bit OS such as Vista Ultimate 64, recognises the whole 4gb of RAM and much more (for instance, 8gb with 2 x 4gb RAM modules). The 64bit OS itself would generally consume more RAM to start with, however, with 4gb I found the general performance to be much better. Going back to the problem however, my P200D-11R with Ultimate 64 and 4gb RAM refuses to wake up from sleep mode gracefully and the graphics and sound crash every time, forcing me to restart.
    My feelings at present is that eventhough your machine may be slightly different, I bet if you upgrade your OS to 64bit, the machine will start recognising all of the 4gb of RAM and post-sleep crashes will start to appear!

  • When playing games on the ipad I have no sound and it it very slow.

    when playing games downloaded from the app store I have no sound and the games arte very slow?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/ts1630
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
    How to Fix a Slow iPad
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-A-Slow-iPad.htm
    iPad running slow? How to speed up a slow iPad
    http://appletoolbox.com/2012/07/ipad-running-slow-how-to-speed-up-a-slow-ipad/
    If You Think iOS 7 Feels Slow Here’s How to Speed It Up
    http://osxdaily.com/2013/09/23/ios-7-slow-speed-it-up/
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
     Cheers, Tom

  • Hi...lags animations in games and messages and album pic..when disable assistive touch,it's true and fix..please release update to fix this in ios 7.1..i need assistive touch and fast game and animation booth!!

    Hi...lags animations in games and messages and album pic..when disable assistive touch,it's true and fix..please release update to fix this in ios 7.1..i need assistive touch and fast game and animation booth!!

    No Apple here, user to user forum.
    I will not be releasing any version of iOS ever.

Maybe you are looking for

  • Relatório NF de recebimento e NF de Devolução

    Senhores boa tarde, preciso mais uma vez de ajuda para a criação de um relatório. Preciso criar um Query que me retorne as NFs de recebimento de mercadoria com seus respectivos item e todas as suas respectivas NFs de devolução e seus itens com status

  • Can someone help me with this program?

    Can someone make this program for me? Make a Java-webapplication containing a few webpages (html-files and servlets, but NO jsp's). With this application you can get bankdata from a database, for example: page 1: html-file: Welcome on the website, ty

  • SQL Help Need to Calculate Count beteen two dates.

    CREATE TABLE SUPPORT_SERVICES.LOAN_ACTION   LOAN_NBR     NUMBER(10),   ACTION_CODE  VARCHAR2(20 BYTE),   DOC_CODE     VARCHAR2(20 BYTE),   ACTION_DATE  DATE SET DEFINE OFF; Insert into LOAN_ACTION    (LOAN_NBR, ACTION_CODE, DOC_CODE, ACTION_DATE) Val

  • Special Chars do not display at XML import

    Hi there. Here is the situation: I am importing external data (only text) from a XML file, but when I type a "%" (percentage char) in XML it does NOT display in the SWF... why ?? What is the best practice to achieve this ? Thanks in advance,

  • Deleting photos in cs5 bridge - external hard drive

    I am trying to delete large numbers of images from an external hard drive through Adobe Bridge. I have tried dragging the images to the trash can. I have tried simply hitting the delete button with no luck. I have hit the delete button while holding