Added cortex side code to handle midi note overrides