Created
August 11, 2008 20:18
-
-
Save mmower/4932 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def note_to_freq( note_num ) | |
base_note_num = note_num - 69 | |
440.0 * Math.exp( 0.057762265 * ( note_num - 69 ) ) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment