Created
October 18, 2012 11:57
-
-
Save mebens/3911360 to your computer and use it in GitHub Desktop.
Hz frequencies of the notes from eight octaves in a Lua table.
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
-- converted from http://www.seventhstring.com/resources/notefrequencies.html | |
notes = { | |
[0] = { ["c"] = 16.35, ["c#"] = 17.32, ["d"] = 18.35, ["d#"] = 19.45, ["e"] = 20.60, ["f"] = 21.83, ["f#"] = 23.12, ["g"] = 24.50, ["g#"] = 25.96, ["a"] = 27.50, ["a#"] = 29.14, ["b"] = 30.87, }, | |
[1] = { ["c"] = 32.70, ["c#"] = 34.65, ["d"] = 36.71, ["d#"] = 38.89, ["e"] = 41.20, ["f"] = 43.65, ["f#"] = 46.25, ["g"] = 49.00, ["g#"] = 51.91, ["a"] = 55.00, ["a#"] = 58.27, ["b"] = 61.74, }, | |
[2] = { ["c"] = 65.41, ["c#"] = 69.30, ["d"] = 73.42, ["d#"] = 77.78, ["e"] = 82.41, ["f"] = 87.31, ["f#"] = 92.50, ["g"] = 98.00, ["g#"] = 103.8, ["a"] = 110.0, ["a#"] = 116.5, ["b"] = 123.5, }, | |
[3] = { ["c"] = 130.8, ["c#"] = 138.6, ["d"] = 146.8, ["d#"] = 155.6, ["e"] = 164.8, ["f"] = 174.6, ["f#"] = 185.0, ["g"] = 196.0, ["g#"] = 207.7, ["a"] = 220.0, ["a#"] = 233.1, ["b"] = 246.9, }, | |
[4] = { ["c"] = 261.6, ["c#"] = 277.2, ["d"] = 293.7, ["d#"] = 311.1, ["e"] = 329.6, ["f"] = 349.2, ["f#"] = 370.0, ["g"] = 392.0, ["g#"] = 415.3, ["a"] = 440.0, ["a#"] = 466.2, ["b"] = 493.9, }, | |
[5] = { ["c"] = 523.3, ["c#"] = 554.4, ["d"] = 587.3, ["d#"] = 622.3, ["e"] = 659.3, ["f"] = 698.5, ["f#"] = 740.0, ["g"] = 784.0, ["g#"] = 830.6, ["a"] = 880.0, ["a#"] = 932.3, ["b"] = 987.8, }, | |
[6] = { ["c"] = 1047, ["c#"] = 1109, ["d"] = 1175, ["d#"] = 1245, ["e"] = 1319, ["f"] = 1397, ["f#"] = 1480, ["g"] = 1568, ["g#"] = 1661, ["a"] = 1760, ["a#"] = 1865, ["b"] = 1976, }, | |
[7] = { ["c"] = 2093, ["c#"] = 2217, ["d"] = 2349, ["d#"] = 2489, ["e"] = 2637, ["f"] = 2794, ["f#"] = 2960, ["g"] = 3136, ["g#"] = 3322, ["a"] = 3520, ["a#"] = 3729, ["b"] = 3951, }, | |
[8] = { ["c"] = 4186, ["c#"] = 4435, ["d"] = 4699, ["d#"] = 4978, ["e"] = 5274, ["f"] = 5588, ["f#"] = 5920, ["g"] = 6272, ["g#"] = 6645, ["a"] = 7040, ["a#"] = 7459, ["b"] = 7902, }, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment