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

Before the lesson

Learning objective

  • To program music for a specific purpose

National curriculum

Pupils should be taught to:

  • Design, write and debug programs that accomplish specific goals
  • Use sequence, selection, and repetition in programs; work with variables and various forms of input and output
  • Select, use and combine a variety of software (including internet services) on a range of digital devices to design and create a range of programs

Success criteria

Cross-curricular links

Attention grabber

Main event


For pupils needing extra support: Take the example live loop included here and change the numbers/synths accordingly.


Pupils working at greater depth: Should experiment with code and change it whilst it is playing. Should use multiple workspaces or ‘Buffers’ to test out different sections of code to add.

Wrapping up

Assessing pupils' progress and understanding


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