With the Text to Speech extension, you can enable your sprite to read texts out loud.

Add the Text to Speech extension

  1. Click the Sprites tab and click + extension at the bottom of the blocks area.
    image.png

  2. On the Extension center page that appears, click + Add at the bottom of Text to Speech.
    image.png
    After being added, the extension and its blocks are displayed in the blocks area.
    image.png

    Enable Panda to Read a Poem

(1) Drag the blocks set voice to ( ) and set language to ( ) to the scripts area, and set the voice to alto and language to English.

Text to Speech - 图4

(2) Drag the block speak ( ) to the scripts area and enter the content to be read.

Text to Speech - 图5

(3) Drag the Control block wait ( ) seconds to the scripts area to add pauses for the reading.

Text to Speech - 图6

(4) After completing the script, turn on the speaker, press the space key, and see what happens.