Discuss Scratch
- Discussion Forums
- » Suggestions
- » TEXT TO SPEECH: “speak []” and “speak [] until done”
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
So when using the “Speak hello” block from the Text to Speech block section, the script wont continue until the speech is done talking. I found this a slight problem in my projects.
So I wish there were “Speak hello until done” and “Speak hello” blocks seperately, and have older projects' scripts have the block renamed to “Speak hello until done.” Here is what I'm talking about:
This script will run even if the text to speech is still playing:
this is the 2nd post I’ve ever posted outta 600
So I wish there were “Speak hello until done” and “Speak hello” blocks seperately, and have older projects' scripts have the block renamed to “Speak hello until done.” Here is what I'm talking about:
This script will run even if the text to speech is still playing:
speak [hello]::penAnd this will run the next part of the scripts until it is done speaking
speak [hello] until done::pen
this is the 2nd post I’ve ever posted outta 600
Last edited by mrcreatorluigi (Aug. 8, 2021 00:49:18)
- DarthVader4Life
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
This might break some projects. What I mean is that if
So each instance of
speak [] :: penContinues the script below it, then every instance of it's use will make the script continue ahead of time.
So each instance of
speak [] :: penshould be replaced with
speak [] until done :: penas to avoid breaking any (or most) projects.
Last edited by DarthVader4Life (Aug. 21, 2021 18:50:32)
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
That is what I want to happen as well, the old blocks will have the same properties and will have a different name
Last edited by mrcreatorluigi (July 2, 2021 00:03:25)
- Chiroyce
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
You can do this!
when I receive [speak v]
speak (to be spoken) :: pen
when green flag clicked
set [text to be spoken v] to [hello world]
broadcast [speak v]
... // code to be run when speaking
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Removed
Last edited by mrcreatorluigi (Aug. 7, 2021 23:44:23)
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Bump, because this still interests me
- MasterofTheBrick
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
No support. All you need is a broadcast, as shown by Chiroyce.
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
I just think the workaround is a bit quicker and less messy, because a bunch of broadcasts over TTS blocks is quite ridiculous. No support. All you need is a broadcast, as shown by Chiroyce.
- Chiroyce
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Then why don't you use it then? I just think the workaround is a bit quicker and less messy
- PkmnQ
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
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
- orangeicecream23
-
100+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
You can clicked the speak block with the text inside,
Then record it.
Upload it into the sound editor.
Use the
for
and play sound until done for speak until done.
Then record it.
Upload it into the sound editor.
Use the
play sound [Text to be spoken v]
for
speak []:: pen
and play sound until done for speak until done.
- Chiroyce
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Then it cannot be dynamic, like how the block is supposed to perform, so it isn't a workaround. You can clicked the speak block with the text inside,
Then record it.
Upload it into the sound editor.
- wvj
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Support! The workaround with broadcasts is long
- han614698
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
No support, this will break soooo many existing projects.
- Chiroyce
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
They're suggesting to add a block, not remove one and add another lol No support, this will break soooo many existing projects.
- han614698
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
But the “speak []” will change function, where it will move on while it’s still saying the text which means that some projects will be broken.They're suggesting to add a block, not remove one and add another lol No support, this will break soooo many existing projects.
- PkmnQ
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
But the “speak []” will change function, where it will move on while it’s still saying the text which means that some projects will be broken.They're suggesting to add a block, not remove one and add another lol No support, this will break soooo many existing projects.
This might break some projects. What I mean is that ifspeak [] :: penContinues the script below it, then every instance of it's use will make the script continue ahead of time.
So each instance ofspeak [] :: penshould be replaced withspeak [] until done :: penas to avoid breaking any (or most) projects.
That is what I want to happen as well, the old blocks will have the same properties and will have a different name
- mrcreatorluigi
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Yes once again, to avoid breaking old projects the “speak ()” block would be renamed to “speak () until done” to keep its function.
Last edited by mrcreatorluigi (Aug. 8, 2021 19:08:36)
- SuperMarioHome
-
100+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Support if we had:
Projects using the former should not be broken with the latter. They should continue using the former.
speak [Hello, world!] :: pen
//and
speak [Hello, world!] until done :: pen
Projects using the former should not be broken with the latter. They should continue using the former.
Last edited by SuperMarioHome (Aug. 9, 2021 18:05:42)
- ScolderCreations
-
1000+ posts
TEXT TO SPEECH: “speak []” and “speak [] until done”
Support, as this would make it easier to run other scripts at the same time. However, I also would like a block that reports whether or not there is text being spoken. This would be helpful, in certain cases.
- Discussion Forums
- » Suggestions
-
» TEXT TO SPEECH: “speak []” and “speak [] until done”