Say Sentences with an AI Speaker
-
Introduction
You can easily make the computer “say” any word or sentence using the “say” block in the AI category! Even better, you can save what the computer says as a sound clip in the Sounds tab. That way, you can replay it whenever you want.
This feature is super helpful for users who can’t read text on a screen, and it also makes talking with an app feel much more natural — like chatting with a real person!
Block Syntax

Let’s take a closer look at each input in this block:
Sentence
You should usually put a full sentence or phrase inside the “say” block—not just individual words. This helps the AI figure out how to say the words naturally. Also, remember: each “say” block causes a small delay.
Here’s what happens when you use two blocks for “Good” and “morning” separately:
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/37c1d111-5be2-4ac6-a750-e06e1a03cfc1.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/VG7-9JiCHO-SUNedpi_eLGOn.m4a]
On the other hand, this is what you get when you use one block for both words:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8b0b033d-77f6-46c6-8ad7-71b441f2d616.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/52c3dTfA8tF-eTCBd1TjS5AH.m4a]
Speaker Language
You can pick which language the AI speaker uses. The most common languages are listed at the top of the list:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/88bf721a-3296-4650-a322-cd3fba79e23f.png" width="450" style="border-radius: 5px; border: 1px solid #29622d;">
Tip:
The same language can show up more than once because of different dialects (ways of speaking). For example, “Good afternoon” sounds different between English speakers in the USA and the UK:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/0413ebb1-fa73-44e1-b7de-1f3721513d62.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/S3fvUtKocrpQmG3gmnXJ77KP.m4a]
vs
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d527ac63-af5d-4ec9-907e-a40ef83fe65d.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/hLQzb_iOKivQ7ZCoJvL0rUBG.m4a]
Normally, you want to match the sentence and the language.
But sometimes you might want the same speaker to say things in two languages. Here’s an example where a Chinese AI speaker says both Chinese and English:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/457908ac-ac0a-4f6d-906e-8e7899648ac9.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/F5gVY0vt5cs1a3-l652Reg5C.m4a]
Speaker Voice Type
Within the same language, you can pick what type of AI speaker voice to use:
Important:
Not every voice type is available for every language.
If the one you picked doesn’t work, you’ll see a warning message at the bottom of the code editor:
Talking Speed
You can change how fast the AI talks!- 100 = Normal speed
- > 100 = Faster
- < 100 = Slower
Examples:
- Normal (100):
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/4b3628c7-eff9-4b50-86ec-4847c3b93ac0.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/YZsBrSkdH3D6XYOdK9v6X2yk.m4a]
- Faster (200):
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/85d6c6d1-9109-4f4d-b737-bf71f401b3fa.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/xDpkE2Ndvr_iGzoELsI2QKw9.m4a]
- Slower (50):
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/adc889d6-cc64-4cc1-8a82-d121f8125eea.png" width="900" style="filter: drop-shadow(0.35rem 0.35rem 0.4rem rgba(0, 0, 0, 0.5));">
[audio/d5MxBmV0QvSZ0k3an1QKkhqk.m4a]
Pitch
Pitch controls how high or low the voice sounds.
- 100 = Normal pitch
- Higher numbers = Squeakier
- Lower numbers = Deeper
Usually, it’s best to leave it at 100 unless you want a funny effect.
Volume
Volume controls how loud the AI speaks.
- 100 = Normal loudness
- Higher = Louder (shouting!)
- Lower = Quieter (whispering)
You can even change volume inside a sentence by using multiple blocks!
Sound Clip Name
If you type a name into the Sound Clip Name input, the sound will get saved into the Sounds tab.This is super useful if you want the computer to say the same thing many times. Instead of making the AI generate speech every time (which takes a little time), you can just play the sound clip instantly.
Demo
In this example, we make the AI say “How are you?” and store it in a sound clip called “greetings”. After that, we use the start sound block to play it:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login