Created
September 3, 2022 03:31
-
-
Save victormurcia/cc46697d368fb8feebb042a1fa2d612e to your computer and use it in GitHub Desktop.
Define intervals for various harmonies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Make harmony dictionary (i.e. fundamental, perfect fifth, major third, octave) | |
| #unison = U0 #semitone = ST | |
| #major second = M2 #minor third = m3 | |
| #major third = M3 #perfect fourth = P4 | |
| #diatonic tritone = DT #perfect fifth = P5 | |
| #minor sixth = m6 #major sixth = M6 | |
| #minor seventh = m7 #major seventh = M7 | |
| #octave = O8 | |
| harmony_select = {'U0' : 1, | |
| 'ST' : 16/15, | |
| 'M2' : 9/8, | |
| 'm3' : 6/5, | |
| 'M3' : 5/4, | |
| 'P4' : 4/3, | |
| 'DT' : 45/32, | |
| 'P5' : 3/2, | |
| 'm6': 8/5, | |
| 'M6': 5/3, | |
| 'm7': 9/5, | |
| 'M7': 15/8, | |
| 'O8': 2 | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment