Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 7 of 7

Thread: Adding a sound file over an animation

  1. #1
    Join Date
    Mar 2007
    Posts
    23

    Adding a sound file over an animation

    We would like to add a sound file (.wav) over an animation file (.avi). A sample set up is:
    Code:
     
    _D1.avi (800x600) | .8,0,0 | 2000 | !bb1 | 0,0,0 | rt:252, 253 |*
    Currently, the animation file clears and then the sound file is heard. What we would like is for the animation file to remain in view while the sound file is heard. Is there a way to do this?
    Last edited by jarvis24; 06-29-2007 at 11:47 AM.

  2. #2
    Join Date
    Nov 2005
    Posts
    3,328
    Which is longer--the animation or the audio?

  3. #3
    Join Date
    Mar 2007
    Posts
    23

    About Equal

    The animation file and the sound file are about equal--each about 1 second.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,328
    Try this. Play the sound file first. Using a time value of "0" will cause the subsequent animation to begin at the same time and the sound file will play until it ends or until the RT occurs.
    Code:
     
    | !bb1 | 0,0,0 | 0 | _D1.avi (800x600) | .8,0,0 | rt:252, 253 | *

  5. #5
    Join Date
    Mar 2007
    Posts
    23

    One solved and there's one more

    Hurray! Your suggestion worked. As I was changing my direct RT file, I realized that in one instance I want the same thing to happen as before, but now I have two sound files that I want over an animation.
    Here is what I have:
    stim loc time stim loc time stim loc time stim loc time
    !2ba 0,0,1 2000 !sb6 0,0,1 1000 !2bb 0,0,0 2000 _D1.avi 0,0,0 5000
    Currently, they are all overlapping way too much. I would like !sb6 and
    !2bb to play one after the other over the _D1.avi animation. OR if the above is not possible, I would like the !sb6 to play directly before the _D1.avi and the !2bb to play over the animation. Any suggestions?

  6. #6
    Join Date
    Nov 2005
    Posts
    3,328
    Glad to hear that worked for you. It gets a bit trickier if you want to have two sound files. One way you could do this is to play both before the animation, again with a 0 delay. This will cause all three to play at once, so you need some way of delaying the second clip. To do that, I would simply insert some silence at the beginning of the sound clip using a sound editor. Do you know how to do that? I've posted about this elsewhere, e.g., see:
    www.empirisoft.com/support/showthread.php?t=754

  7. #7
    Join Date
    Mar 2007
    Posts
    23

    Sound Editing worked

    Thank you very much! The sound editing worked and everything is now in working order!

Similar Threads

  1. Adding formatting to question wording?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 15
    Last Post: 10-13-2010, 03:36 PM
  2. Adding slide numbers to the bottom of the screen?
    By obraztsova in forum MediaLab Older Versions: How Do I...
    Replies: 3
    Last Post: 03-27-2007, 08:50 PM
  3. Adding an item in the middle of a questionnaire?
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 09-08-2006, 03:08 PM
  4. Sound file not playing
    By jarvis24 in forum DirectRT Older Versions: Troubleshooting
    Replies: 5
    Last Post: 06-29-2006, 05:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •