-
Notifications
You must be signed in to change notification settings - Fork 402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
method ConcreteScale.deriveByDegree
not working for scale.MelodicMinorScale
for some degrees
#1649
Comments
I'm not sure but the for s in [
scale.MelodicMinorScale,
scale.MinorScale,
scale.MajorScale,
scale.HarmonicMinorScale,
scale.OctatonicScale,
scale.WholeToneScale,
scale.ChromaticScale,
]:
sc = s('c')
print(sc.name)
pprint.pprint(sc._abstract._net.edges) C melodic minor
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.ASCENDING M2 [(3, 4)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.ASCENDING M2 [(4, 6)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.ASCENDING m2 [(6, Terminus.HIGH)]>),
(7, <music21.scale.intervalNetwork.Edge Direction.DESCENDING M2 [(Terminus.HIGH, 7)]>),
(8, <music21.scale.intervalNetwork.Edge Direction.DESCENDING M2 [(7, 5)]>),
(9, <music21.scale.intervalNetwork.Edge Direction.DESCENDING m2 [(5, 3)]>)])
C minor
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(4, 5), (5, 4)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(5, Terminus.HIGH), (Terminus.HIGH, 5)]>)])
C major
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(4, 5), (5, 4)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(5, Terminus.HIGH), (Terminus.HIGH, 5)]>)])
C harmonic minor
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(4, 5), (5, 4)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(5, Terminus.HIGH), (Terminus.HIGH, 5)]>)])
C Octatonic
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(4, 5), (5, 4)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(5, 6), (6, 5)]>),
(7, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(6, Terminus.HIGH), (Terminus.HIGH, 6)]>)])
C Whole tone
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI M2 [(4, Terminus.HIGH), (Terminus.HIGH, 4)]>)])
C Chromatic
OrderedDict([(0, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(Terminus.LOW, 0), (0, Terminus.LOW)]>),
(1, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(0, 1), (1, 0)]>),
(2, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(1, 2), (2, 1)]>),
(3, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(2, 3), (3, 2)]>),
(4, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(3, 4), (4, 3)]>),
(5, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(4, 5), (5, 4)]>),
(6, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(5, 6), (6, 5)]>),
(7, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(6, 7), (7, 6)]>),
(8, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(7, 8), (8, 7)]>),
(9, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(8, 9), (9, 8)]>),
(10, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(9, 10), (10, 9)]>),
(11, <music21.scale.intervalNetwork.Edge Direction.BI m2 [(10, Terminus.HIGH), (Terminus.HIGH, 10)]>)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
music21 version
9.1.0
Problem summary
The method
ConcreteScale.deriveByDegree
is not working forscale.MelodicMinorScale
for somedegrees
(e.g. 6, and 7).Steps to reproduce
All other scales and degrees seem to work as expected.
Expected vs. actual behavior
Actual behaviour: see output on
C melodic minor
for degrees 6 and 7.The text was updated successfully, but these errors were encountered: