WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 07-07-2008, 12:33 AM
mjabon mjabon is offline
Join Date: Jul 2007
Posts: 63

Hello. I am having problems making the mouth open more when an avatar is speaking. I am using the following code:
vizact.speak(speechfile,2.0, 'mouth_open', 2.0))

I thought this should amplify the lips by 2. It looks like they barely move their lips. So then I tried making it 10 or even 100 and it did nothing!!

I also don't understand what the 4th argument (threshold) is. I just usually set it to be the same as the scale argument....

Reply With Quote
Old 07-07-2008, 02:39 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
I would leave the threshold at the default value of 0. Incoming audio samples that have a magnitude less than the threshold value will force the mouth to close. If you raise the threshold value too high, then no sample will be above the threshold and the mouth won't move.
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 05:04 PM.

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