|
@@ -83,6 +83,9 @@ cmDspRC_t _cmDspSysPgm_TimeLineLiteAf(cmDspSysH_t h, void** userPtrPtr )
|
83
|
83
|
unsigned cmpPreGrpSymId = cmDspSysPresetRegisterGroup(h,"tl_cmp");
|
84
|
84
|
|
85
|
85
|
cmDspTlXform_t c0,c1;
|
|
86
|
+ memset(&c0,0,sizeof(c0));
|
|
87
|
+ memset(&c1,0,sizeof(c1));
|
|
88
|
+
|
86
|
89
|
|
87
|
90
|
cmDspSysNewPage(h,"Controls-0");
|
88
|
91
|
_cmDspSys_TlXformChain(h, &c0, preGrpSymId, cmpPreGrpSymId, amp, modp, 0, 0 );
|
|
@@ -121,10 +124,10 @@ cmDspRC_t _cmDspSysPgm_TimeLineLiteAf(cmDspSysH_t h, void** userPtrPtr )
|
121
|
124
|
cmDspInst_t* ogainW = cmDspSysAllocInst(h,"Scalar", "Wet Master", 5, kNumberDuiId, 0.0, 10.0,0.01, 1.0 );
|
122
|
125
|
cmDspInst_t* ogainD = cmDspSysAllocInst(h,"Scalar", "Dry Master", 5, kNumberDuiId, 0.0, 10.0,0.01, 1.0 );
|
123
|
126
|
|
124
|
|
- cmDspInst_t* gmult0 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*", "in-0", 1.0, "in-1", 1.0 );
|
125
|
|
- cmDspInst_t* gmult1 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*", "in-0", 1.0, "in-1", 1.0 );
|
126
|
|
- cmDspInst_t* gmult2 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*", "in-0", 1.0, "in-1", 1.0 );
|
127
|
|
- cmDspInst_t* gmult3 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*", "in-0", 1.0, "in-1", 1.0 );
|
|
127
|
+ cmDspInst_t* gmult0 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*$", "in-0", 1.0, "in-1", 1.0 );
|
|
128
|
+ cmDspInst_t* gmult1 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*$", "in-0", 1.0, "in-1", 1.0 );
|
|
129
|
+ cmDspInst_t* gmult2 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*$", "in-0", 1.0, "in-1", 1.0 );
|
|
130
|
+ cmDspInst_t* gmult3 = cmDspSysAllocInst(h,"ScalarOp", NULL, 6, 2, "*$", "in-0", 1.0, "in-1", 1.0 );
|
128
|
131
|
|
129
|
132
|
|
130
|
133
|
|
|
@@ -136,8 +139,10 @@ cmDspRC_t _cmDspSysPgm_TimeLineLiteAf(cmDspSysH_t h, void** userPtrPtr )
|
136
|
139
|
cmDspInst_t* mi0p = cmDspSysAllocInst(h,"AMeter","In 0", 0);
|
137
|
140
|
cmDspInst_t* mi1p = cmDspSysAllocInst(h,"AMeter","In 1", 0);
|
138
|
141
|
|
139
|
|
- cmDspInst_t* meas = cmDspSysAllocInst(h,"Scalar", "Begin Meas", 5, kNumberDuiId, 1.0, 1000.0, 1.0, 1.0 );
|
140
|
|
- cmDspInst_t* emeas = cmDspSysAllocInst(h,"Scalar", "End Meas", 5, kNumberDuiId, 1.0, 1000.0, 1.0, 1.0 );
|
|
142
|
+ cmDspInst_t* meas = cmDspSysAllocInst(h,"Scalar", "Begin Meas", 5, kNumberDuiId, 1.0, 1000.0, 1.0, 1.0 );
|
|
143
|
+ cmDspInst_t* eloc = cmDspSysAllocInst(h,"Scalar", "End Loc", 5, kNumberDuiId, 1.0, 1000.0, 1.0, 1.0 );
|
|
144
|
+ cmDspInst_t* sfp_loc = cmDspSysAllocInst(h,"Label", NULL, 1, "sf loc:");
|
|
145
|
+
|
141
|
146
|
cmDspSysInstallCb( h, meas, "val", scp, "meas", NULL);
|
142
|
147
|
cmDspSysInstallCb( h, meas, "val", tlp, "meas", NULL);
|
143
|
148
|
|
|
@@ -323,36 +328,36 @@ cmDspRC_t _cmDspSysPgm_TimeLineLiteAf(cmDspSysH_t h, void** userPtrPtr )
|
323
|
328
|
|
324
|
329
|
// score follower to recd_play,modulator and printers
|
325
|
330
|
cmDspSysInstallCb(h, sfp, "out", modp, "index", NULL );
|
326
|
|
- cmDspSysInstallCb(h, sfp, "recent", prp, "in", NULL ); // report 'recent' but only act on 'max' loc index
|
|
331
|
+ cmDspSysInstallCb(h, sfp, "recent", sfp_loc, "in", NULL ); // report 'recent' but only act on 'max' loc index
|
327
|
332
|
|
328
|
|
- cmDspSysInstallCb( h, emeas, "val", its, "off-int", NULL);
|
|
333
|
+ cmDspSysInstallCb( h, eloc , "val", its, "off-int", NULL);
|
329
|
334
|
cmDspSysInstallCb( h, sfp, "out", its, "in", NULL);
|
330
|
335
|
cmDspSysInstallCb( h, its, "out", offb, "in", NULL);
|
331
|
336
|
cmDspSysInstallCb( h, its, "out", prp, "in", NULL);
|
332
|
337
|
|
333
|
338
|
|
334
|
|
- cmDspSysInstallCb(h, modp, "dgain0", ogain0, "val", NULL );
|
|
339
|
+ cmDspSysInstallCb(h, modp, "dgain0", ogain0, "val", NULL ); // mod -> ogain
|
335
|
340
|
cmDspSysInstallCb(h, modp, "dgain1", ogain1, "val", NULL );
|
336
|
341
|
cmDspSysInstallCb(h, modp, "wgain0", ogain2, "val", NULL );
|
337
|
342
|
cmDspSysInstallCb(h, modp, "wgain1", ogain3, "val", NULL );
|
338
|
343
|
|
339
|
344
|
|
340
|
|
- cmDspSysInstallCb(h, ogain0, "val", gmult0, "in-0", NULL );
|
341
|
|
- cmDspSysInstallCb(h, ogainD, "val", gmult0, "in-1", NULL );
|
342
|
|
-
|
|
345
|
+ cmDspSysInstallCb(h, ogain0, "val", gmult0, "in-0", NULL ); // ogain scalars -> gmult 0
|
343
|
346
|
cmDspSysInstallCb(h, ogain1, "val", gmult1, "in-0", NULL );
|
344
|
|
- cmDspSysInstallCb(h, ogainD, "val", gmult1, "in-1", NULL );
|
345
|
|
-
|
346
|
347
|
cmDspSysInstallCb(h, ogain2, "val", gmult2, "in-0", NULL );
|
347
|
|
- cmDspSysInstallCb(h, ogainW, "val", gmult2, "in-1", NULL );
|
348
|
348
|
cmDspSysInstallCb(h, ogain3, "val", gmult3, "in-0", NULL );
|
|
349
|
+
|
|
350
|
+ cmDspSysInstallCb(h, ogainD, "val", gmult0, "in-1", NULL ); // master scalars -> gmult 1
|
|
351
|
+ cmDspSysInstallCb(h, ogainD, "val", gmult1, "in-1", NULL );
|
|
352
|
+ cmDspSysInstallCb(h, ogainW, "val", gmult2, "in-1", NULL );
|
349
|
353
|
cmDspSysInstallCb(h, ogainW, "val", gmult3, "in-1", NULL );
|
350
|
354
|
|
351
|
|
- cmDspSysInstallCb(h, gmult0, "out", lmix, "gain-0", NULL ); // output gain control - dry 0
|
352
|
|
- cmDspSysInstallCb(h, gmult1, "out", rmix, "gain-0", NULL ); // dry 1
|
353
|
|
- cmDspSysInstallCb(h, gmult2, "out", lmix, "gain-1", NULL ); // wet 0
|
354
|
|
- cmDspSysInstallCb(h, gmult3, "out", rmix, "gain-1", NULL ); // wet 1
|
|
355
|
+ cmDspSysInstallCb(h, gmult0, "out", lmix, "gain-0", NULL ); // gmult -> wdmix - l dry
|
|
356
|
+ cmDspSysInstallCb(h, gmult1, "out", rmix, "gain-0", NULL ); // r dry
|
|
357
|
+ cmDspSysInstallCb(h, gmult2, "out", lmix, "gain-1", NULL ); // l wet
|
|
358
|
+ cmDspSysInstallCb(h, gmult3, "out", rmix, "gain-1", NULL ); // r wet
|
355
|
359
|
|
|
360
|
+ //cmDspSysInstallCb(h, gmult2, "out", prp, "in", NULL );
|
356
|
361
|
|
357
|
362
|
return rc;
|
358
|
363
|
}
|