This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-09-14 10:25:49

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Voice Recognition

abu_developer wrote:

Speech recognition in Scratch is difficult because:
1) basic sampling rates need to be about 2X the highest frequency ... human speech then would need to be sampled at a minimum of about 5000 times per second.
2) on my macbook (2GHz) machine, I can get a counter to count to 42 in 1 second.
3) if you were able to store the "amplitude" or volume of each of those samples in a list you would get roughly 5000 items in a list every second.

Not trying to be a nay-sayer, but I don't think Scratch is quite the tool you want to do this kind of programming!

CHEERS

I agree, Scratch is not fast enough  hmm


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#27 2011-09-14 13:11:18

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Voice Recognition

I beleive google did that, but I'm not sure it's possible with Squeak. It would take hours of work just to make it recognize one type of voice, so I think this would be pretty much impossible unless you use another programming language, which is out of the answer, sorry!  smile


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#28 2011-09-14 13:34:07

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Voice Recognition

WindowsExplorer wrote:

I beleive google did that, but I'm not sure it's possible with Squeak. It would take hours of work just to make it recognize one type of voice, so I think this would be pretty much impossible unless you use another programming language, which is out of the answer, sorry!  smile

Google did that but it still recognizes words for other words  hmm

Offline

 

#29 2011-09-14 13:48:29

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Voice Recognition

LS97 wrote:

WindowsExplorer wrote:

I beleive google did that, but I'm not sure it's possible with Squeak. It would take hours of work just to make it recognize one type of voice, so I think this would be pretty much impossible unless you use another programming language, which is out of the answer, sorry!  smile

Google did that but it still recognizes words for other words  hmm

Yea, and google only put that on an Adriod search app. Do you think the Nyan Cat Theme song is addictive?


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#30 2011-09-14 15:49:10

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: Voice Recognition

oh, come on, let's close this: squeak is so slow, it would be only possible with plug-ins, making it hard to implement online. also, what about other languages? there are maybe two-three voice recognitions in the world that partly work, and all being developed by big companies like google (and there are probably some we don't know about, made for CIA etc...)

Offline

 

#31 2012-01-14 08:43:04

AldebaroKlautau
New Scratcher
Registered: 2012-01-14
Posts: 2

Re: Voice Recognition

Writing a plug-in seems the only option to support speech recognition, but as pointed out, running code online from browsers gets more complicated. I am curious if plug-ins have been used to provide support to some feature other than speech recognition. In summary, I understand it is harder, but do you think it is possible to write / deploy plug-ins in Scratch?

PS: The accuracy of voice / speech recognition software has been improved considerably. Of course the state-of-art systems use sophisticated statistical algorithms. Constraining the grammar to few isolated words reduces the computational cost significantly.

Offline

 

#32 2012-01-14 09:40:14

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: Voice Recognition

One suggestion I have, is that we use the default windows 7 speech recognition feature.

I am using this right now to detect what I'm saying and writing it in this message.  It is actually pretty good at understanding what I'm saying.  I'm not sure how we will implement this, but I'm sure it could be done.


http://i.imgur.com/zeIZW.png

Offline

 

#33 2012-01-14 12:33:56

AldebaroKlautau
New Scratcher
Registered: 2012-01-14
Posts: 2

Re: Voice Recognition

Thanks for the reply. Yes, invoking Microsoft's speech recognition engine is one option. A limitation is that users of a "speech-enabled" Scratch application would have to have the engine locally installed. Users could not simply execute it from Internet using a browser.

We have been working with speech-enabled applications at the university I am affiliated to. I will discuss with our group the suggestion of using Microsoft's engine and give some feedback via this forum.

Offline

 

#34 2012-07-10 10:52:12

Scratcher456
Scratcher
Registered: 2010-12-04
Posts: 58

Re: Voice Recognition

I did a little experiment with this using <(loud)> and a list storing the values that would be compared with certain tolerances to a new sample. It actually worked reasonably well, so long as you said the word or words with the same tone every time. Test it out here: http://scratch.mit.edu/projects/Scratcher456/1993408 Oh, and yes, I am aware that this thread is kind of dead.


Mining diamonds, mining diamonds, mining diamonds...

Offline

 

#35 2012-07-10 13:06:32

Mokat
Scratcher
Registered: 2011-12-08
Posts: 1000+

Re: Voice Recognition

Not gonna happen, at least not until like scratch 3.0


http://www.eggcave.com/egg/977371.pnghttp://www.eggcave.com/egg/977376.pnghttp://www.eggcave.com/egg/1005291.pnghttp://www.eggcave.com/egg/996745.png

Offline

 

#36 2012-07-10 13:28:36

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: Voice Recognition

No.


Voice recognition is very hard to program. I don't even know if it's possible in Squeak. Plus, how would they implement it in the current block building interface? Plus it might be hard to use and have lots of user-defined technical inputs, and that can be confusing to younger Scratchers.


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

Board footer