Adds midiFreq unit generator. Fixes bugs in input setters,