Browse Source

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

score follower input.
master
Kevin Larke 9 years ago
parent
commit
35aad95b05
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      dsp/cmDspPgmKr.c

+ 6
- 0
dsp/cmDspPgmKr.c View File

@@ -612,6 +612,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
612 612
   cmDspInst_t* au1Sw = cmDspSysAllocInst(h,"1ofN",   NULL, 2, 2, 0);
613 613
 
614 614
   cmDspInst_t* siRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);  
615
+  cmDspInst_t* muRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);  
615 616
   cmDspInst_t* d0Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
616 617
   cmDspInst_t* d1Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
617 618
   cmDspInst_t* stRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
@@ -976,6 +977,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
976 977
   cmDspSysInstallCb(h, ainb,  "out",  au0Sw, "chidx", NULL );
977 978
   cmDspSysInstallCb(h, ainb,  "out",  au1Sw, "chidx", NULL );
978 979
   cmDspSysInstallCb(h, simb,  "out",  siRt,  "sel", NULL );
980
+  cmDspSysInstallCb(h, simb,  "out",  muRt,  "sel", NULL );
979 981
   cmDspSysInstallCb(h, simb,  "out",  d1Rt,  "sel", NULL );
980 982
   cmDspSysInstallCb(h, simb,  "out",  d0Rt,  "sel", NULL );
981 983
   cmDspSysInstallCb(h, simb,  "out",  stRt,  "sel", NULL );
@@ -1047,6 +1049,10 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1047 1049
   cmDspSysInstallCb(h, siRt, "f-out-1", sfp,  "smpidx",NULL ); 
1048 1050
   // leave siRt.f-out-1 unconnected because it should be ignored in 'simulate mode'
1049 1051
 
1052
+  cmDspSysInstallCb(h, mfp,  "mu",      muRt, "f-in",  NULL );
1053
+  cmDspSysInstallCb(h, muRt, "f-out-1", sfp,  "muid",    NULL );
1054
+  // leave muRt.f-out-1 unconnected because it should be ignored in 'simulate mode'
1055
+
1050 1056
   cmDspSysInstallCb(h, mfp,  "d1",      d1Rt, "f-in",  NULL );
1051 1057
   cmDspSysInstallCb(h, d1Rt, "f-out-1", sfp,  "d1",    NULL );
1052 1058
   cmDspSysInstallCb(h, d1Rt, "f-out-1", nmp,  "d1",    NULL );

Loading…
Cancel
Save