Music and Sounds


Make your own music


How to make music using the code blocks in Scratch. Make your own music


Electric piano scratch program

This is a small, one-sprite music maker by Kevin Karplus. The sprite is of a 3-octave piano keyboard. Clicking on the keyboard plays the corresponding note, for both black and white keys. Holding down the mouse causes repeated notes. The idea is that this sprite can easily be incorporated into other, more sophisticated animations (dance routines, cat on the keyboard, fancier instruments with organ stops, ...).

Learn more about this project
Download as scratch program.