Skip to content

Instantly share code, notes, and snippets.

@zwhitchcox
Created July 7, 2016 19:11
Show Gist options
  • Save zwhitchcox/9ebbad12c2c4e246aa153a6ab3d92e29 to your computer and use it in GitHub Desktop.
Save zwhitchcox/9ebbad12c2c4e246aa153a6ab3d92e29 to your computer and use it in GitHub Desktop.
var noteMappings = {
c: 16.35,
'c#': 17.32,
d: 18.35,
'd#': 19.45,
e: 20.6,
f: 21.83,
'f#': 23.12,
g: 24.5,
'g#': 25.96,
a: 27.5,
'a#': 29.14,
b: 30.87
}
var bluesMajorScale = ['c', 'd', 'd#', 'e', 'g', 'a']
var bluesMinorScale = ['c', 'd#', 'f', 'f#', 'g', 'b']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment