Created
June 13, 2022 19:10
-
-
Save eivko/3882475323dc3af3040be04c345f6512 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
function midiNoteToFrequency(note) { | |
return Math.pow(2, (note - 69) / 12) * 440; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment