implemented midi->freq, fixed keyword->notenum