diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-09-06 09:54:58 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-09-06 09:54:58 +0000 |
| commit | 77d1f54c12709aa3bf350b91c0e5ff81c77e353f (patch) | |
| tree | f922d5642ba5c3642067964ec1c6d06348bf655f /src/WrapComp.cpp | |
| parent | update to rack v1 compat (diff) | |
| download | vcvmods-77d1f54c12709aa3bf350b91c0e5ff81c77e353f.tar.gz vcvmods-77d1f54c12709aa3bf350b91c0e5ff81c77e353f.zip | |
add parameter descriptions
Diffstat (limited to 'src/WrapComp.cpp')
| -rw-r--r-- | src/WrapComp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WrapComp.cpp b/src/WrapComp.cpp index 3eaee98..6e47aa0 100644 --- a/src/WrapComp.cpp +++ b/src/WrapComp.cpp @@ -1,4 +1,4 @@ -#include "s-ol.hpp" +#include "plugin.hpp" struct WrapComp : Module { enum ParamIds { @@ -26,10 +26,10 @@ struct WrapComp : Module { WrapComp() { config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); - configParam(OFFSET_PARAM, -5.0, 5.0, 0.0); - configParam(RANGE_PARAM, -5.0, 5.0, 0.0); - configParam(A_OUT_PARAM, -8.0, 8.0, 1.0); - configParam(B_OUT_PARAM, -8.0, 8.0, 0.0); + configParam(OFFSET_PARAM, -5.0f, 5.0f, 0.0f, "Window Offset", " V"); + configParam(RANGE_PARAM, -5.0f, 5.0f, 0.0f, "Window Size", " V"); + configParam(A_OUT_PARAM, -8.0f, 8.0f, 8.0f, "A Output", " V"); + configParam(B_OUT_PARAM, -8.0f, 8.0f, 0.0f, "B Output", " V"); } void process(const ProcessArgs &args) override; }; |
