tonaljs/tonal
View on GitHub ↗ ★ 4,267 TypeScript
A music theory library for Javascript
9 mentions on Hacker News by 9 people: 3 stories, 6 comments · first 2016-03-13 · latest 2026-02-17
20082026
-
…> myself yesterday and took a cursory look. Nice app. They use a library called `tonal` < https://github.com/tonaljs/tonal > for their music theory logic, which ought to be a good resource to validate against.
comment by nate-gehringer · 2026-02-17 · in Show HN: A real-time chord identifier web app using the Web MIDI API -
https://github.com/tonaljs/tonal does a bunch of theory stuff. I think there’s another JS library I’ve used too but I can’t think of the name. If he wants to generate audio, Tone.js can be a useful higher level abstraction for WebAudio.
comment by tomduncalf · 2024-11-27 · in Ask HN: Tools or frameworks to build music theory games -
…deal with this at all, it would be handy nonetheless. Unfortunately, it's currently hard coded: https://github.com/tonaljs/tonal/blob/main/packages%2Fpitch-... https://github.com/tonaljs/tonal/blob/main/packages%2Fmidi%2...
comment by hunter2_ · 2024-04-04 · in Tonal.js: Functional music theory lib -
…arrays as simple data structures rather than using OO features like inheritance and mutation. [1] https://github.com/tonaljs/tonal/blob/main/packages/chord/in...
comment by metaxy2 · 2024-04-03 · in Tonal.js: Functional music theory lib -
…similar music theory library for Javascript[0] I've had some success with this: * Tonal / Tonal.js https://github.com/tonaljs/tonal [0] Or, in a pinch, even with a Godot 4 web export as I did for my (very incomplete) "AI and Games" Game…
comment by follower · 2023-03-12 · in Coltrane: A music theory library with a command-line interface -
…tonal for chord recognition under the hood, so these are the chord types that it can recognize: https://github.com/danigb/tonal/blob/master/packages/diction...
comment by gabergg · 2018-12-11 · in Songcraft Beta – A songwriting tool and guitar tab builder