WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

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

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 01:09 PM.


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