Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sequencing Streaming Sound

Status
Not open for further replies.

stmulligan

Programmer
Dec 5, 2006
6
US
I've built a Flash app that has three animated characters. My plan is to create and dynamically load audio tracks that this animation app will use. The audio tracks will be a single SWF that packages both dialog and characters commands.

I've put each character's audio and actions into a scene. Each scene calls the next sequentially until the movie ends. It all works well except for two things.

1) In selected scenes, the audio will finish, then restart before the next scene is called despite the fact that it's set to Stream. Whent the scene ends and chains the next scene, the audio ends abruptly.

2) In other scenes, the actions are not in sync with the audio. Part of the action are lipsync commands. They are perfectly aligned in some scenes and not in others.

I've built all scenes the same way but have perfect audio and action alignment and some don't. I've spent hours debugging and can't see why my frame specific alignment is not being interpreted correctly.

Thanks for any ideas and help.
 
Do your have frames on your stream timeline sounds passed the end of the blue line...
If so there shouldn't be. Delete them until you don't see any blank frames at the end of the sound.

Sync problems might be caused by holes in your soundtracks.
If you have some, you need to overlap them with a stream silent sound, so that no portion of the soundtrack is empty, soundwise...

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Still no dice. I've placed the FLA at:


You'll see that each segment is a scene and that the scenes daisychain their way to the end. Many actionscript commands are laced in to achieve movement of the characters, closed caption and lipsync. On my machine(s), the offending scene is Charlie_PushTheButton as this sound happens twice.

Thanks for your input.
 
Yes, I did. And I killed the trailing frames from each of the sounds.
 
Filling the soundtrack with empty sound is not a good option as the lipsync phonemes are program generated for each character. My program analyzes the WAV file and builds a scene for each track. All I have to do to build one of these movies (in the long run) is to sew the scenes together by hand.

I'll automate that when I find a good solution for building FLA files programmatically. I don't think you have to fill the entire block with sound as seven out of every eight blocks I make work fine. I just can't find the distinquishing characteristic of the few that don't.

Thanks again.
 
You offered two things, I tried them both and posted a FLA. I then explained why its more important to find a why the repeat is happening than to rig up false sound.

To that you've posted two glib replies. Nice.
 
Would you of preferred no answer at all?

I offered some advice, you won't follow it, fine. Suit yourself!

You post a .fla with no video reference, which you've probably been working on for weeks, but expect me to get around it in ten minutes and provide a solution?

I owe you nothing my friend! I was just trying to help! :p

Sincerely again, good luck!

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Clearly, you didn't read my post. There is NO video. It's a soundtrack and I tried both of your suggestions - neither worked. I posted the most promising of the two.

If you'll reread the posts from the top you'll see that after my attempt to advance the issue, an appropriate reply would have been to add information or ask a question. Instead you gave two smartass replies.

You're not my friend.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top