Lesson goal: Make the computer speak with different voices

Previous: Speaking text | Home | Next: Speaking text at different speeds

In a previous lesson, you learned how to make the computer speak. In this lesson, you can uses an expanded say function called say1 that allows you to select different speaking voices.

We have a function called say1 that works like this:

say1("your message here",voice)
Move the mouse over a dotted box for more information.

Now you try. Use the say statement and have the computer speak some messages. Be sure to put your message in double quotes.

Type your code here:


See your results here:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code:

Does your code work? Want to run it on your iPhone?

Here's your code:

  1. Use [Control]-[C] (Windows) or [⌘]-[C] (MacOS) to copy your code.

  2. Paste it using [Control]-[V] (Windows) or [⌘]-[V] (MacOS) into this page

  3. Then click the "Use on iPhone" button that you'll see.