Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 109 - logicode 2609 C5
P. 109

    TEXT TO SPEECH

                     The Text to Speech extension lets your sprite talk. You can
                     type a message and the sprite will say it out loud. You can
                     also change the voice and language. It makes your projects
                     more fun and real.

                     The Text to Speech extension includes the following
                     blocks:

                                       speak  hello    This block makes your sprite say the words you type.

                                                       This block changes how the sprite’s voice sounds. You can
                                 set voice to  alto    choose from different voices like Alto, Tenor, Giant and
                                                       Kitten.

                                                       This block  changes  the  language  your  sprite  speaks  in.
                            set language to  English
                                                       Useful for creating multilingual or global projects.

                                   Create a multilingual script that uses Text to Speech blocks so
                                   the sprites can talk to each other in different languages.

                      Project 2     Converting Text to Speech

                     Create a project using Text to Speech blocks, where

                     the boy and the robot talk to each other by converting
                     typed messages into spoken words. To start with your
                     project, first add the Text to Speech extension using
                     Add Extension button.

                     Select  a  backdrop  and  add  the  Andie  and  Retro
                     Robot sprites. Then, create the scripts for the sprites

                     and make the necessary changes in the blocks.

                                                                                                     Scratch Meets AI  107

| 104 105 106 107 108 109 110 111 112 113 114 |