Last active
January 13, 2020 21:01
-
-
Save caycefischer/490b1fd2af7674efb13539bf86ee7dd4 to your computer and use it in GitHub Desktop.
This file contains 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
// https://en.wikipedia.org/wiki/Alpha_scale | |
// http://www.microtonal-synthesis.com/scale_carlos_alpha.html | |
var notes = [ | |
// the Alpha scale is generated by dividing a perfect fifth into 9 steps | |
// with a root of A4 (440hz), a perfect fifth is E4 (659.25hz) | |
// to get a single step in the Alpha scale, we perform (659.25-440)/9 = 24.36hz | |
// a major third in the alpha scale is 5 steps: 24.36*5 = 121.8hz | |
// in this way, we can take any ROOT note in hertz and derive an Alpha scale from it | |
// Tone.Frequency(440, "hz"), // root A | |
// Tone.Frequency(513.08, "hz"), // septimal 2nd | |
// Tone.Frequency(537.44, "hz"), // minor 3rd | |
// Tone.Frequency(561.8, "hz"), // major 3rd | |
// Tone.Frequency(610.52, "hz"), // augmented 4th | |
// Tone.Frequency(659.25, "hz"), // perfect 5th | |
// Tone.Frequency(732.32, "hz"), // harmonic 7th | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment