diff options
-rw-r--r-- | src/mdaSpecMeter.cpp | 8 | ||||
-rw-r--r-- | src/mdaSpecMeter.h | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/src/mdaSpecMeter.cpp b/src/mdaSpecMeter.cpp index 5a02c7c..4ecb7a5 100644 --- a/src/mdaSpecMeter.cpp +++ b/src/mdaSpecMeter.cpp @@ -23,8 +23,8 @@ createEffectInstance (audioMasterCallback audioMaster) mdaSpecMeterProgram::mdaSpecMeterProgram () { param[_PARAM0] = 0.5; - param[_PARAM1] = 0.5; - param[_PARAM2] = 0.75; + //param[_PARAM1] = 0.5; + //param[_PARAM2] = 0.75; strcpy (name, "default"); } @@ -193,9 +193,9 @@ mdaSpecMeter::getParameterDisplay (LvzInt32 index, char *text) case _PARAM0: sprintf(string, "%.1f", 40.0f * param[index] - 20.0f); break; - case _PARAM1: + /*case _PARAM1: strcpy (string, ""); - break; + break;*/ default: sprintf(string, "%.0f", 100.0f * param[index]); } diff --git a/src/mdaSpecMeter.h b/src/mdaSpecMeter.h index e99137c..70c5256 100644 --- a/src/mdaSpecMeter.h +++ b/src/mdaSpecMeter.h @@ -13,10 +13,11 @@ #define SILENCE 0.00000001f
enum {
- _PARAM0, //peak decay
- _PARAM1, //RMS speed
- _PARAM2, //spectrum speed
- _PARAM3, //peak reset?
+ _PARAM0, //gain
+// _PARAM0, //peak decay
+// _PARAM1, //RMS speed
+// _PARAM2, //spectrum speed
+// _PARAM3, //peak reset?
NPARAMS
};
|