solfege.note

Classes to represent a note on the scale.

Classes

Note

Represent a note on a scale.

Module Contents

class solfege.note.Note(name, octave=None)[source]

Represent a note on a scale.

Parameters:
  • name (str)

  • octave (Optional[int])


property solfege.note.letter
The letter part of the note name.

property solfege.note.accidental: str | None

If # or b or None if no accidental on this note.


property solfege.note.name
The short name of the note.

e.g. C or A# or Bb


property solfege.note.octave
The octave this note is in.