Home > Books > Raspberry Pi For Dummies > Sonic Pi and Scratch note numbers

Making music with Scratch and Sonic Pi: Note names and numbers

Sean McManus, co-author of Raspberry Pi For Dummies, shares an infographic that shows the note numbers for making music on the Raspberry Pi

The Raspberry Pi comes with Scratch and Sonic Pi, both of which can be used to make music. Scratch is a visual programming language, and you can use it to make simple melodies. Sonic Pi is a programming language that enables you to write richer music, combining samples and synthesisers. For both, you need to know the numbers of the notes you want to play, so I've put together the table below to use as a quick reference.

This reference chart is handy whether you want to program a tune you already know on the Raspberry Pi, or just want to make sure you're using notes that are in tune with each other in your own music.

Raspberry Pi Scratch and Sonic Pi note numbers.

Feel free to share the infographic with your social networks, Code Clubs and classes. If you click it, you will see just the image, which will make it easier to print out.

How to use these notes in Scratch

To play a note in Scratch, enter its number into the Play Note block, shown below. You can join multiple Play Note blocks to play a tune. In Scratch 3.0, the music blocks are an extension, so you'll need to go to the bottom of the Blocks Palette first to add them. For more tips on music in Scratch, check out the free PDF sampler from Coder Academy.

Screenshot of the Play Note block in Scratch 3.0

Find out more about making music on the Raspberry Pi


© Sean McManus. All rights reserved.

Visit www.sean.co.uk 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

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!

Raspberry Pi For Dummies

Raspberry Pi For Dummies

Set up your Raspberry Pi, then learn how to use the Linux command line, Scratch, Python, Sonic Pi, Minecraft and electronics projects with it.



In this entertaining techno-thriller for adults, Sean McManus takes a slice through the music industry: from the boardroom to the stage; from the studio to the record fair.

Scratch Homeschooling resources

Scratch cat with balloons invites you to visit my Scratch resources

Sean's Scratch Resources

Tips, tutorials and free book chapters for Scratch, a coding language widely used in schools.

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