Profile Picture

Crazytalk with VB

Posted By bwd2 17 Years Ago
Rated 5 stars based on 1 vote.
Author
Message
bwd2
bwd2
Posted 17 Years Ago
View Quick Profile
Senior Member

Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)

Group: Forum Members
Last Active: 17 Years Ago
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.
Visconti
Visconti
Posted 17 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)Distinguished Member (46.6K reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 1.0K, Visits: 3.0K
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.
https://forum.reallusion.com

Attachments
Component Demo.zip (433 views, 1.00 MB)
bwd2
bwd2
Posted 17 Years Ago
View Quick Profile
Senior Member

Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)Senior Member (488 reputation)

Group: Forum Members
Last Active: 17 Years Ago
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.
viewtv2000
viewtv2000
Posted 15 Years Ago
View Quick Profile
New Member

New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 2, Visits: 12
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
agizy1000
agizy1000
Posted 15 Years Ago
View Quick Profile
New Member

New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Last Active: 15 Years Ago
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.
Edward (RL)
Edward (RL)
Posted 15 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)Distinguished Member (1.0K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 298, Visits: 4.8K
There is no problem in my desktop.
Is your TTS works in your computer? you may check the SAPI4 or 5 works first Smile
As I know, some TTS engine not provide lips data, so it will not works in CrazyTalk component.
agizy1000
agizy1000
Posted 15 Years Ago
View Quick Profile
New Member

New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 2, Visits: 6
Aha BigGrin 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 Smile

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.

softbotz
softbotz
Posted 14 Years Ago
View Quick Profile
Senior Member

Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)Senior Member (425 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 8, Visits: 71
I was wondering if the the download is still any good. Downloads, but won't unzip. Also can't find CT4ComponentText.exe.

In any case, when I add the OCX to a VB6 Form, and using this code in Form_Load...

CT.LifeMode = "1"
CT.ModelName = "C:\test\head_0.ctm"
CT.ScriptName = "C:\test\Super hero_02.cts"
CT.ControlStyle = "1"
CT.BorderStyle = "1"
CT.MenuStyle = "0"
CT.AutoPlay = "1"
CT.Play 0

I get one of two things happen...

1. Nothing

2. Program freezes.

I'm missing something somewhere?

Thanks

Peter (RL)
Peter (RL)
Posted 14 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)Distinguished Member (115.8K reputation)

Group: Administrators
Last Active: 4 hours ago
Posts: 22.7K, Visits: 35.7K
The zip file opens for me (in PowerArchiver) and shows one file also called Component_Demo.

This file is actually another zip but isn't named correctly so what you need to do is extract this one file and then rename it to add a zip on the end. Then it will open correctly and you will find all the files you need.

Hope this helps. Smile

                                                                

Peter
Forum Administrator

www.reallusion.com


viewtv2000
viewtv2000
Posted 14 Years Ago
View Quick Profile
New Member

New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)New Member (2 reputation)

Group: Forum Members
Last Active: 13 Years Ago
Posts: 2, Visits: 12
agizy1000 (10/9/2009)
To viewtv2000, here is the code which will solve your problem:

axRLTTSComponent1.AttachCtrl(axCrazyTalk41.GetOCX())


Thanks agizy1000! That did solve my problem! I only wish I had been subscribed to this topic (I assumed it would happen automatically when I posted) so I could have thanked you in a more timely manner.



Reading This Topic