Skip to content

Pattern: PKeyScale

Given a Key as an input, returns the scale corresponding to the key.

Example output

>>> p = PKeyScale(PChoice([Key("C", "major"),
Key("F", "minor"),
Key("G", "major")]))