Discuss Scratch

JakeDoesYoutube
Scratcher
1 post

Is there a way to make a game that listens to your mic and repeats back what you said?

I am trying to make a little game based on the fictional “Talking Glog” game on the Glagglepedia Wiki. It's literally just Talking Tom, but with a smiley face.
gdfsgdfsgdfg
Scratcher
1000+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

In scratch there is no way that you can detect phrases from your mic
so it might be impossible
so you had to do a
askandwait
the use
speakanswer
donotforgetmycode
Scratcher
1000+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

It would be impossible. There's no way for a Scratch project to record microphone input.

edit: misread the post, and thought it was asking if it was allowed.

Last edited by donotforgetmycode (July 7, 2023 14:21:58)

Asyadfghjkl
Scratcher
100+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

it would be possible if there where a pitch block
gdfsgdfsgdfg
Scratcher
1000+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

Asyadfghjkl wrote:

it would be possible if there where a pitch block
but how would it detect words then?
Zydrolic
Scratcher
1000+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

You could attempt to backtrace the exact loudness of each word(impossible), but that'd go on until the end of the universe with trying to get the exact loudness count, and the loudness variable cannot return decimals. And that could still be bypassed by someone talking loudly, breaking the entire thing.
Not to mention that'd be just with a text to speech ai, which doesn't even sound like how pronounciation is done(it's literal AI so I think you knew that.)

I.e, no.

Last edited by Zydrolic (July 7, 2023 14:08:57)

robbie200909
Scratcher
1 post

Is there a way to make a game that listens to your mic and repeats back what you said?

cant you make you own block?
Plants4Life1200
Scratcher
100+ posts

Is there a way to make a game that listens to your mic and repeats back what you said?

robbie200909 wrote:

cant you make you own block?
Yes, but you have to define it using the blocks that are already in the scratch editor, and none of which include a word detector.

Powered by DjangoBB