Convert notes to frequencies for the Web Audio API