mtof
v1.0.2
Published
convert MIDI note number to corresponding frequency
Downloads
14
Readme
mtof
Convert MIDI note number to corresponding frequency. Based on Max's mtof
installation
$ npm install --save mtof
usage
mtof(midiNote, concertPitch = 440)
Convert MIDI note number to frequency. Second parameter sets concert pitch, defaulting to A = 440 Hz.
Works with decimals too! Consider this a feature!
var mtof = require('mtof');
mtof(69);
// => 440