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 / Speech recognition?

Author
Message
Dragon Knight
19
Years of Service
User Offline
Joined: 10th Jan 2007
Location: Newcastle
Posted: 6th May 2010 23:37
Is it possible with dark basic pro, it's been a while since I've programmed in dark basic but i'd like to do a proto-type using speech recognition.

Basically i'd like to grab a wave file from the Mic, save it, and compare two wave files with an adjustable percentage of leniency, to determine weather a command is given.

I'd like to first try with something simple like digits, saying One/Two/Three.../Ten and having the computer respond with written text outputting what has been said.

As you can tell this could probably benefit quite a few users, for example a FPS could have commands like "Breach Bang and Clear!", and having their troops run in guns-a-blazing. My purpose though is more aimed at making my life more of a convenience. Like saying "Weather Forecast" and having the computer check online yada yada and reply.

Anyone have any ideas??? Or any suggestions of where to start, i'm guessing memblocks?

BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 7th May 2010 01:43
Definitely MAKE MEMBLOCK FROM SOUND. The easiest way would probably to have all the sounds you want it to respond to pre-recorded. Then you record a sound and compare it to the pre-recorded ones. Not sure how you would do the comparison, though.

Dark Dragon
19
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd May 2010 23:34
Quote: "Then you record a sound and compare it to the pre-recorded ones. Not sure how you would do the comparison, though"

I'm guessing compare all the values generated from the MAKE MEMBLOCK FROM SOUND command for simularity.......but thats just a theroy. I might even try this....

jeffhuys
20
Years of Service
User Offline
Joined: 24th May 2006
Location: No cheesy line here.
Posted: 27th Jul 2010 03:15
Quote: "I'm guessing compare all the values generated from the MAKE MEMBLOCK FROM SOUND command for simularity.......but thats just a theroy. I might even try this....
"

I'm so sorry for bumping this sky-high, but have you succeeded?

Mugen Wizardry
User Banned
Posted: 27th Jul 2010 15:31
I agree, does someone have an example of this?

CHECK OUT SOME MUSIC FROM MY NEW TECHNO CD! TECHNOKINESIS
http://www.youtube.com/watch?v=4a8KedfgVv0
ALSO, CHECK OUT MY NEW TECHNO CD! http://www.imageposeidon.com/
BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 8th Aug 2010 19:11 Edited at: 8th Aug 2010 19:13
I started to work on this, it doesn't quite work, but I'll post it in case anyone wants to work on it, I don't know if I'll have time.

This simplifies the sound into a series of points, forming sort of a curve that defines the sound, then checks to see if those points are close to those in a pre-recorded sample.

After you record the sound, use the left and right keys and the return key to define where the part of the sound you're actually interested in (the words you speak) actually is. The first time you run it, it won't have anything to compare to, so it will probably match all the blank space on the recording. On subsequent runs it will use the data from the previous run.



czzplnm
15
Years of Service
User Offline
Joined: 10th Aug 2010
Location:
Posted: 24th Aug 2010 05:41
I will definitely make something like this once I am done with my current projects. Godly to have Iron Mans computers capabilities. O_O

"The eternal mystery of the world is its comprehensibility."
-Albert Einstein
Join this vent for Dark Programming - lead.typefrag.com:16020

Login to post a reply

Server time is: 2026-07-23 12:09:53
Your offset time is: 2026-07-23 12:09:53