Quellcode durchsuchen

cmDspPgmKr.c:Added control to set xfade time.

master
kevin vor 11 Jahren
Ursprung
Commit
759ec01595
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10
    0
      dsp/cmDspPgmKr.c

+ 10
- 0
dsp/cmDspPgmKr.c Datei anzeigen

@@ -1576,6 +1576,7 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1576 1576
 
1577 1577
   cmDspInst_t* ogain0 = cmDspSysAllocInst(h,"Scalar", "Out Gain-0",   5, kNumberDuiId, 0.0,   10.0,0.01,   3.0 );  
1578 1578
   cmDspInst_t* ogain1 = cmDspSysAllocInst(h,"Scalar", "Out Gain-1",   5, kNumberDuiId, 0.0,   10.0,0.01,   3.0 );  
1579
+  cmDspInst_t* xfadMs = cmDspSysAllocInst(h,"Scalar", "Xfade Ms",     5, kNumberDuiId, 0.0,   1000.0,0.01, 50.0 );  
1579 1580
 
1580 1581
   //cmDspInst_t* reload = cmDspSysAllocInst(h,"Button", "Reload",     2, kButtonDuiId, 0.0 );
1581 1582
 
@@ -1746,13 +1747,18 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1746 1747
 
1747 1748
   cmDspSysInstallCb(h, ogain0, "val", ao0p, "gain", NULL );   // output gain control
1748 1749
   cmDspSysInstallCb(h, ogain1, "val", ao1p, "gain", NULL );
1750
+  cmDspSysInstallCb(h, xfadMs, "val", fad0, "ms", NULL );
1751
+  cmDspSysInstallCb(h, xfadMs, "val", fad1, "ms", NULL );
1749 1752
 
1750 1753
   // Printer connections
1751 1754
   cmDspSysInstallCb(h, tlp, "afn",  prp, "in",  NULL );
1752 1755
   cmDspSysInstallCb(h, tlp, "mfn",  prp, "in",  NULL );
1753 1756
   cmDspSysInstallCb(h, tlp, "sel",  prp, "in",  NULL );
1754 1757
 
1758
+  cmDspSysInstallCb(h, modp, "mod0",  md00p, "val", NULL );
1755 1759
   cmDspSysInstallCb(h, modp, "thr0",  th00p, "val", NULL );
1760
+  cmDspSysInstallCb(h, modp, "upr0",  us00p, "val", NULL );
1761
+  cmDspSysInstallCb(h, modp, "lwr0",  ls00p, "val", NULL );
1756 1762
   cmDspSysInstallCb(h, modp, "mint0", min_thrh_0, "val", NULL );
1757 1763
   cmDspSysInstallCb(h, modp, "maxt0", max_thrh_0, "val", NULL );
1758 1764
   cmDspSysInstallCb(h, modp, "minu0", min_upr_0, "val", NULL );
@@ -1760,7 +1766,11 @@ cmDspRC_t _cmDspSysPgm_TimeLine(cmDspSysH_t h, void** userPtrPtr )
1760 1766
   cmDspSysInstallCb(h, modp, "minl0", min_lwr_0, "val", NULL );
1761 1767
   cmDspSysInstallCb(h, modp, "maxl0", max_lwr_0, "val", NULL );
1762 1768
 
1769
+
1770
+  cmDspSysInstallCb(h, modp, "mod1",  md10p, "val", NULL );
1763 1771
   cmDspSysInstallCb(h, modp, "thr1",  th10p, "val", NULL );
1772
+  cmDspSysInstallCb(h, modp, "upr1",  us10p, "val", NULL );
1773
+  cmDspSysInstallCb(h, modp, "lwr1",  ls10p, "val", NULL );
1764 1774
   cmDspSysInstallCb(h, modp, "mint1", min_thrh_1, "val", NULL );
1765 1775
   cmDspSysInstallCb(h, modp, "maxt1", max_thrh_1, "val", NULL );
1766 1776
   cmDspSysInstallCb(h, modp, "minu1", min_upr_1, "val", NULL );

Laden…
Abbrechen
Speichern