Programming & debugging music
Pupils explore using the BBC micro:bit to play musical phrases. They write programs using the MakeCode editor, extending their understanding of repetition and inputs from previous unit and connect speakers/headphones to their micro:bit to play their music.
- To use existing knowledge to improve programs
- To write and debug musical programs
- To experiment (tinker) with the micro:bit to make music
You will need
- Lesson plan
- Lesson slides
- HEX files
MakeCode editor, student work from previous lesson, printouts of slides, micro:bits (optional), micro:bit battery packs (optional), alligator / crocodile clip leads (optional), headphones (optional), speakers (optional)
Introduction: Represent that tune (10 mins)
Introducing musical programming (20 minutes)
From programs to algorithms (20 minutes)
Making the micro:bit musical (10 minutes)
Opportunities for assessment
This content is published under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) licence.