The key/scale to test against, as a key name, a key/scale, or a
Key.
Returns boolean
True if the pitch class is a member of the scale.
Example
import { majorKey, isScaleTone } from'@libraz/libcantus'; constkey = majorKey(0); // C major isScaleTone(64, key); // true — E is in C major isScaleTone(61, key); // false — C# is not
Test whether a pitch belongs to the scale.