One InstallEventHandler to make mouth animations

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
Juan Carlos
Posts: 410
Joined: Mon Sep 06, 2010 1:02 pm
Location: Palencia
Contact:

One InstallEventHandler to make mouth animations

Post by Juan Carlos » Wed Aug 02, 2017 1:12 pm

Yes I thinking in this option one InstallEventHandler to know if there is playing a voice sample to make the mouth animation for intros or games, I read that Flash has a insruction for it and I see this in some Flash games.
I tried to use the OnSampleLoop like this:
InstallEventHandler({OnSampleLoop=p_Sound})
and curiosly it works but I read the problems to use this instruction and the instruction isn't perfect with long speeches.
Will be possible a "OnSamplePlaying" inside of InstallEventHandler? To make the mouth animations for example.
Thank you Andreas for your time.

User avatar
airsoftsoftwair
Posts: 2450
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: One InstallEventHandler to make mouth animations

Post by airsoftsoftwair » Sun Aug 06, 2017 11:20 am

Just use an interval function and IsSamplePlaying().

User avatar
Juan Carlos
Posts: 410
Joined: Mon Sep 06, 2010 1:02 pm
Location: Palencia
Contact:

Re: One InstallEventHandler to make mouth animations

Post by Juan Carlos » Tue Aug 15, 2017 12:21 pm

I try to use the interval function and the result isn't so good than using InstallEventHandler({OnSampleLoop=p_Sound}),
the mouth animation with interval is slow but with Install the animation is quickly and perfect, only someting short with long speeches.

Post Reply