| | | Newbie
       
Group: Forum Members Last Login: 11/27/2007 11:32:29 AM Posts: 2, Visits: 4 |
| | Has anyone found a way to get CrazyTalk to read text in a textbox in VB6.0? I'm guessing that one would convert the TTS to wave and then to CTS. If anyone one knows how to do this I would appreciate the help. I'm not even sure if it can be done. |
| | | | 
Tutor
       
Group: Administrators Last Login: Yesterday @ 1:51:12 AM Posts: 729, Visits: 1,715 |
| Hi, bwd2
Yes. You have to install the web player & TTS component first. http://plug-in.reallusion.com/installCT.asp
Please also go through the white paper to know the operation well. Download the zip file from the attachment in this post. Place the unzipped folder to your local. Run CT4CompotentTest.exe or use other project files for VB.
Thanks Visconti
______________________________________________________
Visconti Forum Moderator
Reallusion, Inc. http://forum.reallusion.com
|
| | | | Newbie
       
Group: Forum Members Last Login: 11/27/2007 11:32:29 AM Posts: 2, Visits: 4 |
| | Do you have any script file examples that would work in VB6.0? I have looked at the TTS white paper, but it is all in Java. I can get the text to voice portion working, but not the character lip movements. |
| | | | Newbie
       
Group: Forum Members Last Login: 9/25/2009 8:51:21 PM Posts: 1, Visits: 8 |
| Ok, old thread, but somewhat relevant to my problem.
I downloaded the sample app (thanks Visconti!) and it works for me, but I'm trying to duplicate the functionality in the .net environment.
I have imported the CrazyTalk4 and RLTTSComponent ActiveX Controls using aximp, added them to my Tools and created instances of them on my form.
I am able to get TTS to work using axRLTTSComponent1.TextContent and axRLTTSComponent1.Play()
(The "ax" names are how they came out of the import and I just left them).
I am able to get CrazyTalk4 to use a model play a script.
What I can't accomplish is getting the two to work together.
When I try to AttachCtrl via axRLTTSComponent1.AttachCtrl(axCrazyTalk41) I always get a COM error that the member is not found.
If I try axRLTTSComponent1.AttachCtrl(null) I don't get that error, so it seems like the Method is there but it's not seeing the correct type for the object argument?
Any chance anyone has done this or has sample code? Thanks!
-Glenn |
| | | | Newbie
       
Group: Forum Members Last Login: 10/9/2009 4:28:53 AM Posts: 2, Visits: 6 |
| I'm facing the same problem, I can't use AttachCtrl. Also I tried AxRLTTSComponent1.AttachCtrl(AxCrazyTalk.GetOcx()) it doesn't show an error, but it also doesn't lipsync with the character.
I'm not sure what's wrong with it!
Also the posted attachment (by Visconti) seems having the same issue, the character doesn't lipsync in TTS mode. And there is a tab called "RL Sync RT" which is in "Coming soon" !
Any progress in this part ?
The old API was working perfectly, this one is complicated. Please help. |
| | | | Junior Member
       
Group: Senior Forum members Last Login: 11/12/2009 3:24:37 AM Posts: 23, Visits: 358 |
| There is no problem in my desktop.
Is your TTS works in your computer? you may check the SAPI4 or 5 works first 
As I know, some TTS engine not provide lips data, so it will not works in CrazyTalk component. |
| | | | Newbie
       
Group: Forum Members Last Login: 10/9/2009 4:28:53 AM Posts: 2, Visits: 6 |
| Aha Thanks edward for your reply.
Yes the old version of SAPI wasn't installed in Windows 7, I have download a file called MSTTSL.exe which installs SAPI 4.1 and now I can lipsync the character with TTS in the .Net environment 
To viewtv2000, here is the code which will solve your problem:
axRLTTSComponent1.AttachCtrl(axCrazyTalk41.GetOCX())
I hope the upcoming API supports SAPI 5.3 which comes with Windows Vista and 7.
|
| |
|
|