In the Gumball episode The Signal, a sound effect plays when the glitch occurs.

It sounds like a TV channel is changing each time the glitch happens.

Check it out.

Hey, you notice anything weird lately?

Like, you know, strange things happening?

(foreign language)


On your new speedboat!

Are you trying to be funny?

(laugh track plays)


In this add-on, you will create a similar effect in your project by making custom sounds and programming them to play randomly when the glitch happens.

(electronic noises play)

To start, choose a sound.

The Scratch Sound Library contains many sound samples.

To listen to them, click the Sounds tab.

Then, click the Choose Sound from Library icon.

Select the category to explore the different sounds.

(plays sounds from the Library)

To add a sound to your project, click it.

Sounds you add to your project show up in the Sounds menu.

Next, customize the sound to make a glitch noise.

To do this, click the sound to view in the audio visualizer.

The image shows the sound's frequency and waveform.

Click the Play button to hear each section.

Watch as the indicator line moves through the sound.

Explore the Edit and Effect menus to continue customizing different sections of your sound clip.

If you don't like something, click Undo from the edit menu.

Next, make the sound play when the glitch happens.

To do this, select the Sound menu.

Select Play Sound block and pick your custom sound from the dropdown menu.

Place it under the glitch stack, above the repeat block.

This will play the sound when the glitch starts to happen.

Click the code to test.

(glitch sound plays)

Great, the sound plays.

If your sound does not play correctly, check that you selected the Play Sound block, not the Play Sound Until Done block.

Click the flag to run your program.

A sound effect should play each time the glitch happens.

(glitch sound)

(glitch sound)

Good work, the sound plays when the glitch occurs, but it is the same sound every time.

Next, add more sounds and program them to play randomly with each glitch.

To do this, select three more sounds from the Sound Library.

Click a sound to add it to your sounds list.

(plays sounds from Library)

Each Scratch project includes the Pop sound.

Remove it from your project if you don't need it.

Then, drag a Pick Random block from the Operators menu into the Play Sound block.

Change the values in the Pick Random block to match the number of sounds in your Sound Library.

This example has four, so it changes the last value to four.

Click to test it.

(glitch sound plays)

(rattling sound plays)

(electronic sound plays)

(rooster caws)

Random sounds from your list play each time you click.

(glitch sound plays)

Click the flag to test out the program.

(rooster caws)

Listen to hear if a different sound plays for the glitch each time it happens.

(rattling sound plays)

Great work.

Now, it's your turn.

Select a sound from the Library, and customize it in the Visualizer by using the Edit and Effect tools.

Use a Play Sound block to program your sound to play when the Glitch code runs.

Add more sounds.

And finally, use the Pick Random block to program them to play randomly when the glitch occurs.

Choose an Add-On

Place to Place

Use move blocks to add drama to the story

Hear It Happen

Create custom sounds to play randomly with the glitch

Even Glitchier

Make the glitch effect your backdrop

Make Them Jump

Program your characters to move with arrow keys

GIF for your Glitch

Upload a GIF and animate it to change your story

Costume Change

Use blocks to change your Sprite's appearance


Draw your story toward a conclusion using dialogue, scene changes, or new characters.
  • "Gumball | The Signal | Cartoon Network" by The Amazing World of Gumball ( -- Licensed by Standard Youtube License (