Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 119 - CodePilot V5.0 C5
P. 119

    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.

                                 set voice to  alto    You can choose from different voices like Alto, Tenor,
                                                       Giant and Kitten.

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

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

                              Study

                      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   117

| 114 115 116 117 118 119 120 121 122 123 124 |