|
|
|
|
98
|
double cmpWndMs = 200.0;
|
98
|
double cmpWndMs = 200.0;
|
99
|
|
99
|
|
100
|
double recdPlayInitAllocSecs = 10.0;
|
100
|
double recdPlayInitAllocSecs = 10.0;
|
|
|
101
|
+ double recdPlayMaxLaSecs = 2.0;
|
|
|
102
|
+ double recdPlayCurLaSecs = 0.1;
|
101
|
double recdPlayFadeRateDbPerSec = 4.0;
|
103
|
double recdPlayFadeRateDbPerSec = 4.0;
|
102
|
|
104
|
|
103
|
memset(&r,0,sizeof(r));
|
105
|
memset(&r,0,sizeof(r));
|
|
|
|
|
123
|
cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, r.midiDevice,r.midiOutPort);
|
125
|
cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, r.midiDevice,r.midiOutPort);
|
124
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 1, r.scFn );
|
126
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 1, r.scFn );
|
125
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
127
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
126
|
- cmDspInst_t* rpp = cmDspSysAllocInst(h,"RecdPlay", NULL, 4, 2, r.scFn, recdPlayInitAllocSecs, recdPlayFadeRateDbPerSec );
|
|
|
|
|
128
|
+ cmDspInst_t* rpp = cmDspSysAllocInst(h,"RecdPlay", NULL, 4, 2, r.scFn, recdPlayInitAllocSecs, recdPlayMaxLaSecs, recdPlayCurLaSecs, recdPlayFadeRateDbPerSec );
|
127
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
129
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
128
|
cmDspInst_t* asp = cmDspSysAllocInst(h,"AmSync", NULL, 0 );
|
130
|
cmDspInst_t* asp = cmDspSysAllocInst(h,"AmSync", NULL, 0 );
|
129
|
|
131
|
|