interval-simplify
Simplify musical intervals:
var simplify = // => '2M''8P' '9M' '10M' '11P' '12P' '13M' '14M' '15P'// => [ '8P', '2M', '3M', '4P', '5P', '6M', '7M', '8P' ] // => '2M' // => '7m'
This is part of tonal:
var tonal = tonalinterval // => '2M'
License
MIT License