Separated auio processing and MIDI logic