Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Making DBP says what you type?

Author
Message
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 14th Mar 2007 16:54
Can you make DBP say what you type.

Example:

What do you want me to say? Helllo, Bob.

and it says "Hello, Bob."?

Thebeely
21
Years of Service
User Offline
Joined: 4th May 2005
Location: Croatia
Posted: 14th Mar 2007 17:05
Sure you can!

It's just very, very hard But, heh, everything is possible...


blah569
19
Years of Service
User Offline
Joined: 10th Aug 2006
Location: Austin, TX
Posted: 14th Mar 2007 17:18
It's really not that hard, I haven't done this any a while so try this:

input "",$input
wait key

That should do it.

Been programming in php for a long time now. C++, Java, Dark BASIC Pro, etc are fun as well.
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 14th Mar 2007 17:23
To SAY whatever you type?! You know TALK?

dark coder
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 14th Mar 2007 17:28
The Enhancements plug in has this feature, though I never got it to work due to the awesomely coded and informative error "10" however I'd rather not listen to Microsoft Sam as the voice is rather annoying and doesn't pronounce everything correctly, so you're best off recording your own.

Torq
22
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 14th Mar 2007 17:32 Edited at: 14th Mar 2007 17:38
I thought there was a free text to speech dll floating around here somewhere. Ill look real quick and see if I can find it.

Edit :
It was here

http://www.codingarea.co.uk/html/downloads.html

Link is now dead.
I will look around my hard drive tonight and see if I have it laying around somewhere. If I still have it Ill post it.

Whats the RED button for ?

http://badtempergames.tripod.com
Alquerian
20
Years of Service
User Offline
Joined: 29th Mar 2006
Location: Reno Nevada
Posted: 14th Mar 2007 18:36
JSG - This might work for ya:
http://www.gamemaker.nl/resources/voice.zip

Quit planning to make a game and make a game.
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 14th Mar 2007 18:54
Thanks

Torq
22
Years of Service
User Offline
Joined: 18th Jan 2004
Location:
Posted: 14th Mar 2007 19:33
Found the dbp dll and some source.

Here is the speech dll and some source.

Whats the RED button for ?

http://badtempergames.tripod.com
Pharoseer
19
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 15th Mar 2007 00:22
Hey guys, I was actually playing around with this just the other night. If you have the expansion pack as Dark Coder mentioned, it\'s actually pretty easy (or has been for me). Also, if you want to have a couple of extra voices to listen to, download the MS Speech API and it will install two new voices for you, Microsoft Mike and Microsoft Mary. They\'re not really an improvement over Microsoft Sam, but at least they lend a bit of variety.

Here\'s the link for the Speech API:

http://www.microsoft.com/downloads/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en

I\'ve also included the code that I was playing with the other day to give you an idea of how it works.

Login to post a reply

Server time is: 2026-06-10 10:07:34
Your offset time is: 2026-06-10 10:07:34