Discuss Scratch
- Discussion Forums
- » Suggestions
- » TEXT TO SPEECH: “speak []” and “speak [] until done”
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Yea I got confused.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.That would only report 0, and never 1. I think you misunderstood the suggestion. I thought it was easy.set [speaking? v] to [1]
speak [hello]::pen
set [speaking? v] to [0]
- k7e
-
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
-
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)
Last edited by kaj (Aug. 13, 2021 19:27:57)
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Both questions are right. But broadcasts used for this can be pretty annoying if your project is filled with them. 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.[
- gosoccerboy5
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
That's life with Scratch…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.Then why don't you use it then? I just think the workaround is a bit quicker and less messy
- Buhron8312480alt
-
13 posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
So like
speak []::pen
[/scratchblocks
play sound [speak v]
- ScolderCreations
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
fixed it So likespeak []::pen
play sound [speak v]
- BanMeOS
-
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
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
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
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. What if alredy existing speak blocks are replaced with the speak until done?
Anyway, workarounds:
-snip-
- Discussion Forums
- » Suggestions
-
» TEXT TO SPEECH: “speak []” and “speak [] until done”