Created
April 12, 2017 09:09
-
-
Save toddpress/650762215aae7f54ddb2fb74f4e1e9d6 to your computer and use it in GitHub Desktop.
Sass function to calc guitar fret widths
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
@function calculate-fret-distance($scaleLength, $nthFret) | |
@return $scaleLength - $scaleLength / pow(2, ($nthFret/12)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment