go-music-theory / music-theory

Go models of Note, Scale, Chord and Key
https://gopkg.in/music-theory.v0
GNU General Public License v3.0
432 stars 44 forks source link

Sharp or Flat any interval in a chord #9

Open charneykaye opened 8 years ago

charneykaye commented 8 years ago

Expect:

C #4:
  root: C
  tones:
    1: C
    3: E
    4. F#
    5: G

C dim #6:
  root: C
  tones:
    1: C
    3: D#
    5: F#
    6: A#

C dim ♭6:
  root: C
  tones:
    1: C
    3: D#
    5: F#
    6: G#

And especially chords with upper structure in higher intervals.