|
@@ -911,7 +911,10 @@ cmDspRC_t _cmDspMidiOutRecv(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDspEvt_t
|
911
|
911
|
{
|
912
|
912
|
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,121,0); // reset all controllers
|
913
|
913
|
cmMpDeviceSend(p->devIdx,p->portIdx,kCtlMdId+i,123,0); // turn all notes off
|
914
|
|
- cmSleepMs(15);
|
|
914
|
+ //cmSleepMs(15); this delay was causing audio to glitch badly
|
|
915
|
+ // if a delay is necessary make it shorter and only send it on channels where
|
|
916
|
+ // previous note-ons were issued.
|
|
917
|
+
|
915
|
918
|
}
|
916
|
919
|
}
|
917
|
920
|
break;
|