Skip to content

Commit b0e530d

Browse files
author
mars
committed
updated test
1 parent dc60a2f commit b0e530d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

TestPatches/PatchParameterTestPatch.hpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,19 @@ class PatchParameterTestPatch : public Patch {
99
FloatParameter p2;
1010
IntParameter p3;
1111
FloatParameter p4;
12-
12+
FloatParameter p5;
1313
public:
1414
PatchParameterTestPatch(){
1515
p1 = getFloatParameter("float", 0.0, 1.0);
1616
p2 = getFloatParameter("smoothfloat", 0.0, 1.0, 0.5, 0.9);
1717
p3 = getIntParameter("stiffint", 0, 10, 0, 0, 2);
18-
p4 = getFloatParameter("expfloat", 0.0, 10.0, 0.0, 0.0, 0.0, 2.0);
18+
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);
1920
}
2021
void processAudio(AudioBuffer &buffer){
2122
// debugMessage("p1/p2/p3", (float)p1, (float)p2, (float)p3);
22-
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);
2325
}
2426
};
2527

0 commit comments

Comments
 (0)