HarmonyLab
Harmony Lab is an application for music theory students, faculty, and staff in higher ed or K-12 who are learning to read and write music or who are instructing students in reading and writing music.
Install / Use
/learn @Harvard-ATG/HarmonyLabREADME
Overview
HarmonyLab is an Open-Source application for students of music theory and keyboard skills at college or in K-12. It works with input from a MIDI keyboard in a web browser to provide simple practice aids and exercises for learning tonal harmony. By bringing together tactile, visual, and aural elements, this software helps students to build a robust and ready knowledge of the fundamentals of melodic and harmonic grammar.
Working with the input from a MIDI keyboard (subject to key and key signature selections), the application notates pitch elements and provides various analytical notations for melody and harmony.
Demo: https://harmonylab.herokuapp.com/
Quickstart
- Requires Python 2.7.x and Pip to install.
- To install Pip, see their instructions.
$ git clone git@github.com:Harvard-ATG/HarmonyLab.git harmony
$ cd harmony
$ pip install -r requirements.txt
$ ./manage.py runserver
You should now be able to run the application on your localhost at http://127.0.0.1:8000.
Supported Web Browsers
Chrome is currently the only browser supported, being the single browser that implements the WebMIDI specification.
Heroku Deployment
This application can be deployed to any platform that supports python and django. One such example is heroku, a cloud platform as a service provider, which makes it easy to deploy changes directly from the git repository.
Read the Getting Started on Heroku with Python instructions to get an idea of how it works. You will need to setup an account login and then create an "app".
The required Config Variables that should be added on the app settings page are as follows:
SECRET_KEY = YOUR_RANDOM_LONG_PASSWORD
DJANGO_SETTINGS_MODULE = harmony.settings.heroku
LTI_OAUTH_CREDENTIALS = {"harmonykey":"harmonysecret"}
In the root directory of the git repo, use the heroku CLI to login and then deploy the code to heroku:
$ heroku login
$ git push heroku master
If the build succeeded, you should be able to visit the webpage of the app. Heroku provides a handy shortcut:
$ heroku open
Related Skills
docs-writer
98.8k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
332.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
project-overview
FlightPHP Skeleton Project Instructions This document provides guidelines and best practices for structuring and developing a project using the FlightPHP framework. Instructions for AI Coding A
arscontexta
2.8kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.

