This is an archived resource. The repo will remain available but the resource will no longer be maintained or updated. Some or all parts of the resource may no longer work. To see our latest resources, please visit raspberrypi.org.
Sonic Pi is an open source programming environment developed by Dr Sam Aaron, designed to explore and teach programming concepts through the process of creating new sounds. This is a scheme of work which emphasises the importance of creativity in the learning process and gives users the control to turn their sonic ideas into reality.
This scheme of work is specifically targetted towards introductory KS3 Computer Science. This has been developed in harmony with the new Computing curriculum in the UK. This scheme of work is the result of a close collaboration between Computing & ICT teachers and researchers at the University of Cambridge. It has been successfully trialled at a number of schools.
Over the course of six lessons, students will learn:
- What a Raspberry Pi is, what its main features are, and how to set up and use one
- How to write text-based code to produce a music track
- Computer Science concepts:
- Sequencing
- Debugging
- Iteration
- Conditionals
- Data Structures
- Algorithms
- Functions
- Concurrency
KS3:
- Use 2 or more programming languages, at least one of which is textual, to solve a variety of computational problems; make appropriate use of data structures [for example, lists, tables or arrays]; design and develop modular programs that use procedures or functions.
Partially meets:
- Understand the hardware and software components that make up computer systems, and how they communicate with one another and with other systems.
- Understand how instructions are stored and executed within a computer system; understand how data of various types (including text, sounds and pictures) can be represented and manipulated digitally, in the form of binary digits.
National Curriculum Computing Programmes of Study
For the majority of the lesson, it is suggested that work is carried out by students in pairs. Each pair should have access to the standard equipment described below. In addition, it is suggested that you have your own teacher setup connected with a speaker for the demonstration sections.
- A Raspberry Pi per pair;
- Latest NOOBS SD card with the Sonic Pi software installed per pair;
- A keyboard and mouse connected to the RPi per pair;
- A monitor connected to the RPi per pair;
- A headphone splitter connected to the RPi audio jack per pair;
- A pair of headphones connected to the splitter per student.
- Lesson 1 - Getting started with Sonic Pi on a Raspberry Pi
- Lesson 2 - Debugging & Iteration
- Lesson 3 - Conditionals & Randomisation
- Lesson 4 - Data Structures
- Lesson 5 - Concurrency
For more information, take a look at the Sonic Pi website.
If you would like to contribute to this project or have questions about it please use the Sonic Pi Forum here.
For the latest news, take a look at the Sonic Pi Twitter account and sign up to the Sonic Pi Weekly newsletter.
The full source code can be viewed and obtained from the Sonic Pi GitHub repository.
Unless otherwise specified, everything in this repository is covered by the following licence:
Sonic Pi Lessons by the Raspberry Pi Foundation is licenced under a Creative Commons Attribution 4.0 International License.
Based on a work at https://github.com/raspberrypilearning/sonic-pi-lessons