Discuss Scratch
- Discussion Forums
- » Connecting to the Physical World
- » Text to Speech extension
- procd
- Scratcher
100+ posts
Text to Speech extension
I have written a text to speech extension for the Scratch offline editor.
It is downloadable here https://app.box.com/s/j95ngv93lbkrzovx6ot6
The zip file contains a readme, s2e file and the extension exe file.
It was written in C# and runs on Windows. You don't need any hardware, just speakers so is handy for testing things out.
Note: The “speak %s and wait” block does not work as Scratch contains a bug which still is yet to be fixed.
Note2: speak and wait is now fixed unless the ST break it again!
If anyone wants the code then let me know and I'll see if I can stick it on github or similar.
Note3: github link later in post.
It is downloadable here https://app.box.com/s/j95ngv93lbkrzovx6ot6
The zip file contains a readme, s2e file and the extension exe file.
It was written in C# and runs on Windows. You don't need any hardware, just speakers so is handy for testing things out.
Note: The “speak %s and wait” block does not work as Scratch contains a bug which still is yet to be fixed.
Note2: speak and wait is now fixed unless the ST break it again!
If anyone wants the code then let me know and I'll see if I can stick it on github or similar.
Note3: github link later in post.
Last edited by procd (March 19, 2015 13:34:16)
- bccwuho
- New to Scratch
2 posts
Text to Speech extension
It's pretty neat and cool! I've tested it successfully with English. Thanks for your great work!
I want the code because it doesn't work with non-English. I think there might be adding stuffs like urlencode etc. Thanks.
I want the code because it doesn't work with non-English. I think there might be adding stuffs like urlencode etc. Thanks.
- procd
- Scratcher
100+ posts
Text to Speech extension
Thanks.
Everything should be urlencoded for the extension to work. I'd guess you'd need to set the charset properly in the header for foreign languages.
I'm new to git and have set up a repository but am looking at how to upload the files. I'll post again when its uploaded…hopefully this evening (GMT)
Everything should be urlencoded for the extension to work. I'd guess you'd need to set the charset properly in the header for foreign languages.
I'm new to git and have set up a repository but am looking at how to upload the files. I'll post again when its uploaded…hopefully this evening (GMT)
- procd
- Scratcher
100+ posts
Text to Speech extension
If you download the zip file the instructions are in the readme file.
Basically you get a speak block like the say block but instead of getting a speech bubble appear the computer will actually say the words you have typed.
Basically you get a speak block like the say block but instead of getting a speech bubble appear the computer will actually say the words you have typed.
- procd
- Scratcher
100+ posts
Text to Speech extension
Git repository is here https://github.com/scratch2procd/SpeakExtension
- bccwuho
- New to Scratch
2 posts
Text to Speech extension
Thanks.
Everything should be urlencoded for the extension to work. I'd guess you'd need to set the charset properly in the header for foreign languages.
I'm new to git and have set up a repository but am looking at how to upload the files. I'll post again when its uploaded…hopefully this evening (GMT)
Thanks for sharing the code.
I can't get it done with other language. Thanks anyway.
- procd
- Scratcher
100+ posts
Text to Speech extension
Maybe you know of a decent Chinese text to speech convertor and could integrate that?
- procd
- Scratcher
100+ posts
Text to Speech extension
It reports the gender of the selected voice being used. You would have to change the voice and hence gender in the control panel. You cannot change it via the extension.
- Vic20
- Scratcher
74 posts
Text to Speech extension
???
it gives me a: System.Net.HTTPListenerException
???
Please help!
it gives me a: System.Net.HTTPListenerException
???
Please help!
- gigapouch
- Scratcher
1000+ posts
Text to Speech extension
It reports the gender of the selected voice being used. You would have to change the voice and hence gender in the control panel. You cannot change it via the extension.
But there is only one voice in the Control Panel, it is either Microsoft Sam or sometimes, Microsoft Anna. It depends.
I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
- procd
- Scratcher
100+ posts
Text to Speech extension
Yes there are certain defaults II believe dependent on country. More are available but you have to buy them.It reports the gender of the selected voice being used. You would have to change the voice and hence gender in the control panel. You cannot change it via the extension.
But there is only one voice in the Control Panel, it is either Microsoft Sam or sometimes, Microsoft Anna. It depends.
- procd
- Scratcher
100+ posts
Text to Speech extension
Are you running the program as an Administrator?
Help me!
- MCjason2
- Scratcher
41 posts
Text to Speech extension
say [Is There A Notepad Edition?] for (2) secs
play sound [Darude - Sandstorm]
add a [Edition] to [Notepad]
- Vic20
- Scratcher
74 posts
Text to Speech extension
yesAre you running the program as an Administrator?
Help me!
- procd
- Scratcher
100+ posts
Text to Speech extension
Can you provide the full error message?yesAre you running the program as an Administrator?
Help me!
- Discussion Forums
- » Connecting to the Physical World
- » Text to Speech extension