speech recognition using flowcode

Any general or miscellaneous queries that do not fit into the other forum catagories

Moderators: Benj, Mods

geetansh
Posts: 29
Joined: Tue Jun 21, 2011 4:23 pm
Has thanked: 3 times
Been thanked: 3 times
Contact:

speech recognition using flowcode

Postby geetansh » Sun Jul 03, 2011 7:42 am

hi guys
i have gone through some basic projects like blinking leds directly ,blinking leds by taking analog input from potentiometer, a board with lm35 on it to sense temperature and to display it on lcd n my last one was an electronic lock.

now i want to do something serious with speech recognition , i want to start with lights on & off. when i will say "lights on" leds should glow and should go off when i say "lights off"
the problem is i don't know from where to start,i saw speech in mechatronics section but there is no information available on how to use.
so please tell me and give me some links to study and to get started with speech recognition.
thanks

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 381 times
Been thanked: 714 times
Contact:

Re: speech recognition using flowcode

Postby JohnCrow » Sun Jul 03, 2011 9:11 am

Hi Geetansh

Bert van Dam's Flowcode book "Microcontroller Systems Engineering" has a section on simple speech control.(Section 4.14)

The flowchats are copyright so I'm not able to post them here but you can download the programs for all his books from his website.
The project is actually for the 32 bit Arm processor but you should be able to use Flowcodes import function. This should give you some ideas
Though I would expect the 8 bit PIC may only be capable of very simple commands.
Just another thought, the program is for FC4 but you should be able to use it with the FC4 trial version, as I dont think it uses the advanced components.

http://www.vandam.tk/

(Note. It seems to redirect you to the Elektor magazine site to dowload the software package)
1 in 10 people understand binary, the other one doesn't !

geetansh
Posts: 29
Joined: Tue Jun 21, 2011 4:23 pm
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: speech recognition using flowcode

Postby geetansh » Sun Jul 03, 2011 7:01 pm

hi sir
i have some problems with this method sir
the concept used here for speech recognition is adding analog inputs from microphone,so the leds in this program will glow even if i say something else whose analog inputs addition will be close to that of words "lights on".
here it is not recognizing the words said , it has nothing to do with words said, it is just that the addition of analog inputs should be closed to the value saved to glow leds.-thats the first problem.
now second one is that is takes input only when a switch is on and if i use this method without using a switch then it will keep sampling the analog inputs everytime n many words said in my room will correspond to a value which will glow leds.

so is there any other way to use speech recognition??
whats the use of speech option in mechatonics option of flowcode?? it can be used for speech recognition or not??
thanks

geetansh
Posts: 29
Joined: Tue Jun 21, 2011 4:23 pm
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: speech recognition using flowcode

Postby geetansh » Tue Jul 05, 2011 6:37 am

someone please help on above questions.

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4080 times
Contact:

Re: speech recognition using flowcode

Postby Benj » Tue Jul 05, 2011 9:49 am

Hello,

The Flowcode speech component outputs speech phonemes rather then perform input recognition.

Speech recognition is very complicated and to do it correctly you will probably need at least a dsPIC if not a high powered ARM. There are probably some good example projects online if you do some hunting. Unfortunately it is something we have never really looked into supporting mainly due to the complexity and resources that would be required.