Leçon 1, Chapitre 1
En cours

Pictoblox robotic – Making a Speech to Text Bot (teachers)

Yann KIDSHAKER 19 mars 2026

Making a Speech to Text Bot

Objectives

After this lesson, students will be able to:

  • Explain how humans learn to speak.
  • Contrast between human-readable languages and machine-readable languages.
  • Convert their speech to machine-readable format using the Artificial Intelligence extension in PictoBlox.
  •  Convert the sound file they stored, in machine-readable format to human-readable format as well as sound.
Introduction

In this session, students will be introduced to the process of how machines learn to recognize language by a technique called speech recognition, which is similar to how human beings learn a language by finding patterns in the sounds they hear through repeated training.

Students will learn the difference between human-readable languages and machine-readable languages and how one form can be converted to another using Artificial Intelligence. They will also write a script that not only recognizes human speech, but also converts it to machine-readable format and then back to human-readable text as well as sound.

Activity

Record the words that you are speaking and then convert them to machine-readable form and from that to human-readable text as well as sound.

Teaching Resources
PicoBlox Code
Title Description File
Making a Speech to Text Bot Record the words that you are speaking and then convert them to machine-readable form and from that to human-readable text as well as sound. https://ai.thestempedia.com/wp-content/uploads/2022/03/Session12_Making-a-Speech-to-Text-Bot.sb3
Timeline
Title Approximate Duration Procedure Reference Material
Introduction of Speech to text bot 10
  1. Explain the process of how human beings learn a language.
  2. Explain that machines also need to be trained, to learn languages, just like humans.
  3. Explain to the students the difference between human-readable languages and machine-readable languages and how one form can be converted to another using Artificial Intelligence.
Lecture Slide
Activity: Making a Speech to Text Bot 25
  1. Demonstrate the procedure given in the Making a Speech to Text Bot Activity Sheet to the students.
  2. Ask the students to follow the instructions to create the project.
  3. At the end of the activity, the teacher must check if all the students have created the project and provide feedback accordingly.
 Lecture Slide, PictoBlox File and

Activity Sheet

Concluding the session 5
  1. Make sure that all the students save their script properly before closing PictoBlox.
  2. Give a summary of the points covered in the lecture to solidify their understanding.
  3. Clear their doubts, if any.
Lecture Slide
Things to Remember
Before Class
  1. Make sure each PC has the latest version of PictoBlox installed and running.
During Class
  1. If the students are unable to find a block, point them to the color of the block on the block palette.
  2. Make sure the students understand how to use the Recognition Window for recording their speech.
After Class
  1. Make sure students save their codes/scripts.
  2. Make sure they shut down the PC/Laptops.