Re:The Circle of Fifths, Part One
by kroger on Sunday November 25, 2012 @01:43PM
(#4828828)
The following solution defines a function to transpose each scale taking advantage of the mathematical properties of notes:
EDIT: make the code prettier
[ Parent
| on HN ]
A trick to generate a cycle of fourths or fifths is to multiply a chromatic scale by 5 or 7, respectively:
notes_name([n*7 for n in range(0, 12)])