Teoria
Lightweight JavaScript library for classical and jazz music theory: notes, chords, scales, intervals.
| Language | JavaScript |
|---|---|
| Category | Composition & notation |
| License | MIT |
| Platforms | macOS Windows Linux Web |
| Install | npm install teoria |
| First released | 2011 |
| Maintained | Not actively maintained (last activity 2017) |
| Links | Website · Source |
Strengths
- Rich note/chord/scale/interval object model
- Handles advanced jazz chords and Helmholtz notation
- Small and dependency-light
Limitations
- Effectively unmaintained: last release 2017
- Theory-only; produces no audio or notation output
Best for
Lightweight music-theory calculations when a maintained lib like Tonal isn't required.
Minimal example
const teoria = require('teoria');
const n = teoria.note('a4');
n.fq(); // 440
teoria.chord('CM7').notes();