Mercurial > hg > apm
changeset 2:33aaa48d4d16 tip
changed "meter type" to "sonification type"
author | Fiore Martin <f.martin@qmul.ac.uk> |
---|---|
date | Sat, 13 Jun 2015 15:14:20 +0100 |
parents | a30304ca3ea5 |
children | |
files | .hgignore AccessiblePeakMeter.cpp AccessiblePeakMeter.h |
diffstat | 3 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sat Jun 13 15:14:20 2015 +0100 @@ -0,0 +1,4 @@ +syntax: glob +re:^AccessiblePeakMeter\.sdf$ +re:^AccessiblePeakMeter\.v12\.suo$ +re:^build-win/vst2/Win32/Release/
--- a/AccessiblePeakMeter.cpp Mon Jun 08 13:19:16 2015 +0100 +++ b/AccessiblePeakMeter.cpp Sat Jun 13 15:14:20 2015 +0100 @@ -84,7 +84,7 @@ GetParam(kWet)->InitDouble("Wet", -6., -61.0, 0., 0.2, "dB"); GetParam(kWet)->SetDisplayText(-61.0, " -inf"); GetParam(kThreshold)->InitDouble("Threshold", 0.0, -60.0, 6.2, 0.2, "dB"); - GetParam(kSonificationType)->InitEnum("Meter Type", METERTYPE_DEFAULT, 2); + GetParam(kSonificationType)->InitEnum("Sonification Type", SONIFICATION_TYPE_DEFAULT, 2); GetParam(kSonificationType)->SetDisplayText(SONIFICATION_TYPE_CONTINUOUS, "Continuous"); GetParam(kSonificationType)->SetDisplayText(SONIFICATION_TYPE_CLIPPING, "Clipping"); GetParam(kMeterDecayRate)->InitDouble("Decay", 1.0, 0.05, 1.0, 0.05, "sec."); @@ -368,7 +368,7 @@ // -------------- static variables init ------------- const double AccessiblePeakMeter::DRYWET_DEFAULT = -6.0; -const int AccessiblePeakMeter::METERTYPE_DEFAULT = 1; +const int AccessiblePeakMeter::SONIFICATION_TYPE_DEFAULT = 1; const double AccessiblePeakMeter::METERDECAY_DEFAULT = 60.0; const double AccessiblePeakMeter::THRESHOLD_DEFAULT = 0.0;
--- a/AccessiblePeakMeter.h Mon Jun 08 13:19:16 2015 +0100 +++ b/AccessiblePeakMeter.h Sat Jun 13 15:14:20 2015 +0100 @@ -32,7 +32,7 @@ private: static const double DRYWET_DEFAULT; - static const int METERTYPE_DEFAULT; + static const int SONIFICATION_TYPE_DEFAULT; static const double METERDECAY_DEFAULT; static const double THRESHOLD_DEFAULT; static const double BEEP_TIME; @@ -109,7 +109,7 @@ } } - Sonification() : type(METERTYPE_DEFAULT) { + Sonification() : type(SONIFICATION_TYPE_DEFAULT) { reset(); }