Return the MIDI pitches for a named scale starting at keyRoot in octave. Always appends the octave note as the final pitch.
keyRoot
octave
IMPORTANT: Uses BigInt arithmetic throughout — the 36-bit Scales values exceed 32-bit JS bitwise operator range. All >> and & operations use BigInt.
Return the MIDI pitches for a named scale starting at
keyRootinoctave. Always appends the octave note as the final pitch.IMPORTANT: Uses BigInt arithmetic throughout — the 36-bit Scales values exceed 32-bit JS bitwise operator range. All >> and & operations use BigInt.