function midi (note) {
	  if ((isNum(note) || isStr(note)) && note >= 0 && note < 128) return +note
	  var p = parse(note)
	  return p && isDef(p.midi) ? p.midi : null
	}
Get midi of a note

@name midi
@function
@param {String|Integer} note - the note name or midi number
@return {Integer} the midi number of the note or null if not a valid note
or the note does NOT contains octave
@example
var parser = require('note-parser')
parser.midi('A4') // => 69
parser.midi('A') // => null
@example
// midi numbers are bypassed (even as strings)
parser.midi(60) // => 60
parser.midi('60') // => 60