Challenges‎ > ‎Medium‎ > ‎

Making Music

Scratch can play three types of audio - sounds, drums and instruments.  Sounds are recordings, such as WAV or MP3 files. Drums and Instruments are based on general MIDI notes.

Types of sounds in Scratch

When you play notes, you also need to define which instrument to use, which notes to play, and how long each note should be.  By stacking blocks of notes and changing the note value and the beat duration, you can write musical melodies.  It's a good idea to trigger them with a key press.

Melody making

Challenge 1
Write a recognisable tune using this technique. Vary the notes and durations to create the basic melody.

Challenge 2
Using the same action (ie, pressing a particular key) as the trigger, write a second stack of notes that play simultaneously so that they create a harmony, ie, two melodies that play together.

Challenge 3
Build a tune that has more than three "parts" that play together.  Use different instruments to add variety to your music.  Now it's getting complicated!

Challenge 4
Use control structures such as loops to repeat sections of music in order to create a complete song (ie different verses and choruses)

Challenge 5
Expand your song by including a drum track using the Play Drum block. Remember to keep everything in sync!