Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, degenerate_762, AndrewAMD, ozgur), 774 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Re: Speech Recognition DLL using Windows Speech API [Re: Clemens] #358090
02/09/11 18:02
02/09/11 18:02
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
If you have no microphone plugged in, the .dll crashes.

But it also doesn't work with a plugged in microphone for me. I press the start listening button [2] and talk something. Then I press the stop listening button [1] but I no recognised sentences appears on the screen?!

I'm using Win 7.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Speech Recognition DLL using Windows Speech API [Re: Dark_samurai] #358111
02/09/11 18:37
02/09/11 18:37
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
No, I guess these buttons are for activate and deactivate the whole process.

His script example recognize with is_listening at its own if you're speaking. I had problem with that -> recogniziting it too late.
So you can try my code, maybe you've more luck then wink

Last edited by Clemens; 02/09/11 18:45.
Re: Speech Recognition DLL using Windows Speech API [Re: Clemens] #358289
02/10/11 13:15
02/10/11 13:15
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline OP
Serious User
PadMalcom  Offline OP
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Hey, Clemens, thanks for your update. I'm happy that someone uses the DLL.

I think I don't have the code anymore but I'll have a look at it when I'm home. Since the dll uses the WindowsXP Speech Recognition API I am pretty sure that there exists no compatibility with Windows 7. German will be supported if the Windows Speech API supports German language wink

If I do not respond in this topic please remind me via PM at the weekend.

Re: Speech Recognition DLL using Windows Speech API [Re: PadMalcom] #358302
02/10/11 16:35
02/10/11 16:35
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
Oh, hopelly you didn't lost the source code. Hoy much time did you invest..?
The supported operating systems depends on the version number, so probably it's not a big thing to upgrade. Also german and more languages are integrated since version 5. ( wiki / wikiger )

okay, will remind you if required wink

Re: Speech Recognition DLL using Windows Speech API [Re: Clemens] #376607
07/04/11 23:56
07/04/11 23:56
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
can someone assist me in converting this to A6 c-script please? i need it for a small game i am working on for my students that are having problems decoding words and reading. can someone please help or point me in the right direction to converting it?


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Speech Recognition DLL using Windows Speech API [Re: Blink] #376775
07/06/11 16:53
07/06/11 16:53
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Is there no one that can point me in the right direction for converting this to A6 c-script, and how to implement this? i would appreciate whatever assistance i can get. thanks in advance.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Speech Recognition DLL using Windows Speech API [Re: Blink] #376781
07/06/11 18:13
07/06/11 18:13
Joined: Jul 2004
Posts: 1,710
MMike Offline
Serious User
MMike  Offline
Serious User

Joined: Jul 2004
Posts: 1,710
Why not use lite-c? Its the same thing almost like wdl.

try to download and then test the included files..

run the .c file!

Re: Speech Recognition DLL using Windows Speech API [Re: MMike] #376798
07/06/11 19:37
07/06/11 19:37
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
@MMike: Why don't you try to read his posts more carefully? He already said that he is using A6, which does not support lite-C. Furthermore I guess he has his reasons to not use A8 (which has a free-edition I might add).

Re: Speech Recognition DLL using Windows Speech API [Re: Xarthor] #376822
07/06/11 20:54
07/06/11 20:54
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Icant mix code, the project is in c-script, and i dont really know lite-c to start all over. i just want to know how to revert the code to c-script so i can use it. its really not too many lines of code, but i dont know what the proper code structure is to use in c-script.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Speech Recognition DLL using Windows Speech API [Re: MMike] #377414
07/12/11 20:27
07/12/11 20:27
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
ok, i tried to convert it to c-script and i am a bit stuck. i dont really understand how to write functions for these empty/nonexistent functions.

function init_speech();

Has to be called to init the Ole Object.

---

function free_speech();

Frees the Ole Object after using it. Should be called on engine shutdown.

---

function stop_listening();

Pauses the listening process. If the dll is listening at the moment it will
finish the current sentence and THEN stop listening.

---

function start_listening();

Resumes listening after the process has been paused.

---

function is_listening(var* myres);

Writes the current state of the dll to the var "myres".
0 = waiting for input
1 = receiving input

---

function get_last_sentence(STRING* sentence);

Puts the received sentence in the string "sentence".

can someone help me create functions here in c-script?

i re-wrote the entire code from lite-c to c-script, but i get errors on these functions that dont exist.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Page 3 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1