Follow the Music – A Fun Coding at Home Activity

Follow the music

By EUCodeWeek

16. Follow the music

When sequences of programming instructions repeat themselves periodically, it is as if they have a rhythm. If we associate a sound with each instruction, we can guide Roby with music. This is precisely what we will do this time. I will create a program for you using different sounds to represent different instructions, and you will move Roby around the board by following these sound-based instructions.

Required material: in addition to the CodyRoby cards, the chequered board and the pawn, we need to make three different sounds. I used three glasses filled with different amounts of water, what will you use?

This content is hosted by a third party. By showing the external content you accept the terms and conditions of youtube.com.

Questions

Q1. Try to follow the video and be guided by the sounds that the glasses produce, without looking at the cards. Can you recognise and execute the instructions made by the sounds?

Q2. Choose three sounds to associate with the three basic instructions. Come up with a sequence of sounds that you could repeat endlessly without ever leading Roby off the board...

If you are interested in more unplugged activities, or activities in different programming languages, robotics, micro:bit etc., check out the EU Code Weeks “Learning Bits” with video tutorials and lesson plans for primary, lower secondary and upper secondary schools. Also have a look at the EU Code Week Learn&Teach resources, where you can find free, high-quality resources from around the world for teachers and students.

Copyright notice

The EU Code Week website is a service supported by the European Commission
Except where stated otherwise, content made available on this site is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license
Licensing under Creative Commons licenses does not of itself affect the ownership of the copyright
Content from third party websites is subject to their own copyright restrictions; please refer to the site of origin for more information.