cmDspPgmKr.c : Connect the 'muid' MIDI file player output to the 'muid'

score follower input.
This commit is contained in:
Kevin Larke 2015-02-25 15:20:18 -08:00
parent 39021c4c3b
commit 35aad95b05

View File

@ -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 );