WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Is there a way to get notified when a .wav file or animation has finished? (https://forum.worldviz.com/showthread.php?t=351)

vjonshih 05-15-2005 04:23 PM

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!

farshizzo 05-16-2005 10:24 AM

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 11:14 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC