musicaiz.structure.NoteClassNames

class musicaiz.structure.NoteClassNames(value)[source]

This class contains all the possible notes with their names

Examples

>>> NoteClassNames.check_note_name_exists("C")
__init__(*args, **kwargs)

Methods

get_all_names()

check_note_name_exists(name)

get_note_with_name(note_name)

Attributes

C

C_SHARP

C_FLAT

D

D_SHARP

D_FLAT

E

E_SHARP

E_FLAT

F

F_SHARP

F_FLAT

G

G_SHARP

G_FLAT

A

A_SHARP

A_FLAT

B

B_SHARP

B_FLAT

spanish_contracted

contracted

expanded

spanish_expanded