nebs / notekitchen

Website for visualizing piano chords and scales
http://note.kitchen
MIT License
35 stars 4 forks source link

Splitting out chord parsing? #1

Open captbaritone opened 6 years ago

captbaritone commented 6 years ago

Have you thought about separating out the bit that parses ascii chord names into a structured representation? Seems like a useful library for other purposes. A while ago I wrote a script to compute ukulele chord fingerings for arbitrary chords and I've occasionally thought about rewriting it in JavaScript. Having a shared library for parsing chords would be awesome.

Great project!

captbaritone commented 3 years ago

Related to this, I noticed that notekitchen does not handle "slash" chords where the base node is explicit: "C/G" would be a C chord with G in the bass.

This would be a useful feature to add to a shared library.