Browse Source

cmDspPgmKr.c : Patched scMod.post to achan.trig (but commented out).

master
kevin 10 years ago
parent
commit
fb509b10c7
1 changed files with 9 additions and 7 deletions
  1. 9
    7
      dsp/cmDspPgmKr.c

+ 9
- 7
dsp/cmDspPgmKr.c View File

@@ -1536,7 +1536,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1536 1536
   cmDspInst_t* prePath    = cmDspSysAllocInst(   h, "Fname",  "prePath",   3, true,NULL,r.tlPrefixPath);
1537 1537
   
1538 1538
 
1539
-  //--------------- Recorded evaluation and Active Measurement related controls
1539
+  //--------------- Recorded performance evaluation and Active Measurement related controls
1540 1540
   cmDspInst_t* clrBtn  = cmDspSysAllocButton( h, "clear",  0);
1541 1541
   cmDspInst_t* prtBtn  = cmDspSysAllocButton( h, "dump",  0);
1542 1542
   cmDspInst_t* mlst    = cmDspSysAllocInst(   h, "MsgList",   NULL, 3, "meas", r.measFn, 2);
@@ -1594,16 +1594,16 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1594 1594
   cmDspInst_t* xfadMs = cmDspSysAllocInst(h,"Scalar", "Xfade Ms",     5, kNumberDuiId, 0.0,   1000.0,0.01, 50.0 );  
1595 1595
 
1596 1596
   // Audio file recording
1597
-  cmDspInst_t* recdGain= cmDspSysAllocInst(h,"Scalar", "Recd Gain", 5, kNumberDuiId, 0.0,   100.0,0.01, 1.5 );  
1597
+  cmDspInst_t* recdGain= cmDspSysAllocInst(h,"Scalar", "Recd Gain",  5, kNumberDuiId, 0.0,   100.0,0.01, 1.5 );  
1598 1598
   cmDspInst_t* recdChk = cmDspSysAllocInst(h,"Button", "Record",     2, kCheckDuiId, 0.0 );
1599 1599
   cmDspInst_t* recdPtS = cmDspSysAllocInst(h,"GateToSym", NULL,      2, cmSymTblRegisterStaticSymbol(cmDspSysSymbolTable(h),"open"),cmSymTblRegisterStaticSymbol(cmDspSysSymbolTable(h),"close"));
1600 1600
   cmDspInst_t* afop    = cmDspSysAllocInst(h,"AudioFileOut",NULL,    2, r.recordDir,2);
1601 1601
   
1602
-  cmDspSysInstallCb(h, recdGain,"val", afop, "gain0", NULL );
1603
-  cmDspSysInstallCb(h, recdGain,"val", afop, "gain1", NULL );
1604
-  cmDspSysInstallCb(h, recdChk, "out", recdPtS, "on", NULL );
1605
-  cmDspSysInstallCb(h, recdChk, "out", recdPtS, "off", NULL );
1606
-  cmDspSysInstallCb(h, recdPtS, "out", afop,    "sel", NULL );
1602
+  cmDspSysInstallCb(h, recdGain,"val", afop,    "gain0", NULL );
1603
+  cmDspSysInstallCb(h, recdGain,"val", afop,    "gain1", NULL );
1604
+  cmDspSysInstallCb(h, recdChk, "out", recdPtS, "on",    NULL );
1605
+  cmDspSysInstallCb(h, recdChk, "out", recdPtS, "off",   NULL );
1606
+  cmDspSysInstallCb(h, recdPtS, "out", afop,    "sel",   NULL );
1607 1607
 
1608 1608
 
1609 1609
   cmDspSysNewPage(h,"Sc/Rgn");
@@ -1828,6 +1828,8 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1828 1828
   // active measure loc to xfad channel trigger
1829 1829
   cmDspSysInstallCb( h, amp,    "scloc",  achan0,   "trig", NULL );
1830 1830
   cmDspSysInstallCb( h, amp,    "scloc",  achan1,   "trig", NULL );
1831
+  //cmDspSysInstallCb( h, modp,   "post",   achan0,   "trig", NULL );
1832
+  //cmDspSysInstallCb( h, modp,   "post",   achan1,   "trig", NULL );
1831 1833
 
1832 1834
   // xfade router channel selection 
1833 1835
   cmDspSysInstallCb( h, achan0, "ch",  mod_rt_00, "sel", NULL );   

Loading…
Cancel
Save