Level 3: Music Maker
| Course: Scratch Programming | Level: Level 3 | Project 17 of 35 |
Official Raspberry Pi Project
This lesson is based on the official Raspberry Pi Foundation project. Open it alongside this guide to access the starter project, step-by-step instructions and community remixes.
### [🍓 Open "Music Maker" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/music-maker)
How to use it: Click the link above, then click See Inside on the Scratch project to explore the finished version. Use Remix to get your own copy to edit.
What You Will Build
Build a project to compose and play back original music.
What You Will Learn
By the end of this project you will be able to:
- Use Events blocks to start scripts and respond to clicks
- Combine Motion, Looks and Sound blocks to create behaviours
- Use variables to track game state and scores
- Apply the specific Scratch concepts introduced in Level 3
You Will Need
| Item | Details |
|---|---|
| 🌐 Browser | Any modern browser — Chrome, Firefox or Edge |
| 🔶 Scratch account | Free at scratch.mit.edu |
| ⏱️ Time | Approximately 30–45 minutes |
| 📋 Starter project | Available via the Raspberry Pi link above |
Step-by-Step Guide
- Add a music studio backdrop.
- Use the Music extension in Scratch.
- Create instrument buttons (piano, guitar, trumpet, drum).
- When each button is clicked:
play instrument [X] for [0.5] beats at pitch [60]. - Add a keyboard of notes (C D E F G A B) as clickable sprites.
- Create a recording list variable that stores note sequences.
- Add a Record button: when active, every note played adds to the list.
- Add a Play button: loop through the list and play each stored note.
- Add a Clear button to empty the list.
- Add a tempo slider that controls playback speed using a variable.
Extension Challenges
Try these after completing the main project:
- Add multiple tracks (melody, bass, drums) that play simultaneously.
- Add a visual waveform that animates while music plays.
- Let users save and share their compositions as project remixes.
Reflection Questions
- Which Scratch blocks did you use most in this project?
- What would you add or change if you had more time?
- How could you reuse the ideas from this project in a different context?
Share Your Work
When your project is complete, click Share in Scratch and post the link to your class or the Techbase community.
| ← Back to Scratch Course | Next: Lesson 18 → |