Scratch Drum Machine

Discover the project to make a Scratch drum machine from Cool Scratch Projects in Easy Steps by Sean McManus

About the Scratch Drum Machine project

Create a programmable drum machine in Scratch that can be used to make rhythms (or melodies) with 16 beats and 8 instruments. In Scratch 2.0, it can be used together with professional music samples, including those you can download below. You use the arrow keys to move around the grid.

Each row (from top to bottom) represents a different instrument. Each column is for a different beat in the loop. You use the space bar to turn beats on and off.

Try this cool Scratch project now

Download additional samples

  • Drum samples - Download some samples from real drum machines, courtesy of Danny Wolfers, who records music as Legowelt.
  • Download musical notes you can use with this project - You can replace the drum sounds with musical notes to write tunes using the Scratch Drum Machine. This download is a zip file. You'll need to extract it and then you can add the sounds in Scratch. Below, you can see a video that shows this project using the melody samples.

Sample drum rhythms

If you're struggling to get a good rhythm going using the Scratch Drum Machine, why not try copying one of the rhythms below as a starting point?

Sample drum pattern for Scratch Drum Machine

Sample drum pattern for Scratch Drum Machine

Sample drum pattern for Scratch Drum Machine

Sample drum pattern for Scratch Drum Machine

Find out more about the book

Visit the homepage for Cool Scratch Projects in Easy Steps to find out more about the book, find bonus materials, and discover the other projects in it.


© Sean McManus. All rights reserved.

Visit for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!

Discover my latest books

Coding Compendium

Coding Compendium

A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.

Web Design in Easy Steps

Web Design IES

Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.

100 Top Tips: Microsoft Excel

100 Top Tips: Microsoft Excel

Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.

Scratch Programming in Easy Steps

Scratch Programming IES

This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.

Mission Python book

Mission Python

Code a space adventure game in this Python programming book published by No Starch Press.

Cool Scratch Projects in Easy Steps book

Cool Scratch Projects in Easy Steps

Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!

Walking astronaut from Mission Python book Top | Search | Help | Privacy | Access Keys | Contact me
Home | Newsletter | Blog | Copywriting Services | Books | Free book chapters | Articles | Music | Photos | Games | Shop | About