NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

Worked Example: Multi-Track Music Sequencer

📌 What you will learn

Combine the Music extension, parallel green-flag scripts, and repeat loops to compose a layered song.

Lesson goal & core concept

Practice synchronization and rhythm loops in a creative non-game project.

Two sprites sharing the same tempo stay locked in beat automatically.

Step-by-step practice

Work through these steps in the Scratch editor, predicting each result before clicking the green flag.

  • Add the Music extension.
  • Sprite 1 plays a 4-beat drum loop.
  • Sprite 2 plays a matching 4-beat marimba melody.
  • Add a tempo slider variable so listeners can speed up or slow down live.

Mini challenge & next steps

Add a 3rd bassline sprite and a Mute toggle button.

Scratch Learning Textbook Home Return to the full 4-stage curriculum overview. Learn more → Scratch Block Dictionary Look up any block used in this chapter. Learn more →

FAQ

How long should I spend on "Worked Example: Multi-Track Music Sequencer"?

Aim for 15–20 minutes: read the concept, test the small example, modify one value to see what changes, and try the mini challenge.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.