Skip to content

Comment on I need to grow away from these rootsparent

Comments

Yes, those are 'closed' voicings of the basic inversions, though. What about f4 c5 g5? Still a C/F, but an open voicing.

I mentioned Sonic Pi in my post - it actually has a bunch of built in API support for this sort of thing.

Generating all the basic inversions of all those chords for all those root notes is as simple as:

    (note_range :A2, :D5).each { |root|
      [:major, :minor, :major7, :minor7].each { |chord|
        chord_size = chord(root, chord).to_a.length
      
        for i in 0..chord_size do
        
          the_chord = chord(root, chord, inversion: i)
        
        end
      }
    }
 
'the_chord' gets set to arrays of midi notes corresponding to every inversion of every chord.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.