Scratch Lesson 6: Create Music with Scratch and Audacity®

In this lesson, I will show you how to create a tune using Scratch™s Sound Tool Kit. Then I will also show you how to use Audacity to create a Scratch sound clip from a MP3 or WAV file.

Create a Tune using Sound Tool Kit


Figure 1: Sound Tool Kit

To add a music script to a sprite, select a sprite and click Sounds Tab.

Drag out a play note for beats. Click the down arrow to bring up the keyboard.



To create a simple tune that goes Do-Re-Mi, make a script combo block like the one below. DOUBLE CLICK this block to test it.


To add pause between notes, use the block.


This is the script that plays the tune of Twinkle, Twinkle Little Star.


Figure 2: Script block for playing Twinkle, Twinkle Little Star

Create a Sound Clip using Audacity

Creating a song using Sound Tool Kit is fine but it takes too much time. Let me clue you in on this wonderful tool called Audacity.

Audacity® is free, open-source software for recording and editing sounds. It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems.

Audacity provides many cool features but I am only going to show you this one trick today. I will show you how to record music played on your computer and turn it to a Scratch sound clip or a wav file (no file converter required!).

Start by playing your favorite song using your favorite player.

Or play online streaming music


To record the music played on your computer, select Stereo Mix.

Then hit the “Record” button. Sound waves will start to appear.

Once you’ve record enough music, click STOP to stop recording.

To export the recording as WAV file to be used in a Scratch project. Select File and Export As WAV.

Save the recording in My Music” as “MyClip.wavâ€


To import to a sprite, select the Sounds Tab and click Import.

Click Music  button to go to My Music folder and select the clip we’ve just recorded.



  1. You always know how to find the right topic to write about and make it important. I cannot believe you aren’t more popular because you definitely have the what it takes.

Comments are closed