music_interval For all the use cases in which you can assume 12-TET, https://github.com/tonaljs/tonal is a better choice.