From 7d3e82d417d5ee429f54c6dba573c1ac1e93a527 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 29 Sep 2013 18:46:48 -0700 Subject: [PATCH] cmDspKr.c : cmDspMidiFilePlay object now sents note off messages. --- dsp/cmDspKr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dsp/cmDspKr.c b/dsp/cmDspKr.c index b56ea78..c74f76b 100644 --- a/dsp/cmDspKr.c +++ b/dsp/cmDspKr.c @@ -805,6 +805,7 @@ cmDspRC_t _cmDspMidiFilePlayExec(cmDspCtx_t* ctx, cmDspInst_t* inst, const cmDsp const cmMidiTrackMsg_t* mp = mpp[p->curMsgIdx]; switch( mp->status ) { + case kNoteOffMdId: case kNoteOnMdId: case kCtlMdId: cmDspSetUInt(ctx,inst, kSmpIdxMfId, mp->dtick);