From 35aad95b05c0695d6a7470fb6b7b0538096e434f Mon Sep 17 00:00:00 2001 From: Kevin Larke Date: Wed, 25 Feb 2015 15:20:18 -0800 Subject: [PATCH] cmDspPgmKr.c : Connect the 'muid' MIDI file player output to the 'muid' score follower input. --- dsp/cmDspPgmKr.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dsp/cmDspPgmKr.c b/dsp/cmDspPgmKr.c index f107ba9..6b6e26d 100644 --- a/dsp/cmDspPgmKr.c +++ b/dsp/cmDspPgmKr.c @@ -612,6 +612,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr ) cmDspInst_t* au1Sw = cmDspSysAllocInst(h,"1ofN", NULL, 2, 2, 0); cmDspInst_t* siRt = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0); + cmDspInst_t* muRt = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0); cmDspInst_t* d0Rt = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0); cmDspInst_t* d1Rt = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0); cmDspInst_t* stRt = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0); @@ -976,6 +977,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr ) cmDspSysInstallCb(h, ainb, "out", au0Sw, "chidx", NULL ); cmDspSysInstallCb(h, ainb, "out", au1Sw, "chidx", NULL ); cmDspSysInstallCb(h, simb, "out", siRt, "sel", NULL ); + cmDspSysInstallCb(h, simb, "out", muRt, "sel", NULL ); cmDspSysInstallCb(h, simb, "out", d1Rt, "sel", NULL ); cmDspSysInstallCb(h, simb, "out", d0Rt, "sel", NULL ); cmDspSysInstallCb(h, simb, "out", stRt, "sel", NULL ); @@ -1047,6 +1049,10 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr ) cmDspSysInstallCb(h, siRt, "f-out-1", sfp, "smpidx",NULL ); // leave siRt.f-out-1 unconnected because it should be ignored in 'simulate mode' + cmDspSysInstallCb(h, mfp, "mu", muRt, "f-in", NULL ); + cmDspSysInstallCb(h, muRt, "f-out-1", sfp, "muid", NULL ); + // leave muRt.f-out-1 unconnected because it should be ignored in 'simulate mode' + cmDspSysInstallCb(h, mfp, "d1", d1Rt, "f-in", NULL ); cmDspSysInstallCb(h, d1Rt, "f-out-1", sfp, "d1", NULL ); cmDspSysInstallCb(h, d1Rt, "f-out-1", nmp, "d1", NULL );