reworking imports
added hz<=>midi# conversion