Pattern: PNearestNoteInKey
Return the nearest note in
Example output
>>> p = PNearestNoteKey(PSeries(0, 1), Key("C", "major"))
>>> p.nextn(16)
[0, 0, 2, 2, 4, 5, 5, 7, 7, 9, 9, 11, 12, 12, 14, 14]
Return the nearest note in
>>> p = PNearestNoteKey(PSeries(0, 1), Key("C", "major"))
>>> p.nextn(16)
[0, 0, 2, 2, 4, 5, 5, 7, 7, 9, 9, 11, 12, 12, 14, 14]