solfege
Library to provide tooling around scales and their solfège.
Submodules
Classes
Represent a note on a scale. |
|
A representation of a musical scale. |
|
Supported scale types. |
Package Contents
- class solfege.Note(name, octave=None)[source]
Represent a note on a scale.
- Parameters:
name (str)
octave (Optional[int])
- property solfege.letter
- The letter part of the note name.
- property solfege.accidental: str | None
If # or b or None if no accidental on this note.
- property solfege.name
- The short name of the note.
e.g. C or A# or Bb
- property solfege.octave
- The octave this note is in.
- class solfege.Scale(starting_note, type=ScaleType.MAJOR)[source]
A representation of a musical scale.
- Parameters:
starting_note (solfege.note.Note)
type (ScaleType)