Module 1: Rock Band
| Course: Scratch Programming | Level: Module 1 | Project 19 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 "Rock Band" on Raspberry Pi Projects →](https://projects.raspberrypi.org/en/projects/rock-band)
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
Create a musical ensemble using sprites as instruments.
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 Module 1
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
- Choose 4 instruments: guitar, drums, keyboard, bass.
- Add a sprite for each instrument with at least 2 costumes (playing/idle).
- Assign keyboard keys to each instrument: A=guitar, S=drums, D=keyboard, F=bass.
- When a key is pressed: switch to playing costume, play instrument sound, wait, switch back.
- Add a stage backdrop and crowd sprites in the background.
- Create a
beatvariable that increments each second. - Add a song score that increases when instruments are played in rhythm.
- Add a conductor sprite that displays which instrument should play next.
- Add a recording feature using a list to capture a performance.
- Replay the recorded performance with timing.
Extension Challenges
Try these after completing the main project:
- Add a second player using different keys for a two-player jam.
- Add visual effects like stage lights that pulse with the music.
- Create a setlist of songs with different rhythms.
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 20 → |