moved switch func to knubMidi