Please enable JavaScript to use CodeHS

Coding Explorations in Music

Coding + Music is a mini-course that introduces students to the basics of coding through music! In this block-coding course, students investigate how code can be used to create and enhance music by building programs that generate beat patterns, chord progressions, and musical sequences with visualizations.


Units: 2
Timeframe: Unit
Contact Hours: 15

By the Numbers

Contact Hours 15
Lessons 9
Videos 9
Offline Handouts 2


Unit Description
Introduction to Coding in Music: Students are introduced to the JavaScript block coding environment. They learn how to write a program that plays their own 8 count beat pattern.
Coding in Music: Students will learn how to add chords, notes, and visualizations to their songs. For a final project, students create a full-length song with music visualization.

Format of Course

The entirely web-based curriculum is made up of a series of learning items that introduce students to some fundamentals of programming. Each lesson is made up of short video tutorials, example programs, programming exercises, challenge problems, and connections. The course is designed as a creative, 10-hour long mini-unit, though schools implement it in a variety of ways.

Who is it for?

The Coding Explorations in Music course is designed for complete beginners with no previous background in computer science. The course is highly visual, dynamic, and interactive and can be used with middle or high school students.


Interested in teaching the Coding Explorations in Music course with CodeHS? Get in touch, so we can help you bring CodeHS to your school!

Bring to My School