Discuss Scratch

mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

READ THIS BEFORE POSTING OR WATCH THE PROJECT:
TL;DR: ANY “WORKAROUND” INVOLVING CODE AT ALL IS NOT VIABLE FOR THE PERSON VIEWING THE PROJECT.

The following is not a workaround:
define say (text)
say (text)
speak (text) :: pen tts
say []

Picture this. You are someone who creates a project. You can hear and use sound on your device just fine. You make a project with text to speech, and you can use it perfectly. You don't think to add subtitles, because you can use the project just fine. So, you share it without subtitles.

Then, imagine you are someone who is hearing impaired, or cannot use sound on your device. You see the project above and want to view it. However, you can't. This severely limits the things you can do with Scratch and is just a bad experience in general.

This suggestion is not for the people making projects. It is for the people viewing them, so they can enjoy it as much as possible.

Thank you for reading. And now onto the post:

Description:
My suggestion is to add an option in the editor to see subtitles of the TTS.
This is how the subtitles would look:

If there are two or more sprites talking, they would look like see in the picture.

As pointed out by #100, some people use different languages to get more voices and adjust the text to fit the language. However, this isn't very helpful in subtitles, for example “Helo, hau a iu duing?”, “Хэлоу, хау а иу дуин?” or even “해로, 하 ㅏᆯ ㅠ 두ᅱᆼ” for “Hello, how are you doing?”. Therefore, a new block would ideally be added:
speak [Helo, hau a iu duing?] transcript [Hello, how are you doing?]::pen tts
speak [Хэлоу, хау а иу дуин?] transcript [Hello, how are you doing?]::pen tts
speak [해로, 하 ㅏᆯ ㅠ 두ᅱᆼ] transcript [Hello, how are you doing?]::pen tts

Pros:
Hearing impaired people can play text-to-speech projects
Some people don't have audio output on their devices

ScolderCreations wrote:

sometimes TTS doesn't work properly even if it should.

Cons:
None I can think of. If you think of any, please post them.

Edit: There is now an ASL tutorial. The ST clearly cares about accessibility!

Last edited by mybearworld (Aug. 10, 2023 11:48:13)


Signatures are the only place where assets links still work.
ScolderCreations
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

So basically, TTS subtitles? Support, because not everyone can hear the project, and sometimes TTS doesn't work properly even if it should.

mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

ScolderCreations wrote:

So basically, TTS subtitles?
Yes! I'll rename this topic because that explains it better, thanks!

ScolderCreations wrote:

sometimes TTS doesn't work properly even if it should.
Really? I've never experienced that? If you did, then that's another pro.

Signatures are the only place where assets links still work.
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

Support. subtitles are a great way to include deaf people, so they can enjoy your project too, without the creator having to go through the process of creating text. maybe this could be an option in account settings instead? I also tend to have my volume low all the time, so this may prove useful to me, too.
mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mitdk wrote:

I also tend to have my volume low all the time, so this may prove useful to me, too.
Funny, I thought about that, then edited the OP to add that, and then I see you just posted this!

mitdk wrote:

maybe this could be an option in account settings instead?
That was my original idea, but then I decided to change that because of the offline editor.

Signatures are the only place where assets links still work.
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mybearworld wrote:

mitdk wrote:

I also tend to have my volume low all the time, so this may prove useful to me, too.
Funny, I thought about that, then edited the OP to add that, and then I see you just posted this!

mitdk wrote:

maybe this could be an option in account settings instead?
That was my original idea, but then I decided to change that because of the offline editor.
Ah, OK. I think we should also have it somewhere on the project page. It wouldn't be the best idea to keep this sort of feature hidden away under the edit tab. Maybe, on the project page, under the text to speech extension box thing, there could be an option where you can turn on/off subtitles? Kinda like the ‘See data’ button on Cloud vars.

Last edited by mitdk (Aug. 14, 2021 21:49:27)

mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mitdk wrote:

Ah, OK. I think we should also have it somewhere on the project page. It wouldn't be the best idea to keep this sort of feature hidden away under the edit tab. Maybe, on the project page, under the text to speech extension box thing, there could be an option where you can turn on/off subtitles? Kinda like the ‘See data’ button on Cloud vars.
Now you said that, what about cloud variables? Having to see inside would break those. I'll add some mockups in to the OP:



Signatures are the only place where assets links still work.
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mybearworld wrote:

mitdk wrote:

Ah, OK. I think we should also have it somewhere on the project page. It wouldn't be the best idea to keep this sort of feature hidden away under the edit tab. Maybe, on the project page, under the text to speech extension box thing, there could be an option where you can turn on/off subtitles? Kinda like the ‘See data’ button on Cloud vars.
Now you said that, what about cloud variables? Having to see inside would break those. I'll add some mockups in to the OP:


Yeah, that second mockup was exactly what i meant.

Last edited by mitdk (Aug. 14, 2021 22:00:33)

mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mybearworld wrote:


Maybe instead of an arrow there could be a ‘CC’ icon at the beginning? No need to change the mockup though, it captures the general idea. I also think that the subtitles should play under the project player, so it doesn't disrupt any visuals, or it could be movable, like youtube.

Last edited by mitdk (Aug. 14, 2021 22:05:12)

mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mitdk wrote:

Maybe instead of an arrow there could be a ‘CC’ icon at the beginning?
Maybe, I'm not sure how it would be designed though.

Signatures are the only place where assets links still work.
Quantum-Cat
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

Support. I think this is a great way to make scratch more accessible to people with hearing difficulties.

mybearworld wrote:

Cons:
None I can think of. If you think of any, please post them.
In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.

Notice: Everything below the solid grey line (↑↑) above is my signature and appears on every post I make. Here, it is okay for you to advertise
your projects and other creations. To create your own, scroll to the bottom of the Discussion Home page and select “change your signature”.

I aplogise if I seem a bit too serious on the forums, but I am always open to feedback on my profile.
Past PPTBF Curator || Forum Helper (TFH) || Some Python, HTML and C

————————————————————————————

————————————————————————————
Quantum-Cat
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

Quantum-Cat wrote:

-snip-
In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.
Yeah that's what i was thinking too:

mitdk wrote:

-snip-
I also think that the subtitles should play under the project player, so it doesn't disrupt any visuals, or it could be movable, like youtube.

Last edited by mitdk (Aug. 14, 2021 22:14:58)

mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

Quantum-Cat wrote:

In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.

Something like that maybe?

Signatures are the only place where assets links still work.
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mybearworld wrote:

Quantum-Cat wrote:

In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.

Something like that maybe?
Yeah, works. You should add this mockup to the OP. I'm assuming that if it got too long, it would automatically move to the next line?

Last edited by mitdk (Aug. 14, 2021 22:18:11)

ScolderCreations
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

mybearworld wrote:

Quantum-Cat wrote:

In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.

Something like that maybe?
that would overlap “turbo mode”

mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

ScolderCreations wrote:

mybearworld wrote:

Quantum-Cat wrote:

In terms cons, the only one I can think of is how would you make sure the subtitles don't cover an important part of the project.

Something like that maybe?
that would overlap “turbo mode”
I think it could move to the side if turbo mode is activated.

Last edited by mitdk (Aug. 14, 2021 22:19:47)

BUCKCLUCKFROMROBLOX
Scratcher
32 posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

support
mitdk
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

BUCKCLUCKFROMROBLOX wrote:

support
Please explain why.
mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

ScolderCreations wrote:

that would overlap “turbo mode”
It would be after “Turbo Mode” of course.

mitdk wrote:

I'm assuming that if it got too long, it would automatically move to the next line?
Yes.

mitdk wrote:

You should add this mockup to the OP.
Done.

Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

Text-to-speech subtitles for project viewers [!!! READ BEFORE POSTING !!!]

bump

Signatures are the only place where assets links still work.

Powered by DjangoBB