瀏覽代碼

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

score follower input.
master
Kevin Larke 9 年之前
父節點
當前提交
35aad95b05
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      dsp/cmDspPgmKr.c

+ 6
- 0
dsp/cmDspPgmKr.c 查看文件

612
   cmDspInst_t* au1Sw = cmDspSysAllocInst(h,"1ofN",   NULL, 2, 2, 0);
612
   cmDspInst_t* au1Sw = cmDspSysAllocInst(h,"1ofN",   NULL, 2, 2, 0);
613
 
613
 
614
   cmDspInst_t* siRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);  
614
   cmDspInst_t* siRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);  
615
+  cmDspInst_t* muRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);  
615
   cmDspInst_t* d0Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
616
   cmDspInst_t* d0Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
616
   cmDspInst_t* d1Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
617
   cmDspInst_t* d1Rt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
617
   cmDspInst_t* stRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
618
   cmDspInst_t* stRt  = cmDspSysAllocInst(h,"Router", NULL, 2, 2, 0);
976
   cmDspSysInstallCb(h, ainb,  "out",  au0Sw, "chidx", NULL );
977
   cmDspSysInstallCb(h, ainb,  "out",  au0Sw, "chidx", NULL );
977
   cmDspSysInstallCb(h, ainb,  "out",  au1Sw, "chidx", NULL );
978
   cmDspSysInstallCb(h, ainb,  "out",  au1Sw, "chidx", NULL );
978
   cmDspSysInstallCb(h, simb,  "out",  siRt,  "sel", NULL );
979
   cmDspSysInstallCb(h, simb,  "out",  siRt,  "sel", NULL );
980
+  cmDspSysInstallCb(h, simb,  "out",  muRt,  "sel", NULL );
979
   cmDspSysInstallCb(h, simb,  "out",  d1Rt,  "sel", NULL );
981
   cmDspSysInstallCb(h, simb,  "out",  d1Rt,  "sel", NULL );
980
   cmDspSysInstallCb(h, simb,  "out",  d0Rt,  "sel", NULL );
982
   cmDspSysInstallCb(h, simb,  "out",  d0Rt,  "sel", NULL );
981
   cmDspSysInstallCb(h, simb,  "out",  stRt,  "sel", NULL );
983
   cmDspSysInstallCb(h, simb,  "out",  stRt,  "sel", NULL );
1047
   cmDspSysInstallCb(h, siRt, "f-out-1", sfp,  "smpidx",NULL ); 
1049
   cmDspSysInstallCb(h, siRt, "f-out-1", sfp,  "smpidx",NULL ); 
1048
   // leave siRt.f-out-1 unconnected because it should be ignored in 'simulate mode'
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
   cmDspSysInstallCb(h, mfp,  "d1",      d1Rt, "f-in",  NULL );
1056
   cmDspSysInstallCb(h, mfp,  "d1",      d1Rt, "f-in",  NULL );
1051
   cmDspSysInstallCb(h, d1Rt, "f-out-1", sfp,  "d1",    NULL );
1057
   cmDspSysInstallCb(h, d1Rt, "f-out-1", sfp,  "d1",    NULL );
1052
   cmDspSysInstallCb(h, d1Rt, "f-out-1", nmp,  "d1",    NULL );
1058
   cmDspSysInstallCb(h, d1Rt, "f-out-1", nmp,  "d1",    NULL );

Loading…
取消
儲存