Discuss Scratch

mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

da-maker wrote:

ScolderCreations wrote:

mrcreatorluigi wrote:

I thought it was easy.
set [speaking? v] to [1]
speak [hello]::pen
set [speaking? v] to [0]
That would only report 0, and never 1. I think you misunderstood the suggestion.
The workaround here isn't assuming the new behavior of the "speak []" block that was initially suggested. It assumes the current behavior, which waits until the speaking is finished.
Yea I got confused.
mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

bump
k7e
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

Nothing is permanent except for Sharpie

Last edited by k7e (Aug. 13, 2021 23:15:12)

k7e
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

I like this except for one thing: people could think the new speak block is like the old one. And people could just use broadcasts.

Last edited by kaj (Aug. 13, 2021 19:27:57)
mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

k7e wrote:

I like this except for one thing: people could think the new speak block is like the old one. And people could just use broadcasts.[
Both questions are right. But broadcasts used for this can be pretty annoying if your project is filled with them.
gosoccerboy5
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

PkmnQ wrote:

Chiroyce wrote:

mrcreatorluigi wrote:

I just think the workaround is a bit quicker and less messy
Then why don't you use it then?
I think he mixed up his words. It's just weird that you have a variable whose only purpose is to assist in a workaround.
That's life with Scratch…
Buhron8312480alt
New Scratcher
13 posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

So like
speak []::pen
[/scratchblocks
play sound [speak v]
ScolderCreations
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

Buhron8312480alt wrote:

So like
speak []::pen

play sound [speak v]
fixed it
mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

bump
mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

bump
BanMeOS
Scratcher
500+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

What if alredy existing speak blocks are replaced with the speak until done?
Anyway, workarounds:
Speak
when green flag clicked
speak [msg]

when I receive [speakText v]
speak (msg) ::pen

define speak (txt)
set [msg v] to (txt)
broadcast [speakText v]

define speak (text) until done
set [msg v] to (text)
broadcast [speakText v] and wait
mrcreatorluigi
Scratcher
1000+ posts

TEXT TO SPEECH: “speak []” and “speak [] until done”

BanMeOS wrote:

What if alredy existing speak blocks are replaced with the speak until done?
Anyway, workarounds:
-snip-
I guess that could work, but the block I’m suggesting could also be easier for users that know the TTS extension, but not custom blocks.

Powered by DjangoBB