solfege.scale

Classes to represent a scale of notes.

Classes

ScaleType

Supported scale types.

Scale

A representation of a musical scale.

Module Contents

class solfege.scale.ScaleType(*args, **kwds)[source]

Bases: enum.Enum

Supported scale types.


solfege.scale.MAJOR = 0

Enum for selecting a Major scale.


solfege.scale.MINOR

Enum for selecting a Natural Minor scale.

class solfege.scale.Scale(starting_note, type=ScaleType.MAJOR)[source]

A representation of a musical scale.

Parameters:

solfege.scale.solfege(note_)

Get the movable-do solfege name for a note in this scale.

For minor keys, moving-do la-based minor is used.

Parameters:

note (note.Note) – The note in question.

Returns:

The solfege name for that note.

Return type:

str