Making Music with Code (CSTA)

This interactive workshop explores the nexus between computer programming and music. We will learn how to create music in Scratch, as well as a hip version of "Hot Cross Buns" using the program Sonic Pi. No coding or music experience required; however, please bring a laptop for maximum fun.

Presentation Slides

  • The link above is a .pdf file of the slideshow used for this presentation. All media (videos, audio clips, websites, etc.) that were included in the original are now images with active links; meaning, you can click on the image and it will send you to the original source material.


Beatbox Machine with Scratch


Coders create a project that allows them to make music with their faces when certain keys on a keyboard are pressed. The purpose of this project is to introduce triggering algorithms with specific keyboard events. Visit us at www.BootUpPd.org

Project Sequence


Create funny backdrops.png

#1 Create Funny Backdrops

Triggering sounds.png

#2 Triggering Sounds


Project Extensions



Debugging Exercises



Lesson Plan and Coder Resources Page


Click Here for Free Projects and Lessons



Hot Cross Buns with Sonic Pi


More Sonic Pi resources I've created: https://jaredoleary.com/sonic-pi/ More music && coding resources I've created: https://jaredoleary.com/music-coding/

Additional Resources


More resources on making music with code

Twitter Lists

The following lists provide a direct feed of users who discuss the various topics that pertain to this presentation:

YouTube Playlists

The following links provide videos related to various topics that pertain to this presentation: