Exploring Scales#

MusicIR offers tools to create and work with scales.

[1]:
from musicir.harmony.scale import Scale

For example you can obtain the notes of a scale.

[6]:
e_flat = Scale("E-", mode="Harmonic Minor")
e_flat
[6]:
E- Harmonic Minor
[2]:
e_flat.get_notes()
[2]:
['E-', 'F', 'G-', 'A-', 'B-', 'C-', 'D', 'E-']

Or see it as as Music21 Scale object

[4]:
e_flat.as_scale().show()
_images/Scales_6_0.png
[5]:
e_flat.stream.show('midi')

Less common scales are also available:

[ ]: