Skip to content

Music Blocks

Browser-based visual programming tool for learning music and math with blocks

Copyleft (OSI) · AGPL-3.0
  • Linux

Listed by , founder & editor

68

Health

Active

Overview

Stars

932

Last commit

today

Nov 2026

Repository age

11 years

since Sep 2015

Latest version

v3.8.0

Sep 2026

Contributors

–

47 active in 90 days

Releases

3

last 12 months

Language

JavaScript

Music Blocks is a visual programming language and a set of tools for exploring music and math. You snap together colorful blocks to build melodies, graphics and interactive projects. It was built for learners and is developed under Sugar Labs.

It runs in the browser using vanilla JavaScript and works with mouse and keyboard input. Chrome or Chromium, Edge, Firefox and Opera work best. You can use the hosted site, or run it locally by cloning the repository, running npm install and starting a local server with npm run dev. It is also on Flathub for Linux, and an Android version is on Google Play. Turtle Blocks shares the same codebase and focuses on graphics instead of music.

The license is AGPL-3.0. About 50 contributors were active in the last 90 days.

Who it's for

Teachers introducing coding through music

Blocks let students build sound and visuals without typing syntax.

Skip if: You need a full digital audio workstation for recording or mixing.

Students and self-learners curious about music and math

It runs in a browser with no install needed.

Skip if: You want to learn a text-based language such as Python or JavaScript.

Developers wanting to contribute to an education project

The codebase is plain JavaScript with an active contributor group.

Skip if: You want a project with no copyleft license obligations.

The problem it solves

Learning programming and music theory together is hard with tools that separate them. Music Blocks lets learners experiment with both by arranging blocks and hearing the result.

Strengths

  • Runs in the browser with no account or install
  • Active project with 50 contributors in the last 90 days
  • Available on Flathub and Google Play
  • Turtle Blocks mode for graphics-focused work

Trade-offs

  • Some features need a local web server rather than opening index.html
  • Meant for learning, not music production
  • AGPL-3.0 requires sharing modified network-served versions

Self-host Music Blocks

Self-hostable
No (desktop or local app)

Quick start

npm install

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Music Blocks free?

Yes. It is open source under AGPL-3.0.

Do I need to install it?

No. Open it in a modern browser, or install it from Flathub on Linux.

Can I run it locally?

Yes. Clone the repository, run npm install, then npm run dev.

What is Turtle Blocks?

It is a view of the same app that focuses on graphics. Add ?turtle=true to the URL.

Similar tools in Music practice and recognition tools

Freeter

Music practice and recognition tools

Self-hosted ad-free front end for browsing guitar tabs and chords

793 58 13 days ago Active GPL-3.0

Metronome

Music practice and recognition tools

Ad-free Android metronome with subdivisions, tap tempo and no trackers

236 24 2 days ago Active GPL-3.0

Metronome (thetwom/toc2)

Music practice and recognition tools

Simple Android metronome with tap-in tempo and saved settings, available on F-Droid

201 26 5 months ago Slowing GPL-3.0

Tuner (billthefarmer/tuner)

Music practice and recognition tools

Android accordion tuner with strobe display and 32 temperaments

198 53 8 months ago Dormant GPL-3.0-only

Open Ear

Music practice and recognition tools

Ear training app for musicians practicing scales, chord functions and progressions

189 37 2 months ago Slowing MIT

Chronal

Music practice and recognition tools

Android metronome and tuner for beginner and advanced musicians, with polyrhythm support

112 12 4 months ago Slowing GPL-3.0