Skip to content

Commit

Permalink
[gain] Set better max
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 17, 2024
1 parent 685acec commit 31c1874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/Advanced/Utilities/Gain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Gain

struct inputs
{
halp::smooth_knob<"Gain", halp::range{0., 1., 0.}> gain;
halp::smooth_knob<"Gain", halp::range{0., 5., 0.}> gain;
};
double operator()(double input, const inputs& in) { return input * in.gain; }
};
Expand Down

0 comments on commit 31c1874

Please sign in to comment.