From: khamidou Date: Thu, 11 Aug 2011 14:21:07 +0000 (+0200) Subject: more chords X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fe47c7cd5d02bbdf85d0d05c7f5f6fb0256712a8;p=scaletool.git more chords --- diff --git a/app.py b/app.py index 11775f2..ebb4dc3 100755 --- a/app.py +++ b/app.py @@ -29,8 +29,9 @@ class ScalesFrame(Frame): class ModeFrame(Frame): scales = [ {"name": "Major", "formula" : [2, 2, 1, 2, 2, 2, 1], "chords": "I ii iii IV V vidim vii"}, - {"name": "Harmonic Minor", "formula" : [2, 1, 2, 2, 1, 3, 1]}, - {"name": "Natural Minor", "formula" : [2, 1, 2, 2, 1, 2, 2]}, + {"name": "Harmonic Minor", "formula" : [2, 1, 2, 2, 1, 3, 1], + "chords": "i iidim IIIaug iv V VI viidim"}, + {"name": "Natural Minor", "formula" : [2, 1, 2, 2, 1, 2, 2], "chords": "i iidim III iv v VI VII"}, ] def __init__(self, master=None, app=None): @@ -93,7 +94,7 @@ class Application(Frame): self.derivedChordsFrame = LabelFrame(self, text="Derived Chords") self.derivedChordsFrame.grid() - self.derivedChordsLabel = Label(master=self.derivedChordsFrame, text="ho") + self.derivedChordsLabel = Label(master=self.derivedChordsFrame, text=ModeFrame.scales[0]["chords"]) self.derivedChordsLabel.pack() self.outputLabel.grid()