We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc60a2f commit b0e530dCopy full SHA for b0e530d
1 file changed
TestPatches/PatchParameterTestPatch.hpp
@@ -9,17 +9,19 @@ class PatchParameterTestPatch : public Patch {
9
FloatParameter p2;
10
IntParameter p3;
11
FloatParameter p4;
12
-
+ FloatParameter p5;
13
public:
14
PatchParameterTestPatch(){
15
p1 = getFloatParameter("float", 0.0, 1.0);
16
p2 = getFloatParameter("smoothfloat", 0.0, 1.0, 0.5, 0.9);
17
p3 = getIntParameter("stiffint", 0, 10, 0, 0, 2);
18
- p4 = getFloatParameter("expfloat", 0.0, 10.0, 0.0, 0.0, 0.0, 2.0);
+ p4 = getFloatParameter("expfloat", 0.0, 10.0, 0.0, 0.0, 0.0, EXP);
19
+ p5 = getFloatParameter("logfloat", 0.0, 10.0, 0.0, 0.0, 0.0, LOG);
20
}
21
void processAudio(AudioBuffer &buffer){
22
// debugMessage("p1/p2/p3", (float)p1, (float)p2, (float)p3);
- debugMessage("p2/p3/p4", (float)p2, (float)p3, (float)p4);
23
+ // debugMessage("p2/p3/p4", (float)p2, (float)p3, (float)p4);
24
+ debugMessage("p3/p4/p5", (float)p3, (float)p4, (float)p5);
25
26
};
27
0 commit comments