pitch-class
Get the pitch class of a note:
var pc = // => 'A' // => 'F##'
It works with midi numbers too:
// => 'A'
This is part of tonal:
tonal // => 'Bb'
License
MIT License
Get the pitch class of a note:
var pc = // => 'A' // => 'F##'
It works with midi numbers too:
// => 'A'
This is part of tonal:
tonal // => 'Bb'
MIT License
npm i pitch-class
2
1.0.1
MIT