MCPcopy Create free account
hub / github.com/bspaans/python-mingus / __init__

Method __init__

mingus/core/scales.py:534–539  ·  view source on GitHub ↗

Create the chromatic scale in the chosen key.

(self, key, octaves=1)

Source from the content-addressed store, hash-verified

532 type = "other"
533
534 def __init__(self, key, octaves=1):
535 """Create the chromatic scale in the chosen key."""
536 self.key = key
537 self.tonic = get_notes(key)[0]
538 self.octaves = octaves
539 self.name = "{0} chromatic".format(self.tonic)
540
541 def ascending(self):
542 notes = [self.tonic]

Callers

nothing calls this directly

Calls 1

get_notesFunction · 0.90

Tested by

no test coverage detected