Pages: [1]   Go Down
Author Topic: How can I implement Speech Recognition w/ just a mic & opamp?  (Read 1167 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I want to make a robot that does the following when told just "1" of the commands next to the action:
  • (Go Forward 1') = ("ONE!" || "MOVE!" || "GO!" || "UP!" || "FRONT!")
  • (TURN In Place CLOCKWISE 90o) = ("TWO!" || "TURN!")
Also I only have 2 mics & 4 op-amps, so this project has to be implemented throw software only...
Logged

As always... Thanks for posting!!!

Portugal
Offline Offline
God Member
*****
Karma: 6
Posts: 962
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you know how to code some speech recognition code for a computer?
If so you can try to port it to Arduino but I dont think you have enought ram or processing power for that.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33374
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can't do it with just a mike & op amp.
Not enough memory or processing power.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

how about if we simplify the speech?
like this:
Forwards = "ONE!" + (Pause > 3seconds)
Backwards = "ONE!_ONE!" + (Pause > 3seconds)

also I want to make sure you 2 read the part where i said that i'm going to use only 2 words total to control the Arduino...
Logged

As always... Thanks for posting!!!

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

also I have an Arduino mega 1280...
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33374
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
how about if we simplify the speech?
No it can't be done.

The best you can hope for is some sort of sound level trigger, sound = trigger1, sound pause sound = trigger2
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

that is kinda what i was saying:
Sound of lengthX, then ~0.3_second pause, thenSound of lengthX, then 3_second pause = trigger1
Sound of lengthX, then 3_second pause = trigger2
Logged

As always... Thanks for posting!!!

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

but what should the code be?
Logged

As always... Thanks for posting!!!

0
Offline Offline
Sr. Member
****
Karma: 2
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That should be possible but could result in some false positives. Also, you could implement pitch detection with an FFT and then sing to it (if you can reproduce a note)
Logged

Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 602
Posts: 33374
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A bit like this:-
http://www.arduino.cc/en/Tutorial/KnockSensor
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 199
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sparkfun.com (down right now) has a speech recognition device - can't recall how it's interfaced- that is all off board.  Worth noting.
Logged

Pages: [1]   Go Up
Jump to: