WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 05-15-2005, 05:23 PM
vjonshih vjonshih is offline
Join Date: Sep 2004
Posts: 15
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!
Reply With Quote
Old 05-16-2005, 11:24 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 08:54 AM.

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