Convert frequency to corresponding MIDI note number. Based on Max's ftom
$ npm install --save ftom
Convert frequency to MIDI note number. Second parameter sets concert pitch, defaulting to A = 440 Hz.
Does not round result to nearest integer! Consider this a feature!
var ftom = require('ftom');
ftom(440);
// => 69