Skip to main content

Module keysignature

Module keysignature 

Source
Expand description

Key-signature conversion and spelling helpers.

Structs§

KeySignature
A key signature represented by the number of sharps.

Functions§

mode_sharps_alter
Returns the circle-of-fifths sharp-count offset for a mode name.
pitch_name_to_sharps
Returns the key-signature sharp count for a tonic pitch name and optional mode.
pitch_to_sharps
Returns the key-signature sharp count for a tonic pitch and optional mode.
sharps_to_pitch
Returns the major-key tonic pitch for a key-signature sharp count.