lumy / mingus

Automatically exported from code.google.com/p/mingus
GNU General Public License v3.0
0 stars 0 forks source link

substitute in progressions #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A function that can find substitutions for chords in progressions.

For instance:

  The chord progression is A, D, A, E7

  Now we ask substitute for a substitute of E7

  It returns a list containing a couple of harmonically equivallent
substitutions, like G#dim, etc.

Added bonus:

  If it can return a list of chords and lists of chords. The lists of
chords should be a valid progression substituting for the chord. 

  Maybe a max_chord argument? eg.

  substitute(chord, progression, key, max_chord_in_answer)

  substitute("E7", ["A", "D", "A", "E7"], "A", 2)
  ["G#dim", ["F", "E7"], .....]

Original issue reported on code.google.com by Rhijnauwen@gmail.com on 7 Sep 2008 at 4:38

GoogleCodeExporter commented 9 years ago
progressions.substitute has been added and returns a list of substitutions, 
because
there are many possibilities. The second idea would be nice as a refinement and
should be resubmitted as such.

Original comment by Rhijnauwen@gmail.com on 25 Dec 2008 at 8:39