1.0.1 • Published 10 years ago
pitch-class v1.0.1
pitch-class 
Get the pitch class of a note:
var pc = require('pitch-class')
pc('a4') // => 'A'
pc('fx3') // => 'F##'It works with midi numbers too:
pc(57) // => 'A'This is part of tonal:
tonal.pitchClass('bb2') // => 'Bb'License
MIT License