Is there a way to get notified when a .wav file or animation has finished?
Hi there,
I was wondering if there was anything built into Vizard that can notify when a .wav file or animation has finished executing? Right now, I'm attempted to append .wav files together...for example: topic.wav says, "the topic of your first speech will be..." and there are two possible topics, 1.wav and 2.wav, and i want to be able to programmatically append 1.wav or 2.wav to topic.wav in the world. Right now, I'm thinking of just calling viz.waittime(length of topic.wav file) in a director function (after asking topic.wav to play) and then asking 1.wav or 2.wav to play....but is there a better way to do this within Vizard? Thanks in advance! |
Hi,
There is no callback for animations and wavs ending. As you suggested, you will have to use a timer or director function to wait for the wav to end. |
All times are GMT -7. The time now is 04:26 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC