ScratchData LogoScratchData
Back to colorgram's profile

Text To Speech Engine [0.2r7]

COcolorgram•Created May 9, 2016
Text To Speech Engine [0.2r7]
575
496
14589 views
View on Scratch

Description

Text to speech engine in scratch Simply type what you want to be converted into speech. This project aims to be powerful enough to be useful in other scratch projects. It's a work in progress. Let me know what you think :) A few words are perfect, many are intelligible, if a word sounds totally wrong let me know and I'll add fixes for it (eventually). Punctuation is currently not supported, so don't use symbols like " ! . : ; ' - \ " because the script inside will infinite loop and freeze. (you can and should use spaces tho) --------- How it works --------- This thing matches the most complex sounds it has to each word, reducing complexity back to individual letters as needed. The algorithm is AFAIK fairly unusual for a TTS engine, and it's also pretty basic. There are plenty of optimizations that would make it more accurate. --------- Limitations --------- English only No support for punctuation yet (. / , ( ) { } - & ! ', -dn't etc) Preliminary support for numbers (ex: 700 must be entered as 7 hundred) Currently more bloated than necessary (relies on a large sound bank, and no pattern rules added yet - only exceptions) --------- Release Notes --------- 2017-11m-02d - v0.2r7 - patch specific words from comments (improves 8) 2016-05m-10d - v0.2 - added more pronunciations, revised word splitting, added exceptions capability (improves 40+ words) 2016-05m-09d - v0.1 - Initial release --------- About Scratch 3.0 --------- Scratch 3.0 includes a built in text to speech engine, but it outputs at such a low bitrate it's hardly optimal. If you want accuracy and convenience and don't care about sound quality, that's probably your best bet. (this project was made before scratch 3.0) Otherwise, you probably want to record audio from a good TTS engine and just use that recording, which is what I do most of the time.

Project Details

Project ID108755551
CreatedMay 9, 2016
Last ModifiedJune 23, 2020
SharedMay 9, 2016
Visibilityvisible
CommentsAllowed