We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbf0f91 commit 596deb5Copy full SHA for 596deb5
plugin.json
@@ -1,7 +1,7 @@
1
{
2
"slug": "dbRackModules",
3
"name": "dbRackModules",
4
- "version": "2.3.0",
+ "version": "2.3.1",
5
"license": "GPL-3.0-or-later",
6
"brand": "docB",
7
"author": "docB",
src/PPD.cpp
@@ -159,14 +159,14 @@ struct PPD : Module {
159
float rate=msecs[noteIdx][ptIdx];
160
rate=rescale(rate,0.0f,10000.0f,0.0f,10.0f);
161
float in=inputs[INPUT].getVoltage();
162
- float feedback=clamp(params[FEEDBACK_PARAM].getValue()+inputs[FEEDBACK_INPUT].getVoltage()/10.0f,0.0f,1.0f);
+ float feedback=clamp(params[FEEDBACK_PARAM].getValue(),0.0f,1.0f);
163
float dry=in+(wetR*feedback);
164
float delay=clamp(rate,0.0f,10.0f);
165
float mix=params[MIX_PARAM].getValue();
166
- float wetL=l.process(dry,delay,mix,args.sampleRate);
167
- wetR=r.process(wetL,delay,mix,args.sampleRate);
168
- outputs[L_OUTPUT].setVoltage(wetL);
169
- outputs[R_OUTPUT].setVoltage(wetR);
+ float wetL=l.process(dry,delay,1,args.sampleRate);
+ wetR=r.process(wetL,delay,1,args.sampleRate);
+ outputs[L_OUTPUT].setVoltage(crossfade(in,wetL,mix));
+ outputs[R_OUTPUT].setVoltage(crossfade(in,wetR,mix));
170
}
171
};
172
0 commit comments