Education Technology

Coding the Sounds
of Music

Using Python

TI-Nspire™ CX II graphing calculator

Turn coding into music with a creative STEM project for beginners


Coding the Sounds of Music gives students a fun introduction to STEM and Python programming. This project explores the science of sound and is designed with first-time coders in mind — no experience required.

With their TI-Nspire™ CX II graphing calculators, students will learn to program the output of various sounds, tones and music to play them on the TI-Innovator™ Hub’s built-in speaker. Download all the files you need for free, and start planning your next class project now. Let’s get coding!

This project explores:

  • The science of sound and hearing
  • Coding to create sounds and musical notes
  • Technology of speakers and microphones
  • Music concepts like tempo, notes and scales

Let’s get started

Three different project versions to fit your schedule

Select one of three versions of this project — 1.5-hour, 3-hour or 4-hour — that’s right for you and your students. Follow the links below to see all the step-by-step videos for each version.

The TI technology you need for this project

Here’s the TI technology required to start making music with code. You can borrow TI technology for up to 30 days at no cost, or purchase your own equipment.

Submit a request to borrow equipment

TI-Nspire™ CX II graphing calculator

TI-Innovator™ Hub

Ready to get your project started?

We’ll help you every step of the way. Get everything you need here, or contact us for direct, one-on-one support.

Contact the TI STEM Team at