Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

Transcript

In the Gumball episode “The Signal,” a sound effect plays when the Glitch occurs.

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

Check it out!

Have you noticed anything weird lately, like, you know, strange things happening?

<<speaking>> What??

<<speaking>> Are you trying to be funny?

<<laughter>> OooKaaay...

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.

<<different sounds playing>> 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 Sounds from Library” icon Select a category to explore the different sounds.

Click the “play” button to listen to a sound.

<<different sounds playing>> To add a sound to your project, double click it.

Or, click the sound, then click “OK.”

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 it 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, then choose a portion to use for a glitch noise.

<<sound playing>> Highlight a part of the sound’s image to customize.

For example, to repeat part of the sound as though a glitch is happening, highlight a small section.

Then, select “copy” from the "edit" menu."

Click the location in the sound where the repeat will occur.

Return to the “Edit Menu,” and choose “Paste.“ The sound you copied is added to the Sound file.The sound looks longer in the Visualizer because you added to the original.

To make the sound repeat like a skipping record, open the “Edit menu,” and click “paste” again.

Do this multiple times.

Click the beginning of the sound then the play button to test it.

<<sound playing>> Listen for the sound you copied to play repeatedly.

To make the sound fade out, highlight a section of the sound.

From the “Effects menu,” choose “Fade Out.”

Click the “Play” button to test it.

<<sound playing>> The sound will fade out for the section where you applied the effect.

Explore the “edit” and “effect” menus to continue customizing different sections of your sound clip!

If you don’t like something, select “Undo” from the Edit menu.

<<sound playing>> Next, make the sound play when the glitch happens.

To do this, click the “Scripts” tab, and select the “Sounds” menu.

Drag out a “Play Sound” block, and place it under the “Glitch” stack, above the “Repeat” block.

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

Select your custom sound from the dropdown menu.

Click the code to test.

<<sound playing>> 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.

<<sound effect>> <<sound effect>> 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.”

Double click a sound to add it to your Sounds list.

Each Scratch project includes the “pop” sound.

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

Then from the Scripts tab, 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 4, so it changes the last value to 4.

Click the “Play Sound” block to test it.

<<random sounds playing>> Random sounds from your list play each time you click!

Click the flag to test out the program.

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

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
Say Something
Use blocks to change your Sprite's appearance
arrow_backward Back
Next arrow_forward
Instructions
Draw your story toward a conclusion using dialogue, scene changes, or new characters.