Activation a video with a sound.

jigimond wrote on 11/7/2023, 11:57 AM

Is it possible to activate a video using an audio track? There is video and there is sound. While the audio track is silent - the video is not displayed when sounds start playing - the video starts being displayed.

Purpose - speech animation. When there is a conversation - the character's mouth animation is activated when the character is silent - there is no animation.

Comments

jetdv wrote on 11/7/2023, 12:21 PM

You might look at this series of tutorials. Specifically the second part shows modifying the opacity level of a video track based on the volume level. You could modify the code from this series so that if the volume is soft enough, the opacity is set to zero and if it is loud enough, it is set to 100%.