titus-ong / chordparser

A Python 3 package that provides a musical framework to analyse chords
MIT License
12 stars 2 forks source link

base chord function in ChordEditor #5

Open titus-ong opened 4 years ago

titus-ong commented 4 years ago

Quite a lot of useful parsing of chords rely on understanding the base chord (e.g. diminished minor ninth as a diminished chord fundamentally). Create a base chord function in ChordEditor that accepts a chord, strips it of sus, add, ext, (possibly bass - might want to keep inversions), changes the quality to the base quality, and returns the base chord.

titus-ong commented 4 years ago

Will be solved in #39 when Chord has differentiated quality from base quality.