Sound Effect

In this example, we use PiCrawler’s (to be precise, Robot HAT’s) sound effects. It consists of three parts, namely Muisc, Sound, Text to Speech.




  • You can write the program according to the following picture, please refer to the tutorial: How to Create a New Project?.

  • Or find the code with the same name on the Examples page of the EzBlock Studio and click Run or Edit directly.


Switch to the Remote Control interface, and you will see the following widgets.


After the program is running, you can press different buttons to make PiCrawler sound.

How it works?

Functions related to background music include these:


Functions related to sound effects include these:


Functions related to Text to Speech include these: