Skip to content

Instantly share code, notes, and snippets.

View euwbah's full-sized avatar
🙃
smile and wave

euwbah euwbah

🙃
smile and wave
View GitHub Profile

Format: [chord ratio], complexity, { (individual note) => probability of being 'tonic' }

Before adding otonal/utonal scaling (otonal_utonal_imbalance: 0):

Maj triad:
└─ "[4, 5, 6]: 3.857987202449161, {(1/1)=>0.38972255498549707, (3/2)=>0.32899613084094204, (5/4)=>0.2812813141735609}"

Min triad: Using LCM/Tenney height method, this will evaluate as equally as complex as the major chord.
└─ "[10, 12, 15]: 3.8911800411184334, {(1/1)=>0.34309983966512086, (3/2)=>0.33221561834177654, (6/5)=>0.32468454199310265}"