Skip to content

Instantly share code, notes, and snippets.

@eivko
Created June 13, 2022 19:10
Show Gist options
  • Save eivko/3882475323dc3af3040be04c345f6512 to your computer and use it in GitHub Desktop.
Save eivko/3882475323dc3af3040be04c345f6512 to your computer and use it in GitHub Desktop.
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