Lesson 5: Battle of the bands

The topic culminates in a Battle of the Bands which sees pupils playing their music live and adapting their code as they perform

Learning Objectives

  • To program music

  • Combining known commands

  • Coding music with a purpose

  • Using repetition in a program

  • Using various forms of output [sound]

Lesson Plan

Programming music
See the plan

Teacher Video: Battle of the bands


Sonic Pi Basic Commands
Created by:
Sway Grantham,  
Computing specialist
Sway Grantham (@SwayGrantham) is a Primary School Teacher, a CAS Master Teacher and Specialist Leader in Education for Primary ICT. She also has a BCS Certificate in Computer Science Teaching (Primary). She has written several curricula and conducted research into the…
Find out more
video-icon icon-checked
I have completed this lesson