Class: Key

.key. Key

new Key(keyName, mode)

Create a Key object. Like a KeySignature but with ideas about Tonic, Dominant, etc.

TODO: allow keyName to be a music21.pitch.Pitch
TODO: Scale mixin.

Parameters:
Name Type Argument Description
keyName string
  • a pitch name representing the key (w/ "-" for flat)
mode string <optional>
  • if not given then the CASE of the keyName will be used ("C" => "major", "c" => "minor")
Source:

Extends

Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.