Effect param keys don't need to localize; audacity.pot can shrink...

... The keys are only ever used as internal identifiers in wxConfigFile
objects.  So they are often space-less and camel-cased.

I have noticed a couple instances of translators confused by these.
This commit is contained in:
Paul Licameli 2017-10-03 18:07:04 -04:00
parent 75becb03f4
commit d3b1ae512b
24 changed files with 102 additions and 102 deletions

View File

@ -48,7 +48,7 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Ratio, float, XO("Ratio"), 0.9f, 0.003162f, 316.227766f, 1.0f );
Param( Ratio, float, wxT("Ratio"), 0.9f, 0.003162f, 316.227766f, 1.0f );
Param( Amp, float, wxT(""), -0.91515f, -50.0f, 50.0f, 10.0f );
//

View File

@ -38,13 +38,13 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( DuckAmountDb, double, XO("DuckAmountDb"), -12.0, -24.0, 0.0, 1 );
Param( InnerFadeDownLen, double, XO("InnerFadeDownLen"), 0.0, 0.0, 3.0, 1 );
Param( InnerFadeUpLen, double, XO("InnerFadeUpLen"), 0.0, 0.0, 3.0, 1 );
Param( OuterFadeDownLen, double, XO("OuterFadeDownLen"), 0.5, 0.0, 3.0, 1 );
Param( OuterFadeUpLen, double, XO("OuterFadeUpLen"), 0.5, 0.0, 3.0, 1 );
Param( ThresholdDb, double, XO("ThresholdDb"), -30.0, -100.0, 0.0, 1 );
Param( MaximumPause, double, XO("MaximumPause"), 1.0, 0.0, DBL_MAX, 1 );
Param( DuckAmountDb, double, wxT("DuckAmountDb"), -12.0, -24.0, 0.0, 1 );
Param( InnerFadeDownLen, double, wxT("InnerFadeDownLen"), 0.0, 0.0, 3.0, 1 );
Param( InnerFadeUpLen, double, wxT("InnerFadeUpLen"), 0.0, 0.0, 3.0, 1 );
Param( OuterFadeDownLen, double, wxT("OuterFadeDownLen"), 0.5, 0.0, 3.0, 1 );
Param( OuterFadeUpLen, double, wxT("OuterFadeUpLen"), 0.5, 0.0, 3.0, 1 );
Param( ThresholdDb, double, wxT("ThresholdDb"), -30.0, -100.0, 0.0, 1 );
Param( MaximumPause, double, wxT("MaximumPause"), 1.0, 0.0, DBL_MAX, 1 );
/*
* Common constants

View File

@ -41,10 +41,10 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Bass, double, XO("Bass"), 0.0, -30.0, 30.0, 1 );
Param( Treble, double, XO("Treble"), 0.0, -30.0, 30.0, 1 );
Param( Gain, double, XO("Gain"), 0.0, -30.0, 30.0, 1 );
Param( Link, bool, XO("Link Sliders"), false, false, true, 1 );
Param( Bass, double, wxT("Bass"), 0.0, -30.0, 30.0, 1 );
Param( Treble, double, wxT("Treble"), 0.0, -30.0, 30.0, 1 );
Param( Gain, double, wxT("Gain"), 0.0, -30.0, 30.0, 1 );
Param( Link, bool, wxT("Link Sliders"), false, false, true, 1 );
#include <wx/arrimpl.cpp>
WX_DEFINE_OBJARRAY(EffectBassTrebleStateArray);

View File

@ -54,8 +54,8 @@ enum {
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Percentage, double, XO("Percentage"), 0.0, -99.0, 3000.0, 1 );
Param( UseSBSMS, bool, XO("SBSMS"), false, false, true, 1 );
Param( Percentage, double, wxT("Percentage"), 0.0, -99.0, 3000.0, 1 );
Param( UseSBSMS, bool, wxT("SBSMS"), false, false, true, 1 );
// We warp the slider to go up to 400%, but user can enter up to 3000%
static const double kSliderMax = 100.0; // warped above zero to actually go up to 400%

View File

@ -64,7 +64,7 @@ static const wxChar *kVinylStrings[kNumVinyl] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Percentage, double, XO("Percentage"), 0.0, -99.0, 4900.0, 1 );
Param( Percentage, double, wxT("Percentage"), 0.0, -99.0, 4900.0, 1 );
// We warp the slider to go up to 400%, but user can enter higher values
static const double kSliderMax = 100.0; // warped above zero to actually go up to 400%

View File

@ -48,8 +48,8 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Percentage, double, XO("Percentage"), 0.0, -99.0, 3000.0, 1 );
Param( UseSBSMS, bool, XO("SBSMS"), false, false, true, 1 );
Param( Percentage, double, wxT("Percentage"), 0.0, -99.0, 3000.0, 1 );
Param( UseSBSMS, bool, wxT("SBSMS"), false, false, true, 1 );
// We warp the slider to go up to 400%, but user can enter higher values.
static const double kSliderMax = 100.0; // warped above zero to actually go up to 400%

View File

@ -48,8 +48,8 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Threshold, int, XO("Threshold"), 200, 0, 900, 1 );
Param( Width, int, XO("Width"), 20, 0, 40, 1 );
Param( Threshold, int, wxT("Threshold"), 200, 0, 900, 1 );
Param( Width, int, wxT("Width"), 20, 0, 40, 1 );
BEGIN_EVENT_TABLE(EffectClickRemoval, wxEvtHandler)
EVT_SLIDER(ID_Thresh, EffectClickRemoval::OnThreshSlider)

View File

@ -57,13 +57,13 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Threshold, double, XO("Threshold"), -12.0, -60.0, -1.0, 1 );
Param( NoiseFloor, double, XO("NoiseFloor"), -40.0, -80.0, -20.0, 5 );
Param( Ratio, double, XO("Ratio"), 2.0, 1.1, 10.0, 10 );
Param( AttackTime, double, XO("AttackTime"), 0.2, 0.1, 5.0, 100 );
Param( ReleaseTime, double, XO("ReleaseTime"), 1.0, 1.0, 30.0, 10 );
Param( Normalize, bool, XO("Normalize"), true, false, true, 1 );
Param( UsePeak, bool, XO("UsePeak"), false, false, true, 1 );
Param( Threshold, double, wxT("Threshold"), -12.0, -60.0, -1.0, 1 );
Param( NoiseFloor, double, wxT("NoiseFloor"), -40.0, -80.0, -20.0, 5 );
Param( Ratio, double, wxT("Ratio"), 2.0, 1.1, 10.0, 10 );
Param( AttackTime, double, wxT("AttackTime"), 0.2, 0.1, 5.0, 100 );
Param( ReleaseTime, double, wxT("ReleaseTime"), 1.0, 1.0, 30.0, 10 );
Param( Normalize, bool, wxT("Normalize"), true, false, true, 1 );
Param( UsePeak, bool, wxT("UsePeak"), false, false, true, 1 );
//----------------------------------------------------------------------------
// EffectCompressor

View File

@ -76,13 +76,13 @@ static const wxString kTableTypeStrings[kNumTableTypes] =
// (Note: 'Repeats' is the total number of times the effect is applied.)
//
// Name Type Key Def Min Max Scale
Param( TableTypeIndx, int, XO("Type"), 0, 0, kNumTableTypes-1, 1 );
Param( DCBlock, bool, XO("DC Block"), false, false, true, 1 );
Param( Threshold_dB, double, XO("Threshold dB"), -6.0, -100.0, 0.0, 1000.0f );
Param( NoiseFloor, double, XO("Noise Floor"), -70.0, -80.0, -20.0, 1 );
Param( Param1, double, XO("Parameter 1"), 50.0, 0.0, 100.0, 1 );
Param( Param2, double, XO("Parameter 2"), 50.0, 0.0, 100.0, 1 );
Param( Repeats, int, XO("Repeats"), 1, 0, 5, 1 );
Param( TableTypeIndx, int, wxT("Type"), 0, 0, kNumTableTypes-1, 1 );
Param( DCBlock, bool, wxT("DC Block"), false, false, true, 1 );
Param( Threshold_dB, double, wxT("Threshold dB"), -6.0, -100.0, 0.0, 1000.0f );
Param( NoiseFloor, double, wxT("Noise Floor"), -70.0, -80.0, -20.0, 1 );
Param( Param1, double, wxT("Parameter 1"), 50.0, 0.0, 100.0, 1 );
Param( Param2, double, wxT("Parameter 2"), 50.0, 0.0, 100.0, 1 );
Param( Repeats, int, wxT("Repeats"), 1, 0, 5, 1 );
// How many samples are processed before recomputing the lookup table again
#define skipsamples 1000

View File

@ -44,9 +44,9 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Sequence, wxString, XO("Sequence"), wxT(SHORT_APP_NAME), wxT(""), wxT(""), wxT(""));
Param( DutyCycle, double, XO("Duty Cycle"), 55.0, 0.0, 100.0, 10.0 );
Param( Amplitude, double, XO("Amplitude"), 0.8, 0.001, 1.0, 1 );
Param( Sequence, wxString, wxT("Sequence"), wxT(SHORT_APP_NAME), wxT(""), wxT(""), wxT(""));
Param( DutyCycle, double, wxT("Duty Cycle"), 55.0, 0.0, 100.0, 10.0 );
Param( Amplitude, double, wxT("Amplitude"), 0.8, 0.001, 1.0, 1 );
static const double kFadeInOut = 250.0; // used for fadein/out needed to remove clicking noise

View File

@ -33,8 +33,8 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Delay, float, XO("Delay"), 1.0f, 0.001f, FLT_MAX, 1.0f );
Param( Decay, float, XO("Decay"), 0.5f, 0.0f, FLT_MAX, 1.0f );
Param( Delay, float, wxT("Delay"), 1.0f, 0.001f, FLT_MAX, 1.0f );
Param( Decay, float, wxT("Decay"), 0.5f, 0.0f, FLT_MAX, 1.0f );
EffectEcho::EffectEcho()
{

View File

@ -163,10 +163,10 @@ static const double kThirdOct[] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( FilterLength, int, XO("FilterLength"), 4001, 21, 8191, 0 );
Param( CurveName, wxChar*, XO("CurveName"), wxT("unnamed"), wxT(""), wxT(""), wxT(""));
Param( InterpLin, bool, XO("InterpolateLin"), false, false, true, false );
Param( InterpMeth, int, XO("InterpolationMethod"), 0, 0, 0, 0 );
Param( FilterLength, int, wxT("FilterLength"), 4001, 21, 8191, 0 );
Param( CurveName, wxChar*, wxT("CurveName"), wxT("unnamed"), wxT(""), wxT(""), wxT(""));
Param( InterpLin, bool, wxT("InterpolateLin"), false, false, true, false );
Param( InterpMeth, int, wxT("InterpolationMethod"), 0, 0, 0, 0 );
Param( DrawMode, bool, wxT(""), true, false, true, false );
Param( DrawGrid, bool, wxT(""), true, false, true, false );
Param( dBMin, float, wxT(""), -30.0, -120.0, -10.0, 0 );

View File

@ -36,8 +36,8 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Start, int, XO("Duty Cycle"), 3, 1, INT_MAX, 1 );
Param( Stop, int, XO("Duty Cycle"), 3, 1, INT_MAX, 1 );
Param( Start, int, wxT("Duty Cycle"), 3, 1, INT_MAX, 1 );
Param( Stop, int, wxT("Duty Cycle"), 3, 1, INT_MAX, 1 );
EffectFindClipping::EffectFindClipping()
{

View File

@ -45,8 +45,8 @@ static const wxChar *kTypeStrings[kNumTypes] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Type, int, XO("Type"), kWhite, 0, kNumTypes - 1, 1 );
Param( Amp, double, XO("Amplitude"), 0.8, 0.0, 1.0, 1 );
Param( Type, int, wxT("Type"), kWhite, 0, kNumTypes - 1, 1 );
Param( Amp, double, wxT("Amplitude"), 0.8, 0.0, 1.0, 1 );
//
// EffectNoise

View File

@ -32,10 +32,10 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Level, double, XO("Level"), -1.0, -145.0, 0.0, 1 );
Param( RemoveDC, bool, XO("RemoveDcOffset"), true, false, true, 1 );
Param( ApplyGain, bool, XO("ApplyGain"), true, false, true, 1 );
Param( StereoInd, bool, XO("StereoIndependent"), false, false, true, 1 );
Param( Level, double, wxT("Level"), -1.0, -145.0, 0.0, 1 );
Param( RemoveDC, bool, wxT("RemoveDcOffset"), true, false, true, 1 );
Param( ApplyGain, bool, wxT("ApplyGain"), true, false, true, 1 );
Param( StereoInd, bool, wxT("StereoIndependent"), false, false, true, 1 );
BEGIN_EVENT_TABLE(EffectNormalize, wxEvtHandler)
EVT_CHECKBOX(wxID_ANY, EffectNormalize::OnUpdateUI)

View File

@ -35,8 +35,8 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Amount, float, XO("Stretch Factor"), 10.0, 1.0, FLT_MAX, 1 );
Param( Time, float, XO("Time Resolution"), 0.25f, 0.00099f, FLT_MAX, 1 );
Param( Amount, float, wxT("Stretch Factor"), 10.0, 1.0, FLT_MAX, 1 );
Param( Time, float, wxT("Time Resolution"), 0.25f, 0.00099f, FLT_MAX, 1 );
class PaulStretch
{

View File

@ -45,13 +45,13 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Stages, int, XO("Stages"), 2, 2, NUM_STAGES, 1 );
Param( DryWet, int, XO("DryWet"), 128, 0, 255, 1 );
Param( Freq, double, XO("Freq"), 0.4, 0.001,4.0, 10.0 );
Param( Phase, double, XO("Phase"), 0.0, 0.0, 360.0, 1 );
Param( Depth, int, XO("Depth"), 100, 0, 255, 1 );
Param( Feedback, int, XO("Feedback"), 0, -100, 100, 1 );
Param( OutGain, double, XO("Gain"), -6.0, -30.0, 30.0, 1 );
Param( Stages, int, wxT("Stages"), 2, 2, NUM_STAGES, 1 );
Param( DryWet, int, wxT("DryWet"), 128, 0, 255, 1 );
Param( Freq, double, wxT("Freq"), 0.4, 0.001,4.0, 10.0 );
Param( Phase, double, wxT("Phase"), 0.0, 0.0, 360.0, 1 );
Param( Depth, int, wxT("Depth"), 100, 0, 255, 1 );
Param( Feedback, int, wxT("Feedback"), 0, -100, 100, 1 );
Param( OutGain, double, wxT("Gain"), -6.0, -30.0, 30.0, 1 );
//
#define phaserlfoshape 4.0

View File

@ -38,7 +38,7 @@
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Count, int, XO("Count"), 1, 1, INT_MAX, 1 );
Param( Count, int, wxT("Count"), 1, 1, INT_MAX, 1 );
BEGIN_EVENT_TABLE(EffectRepeat, wxEvtHandler)
EVT_TEXT(wxID_ANY, EffectRepeat::OnRepeatTextChange)

View File

@ -44,16 +44,16 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( RoomSize, double, XO("RoomSize"), 75, 0, 100, 1 );
Param( PreDelay, double, XO("Delay"), 10, 0, 200, 1 );
Param( Reverberance, double, XO("Reverberance"), 50, 0, 100, 1 );
Param( HfDamping, double, XO("HfDamping"), 50, 0, 100, 1 );
Param( ToneLow, double, XO("ToneLow"), 100, 0, 100, 1 );
Param( ToneHigh, double, XO("ToneHigh"), 100, 0, 100, 1 );
Param( WetGain, double, XO("WetGain"), -1, -20, 10, 1 );
Param( DryGain, double, XO("DryGain"), -1, -20, 10, 1 );
Param( StereoWidth, double, XO("StereoWidth"), 100, 0, 100, 1 );
Param( WetOnly, bool, XO("WetOnly"), false, false, true, 1 );
Param( RoomSize, double, wxT("RoomSize"), 75, 0, 100, 1 );
Param( PreDelay, double, wxT("Delay"), 10, 0, 200, 1 );
Param( Reverberance, double, wxT("Reverberance"), 50, 0, 100, 1 );
Param( HfDamping, double, wxT("HfDamping"), 50, 0, 100, 1 );
Param( ToneLow, double, wxT("ToneLow"), 100, 0, 100, 1 );
Param( ToneHigh, double, wxT("ToneHigh"), 100, 0, 100, 1 );
Param( WetGain, double, wxT("WetGain"), -1, -20, 10, 1 );
Param( DryGain, double, wxT("DryGain"), -1, -20, 10, 1 );
Param( StereoWidth, double, wxT("StereoWidth"), 100, 0, 100, 1 );
Param( WetOnly, bool, wxT("WetOnly"), false, false, true, 1 );
static const struct
{

View File

@ -112,12 +112,12 @@ static const wxChar *kSubTypeStrings[] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Type, int, XO("FilterType"), kButterworth, 0, kNumTypes - 1, 1 );
Param( Subtype, int, XO("FilterSubtype"), kLowPass, 0, kNumSubTypes - 1, 1 );
Param( Order, int, XO("Order"), 1, 1, 10, 1 );
Param( Cutoff, float, XO("Cutoff"), 1000.0, 1.0, FLT_MAX, 1 );
Param( Passband, float, XO("PassbandRipple"), 1.0, 0.0, 100.0, 1 );
Param( Stopband, float, XO("StopbandRipple"), 30.0, 0.0, 100.0, 1 );
Param( Type, int, wxT("FilterType"), kButterworth, 0, kNumTypes - 1, 1 );
Param( Subtype, int, wxT("FilterSubtype"), kLowPass, 0, kNumSubTypes - 1, 1 );
Param( Order, int, wxT("Order"), 1, 1, 10, 1 );
Param( Cutoff, float, wxT("Cutoff"), 1000.0, 1.0, FLT_MAX, 1 );
Param( Passband, float, wxT("PassbandRipple"), 1.0, 0.0, 100.0, 1 );
Param( Stopband, float, wxT("StopbandRipple"), 30.0, 0.0, 100.0, 1 );
static const double s_fChebyCoeffs[MAX_Order][MAX_Order + 1] =
{

View File

@ -41,12 +41,12 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( RatePercentStart, double, XO("RatePercentChangeStart"), 0.0, -90.0, 500, 1 );
Param( RatePercentEnd, double, XO("RatePercentChangeEnd"), 0.0, -90.0, 500, 1 );
Param( HalfStepsStart, double, XO("PitchHalfStepsStart"), 0.0, -12.0, 12.0, 1 );
Param( HalfStepsEnd, double, XO("PitchHalfStepsEnd"), 0.0, -12.0, 12.0, 1 );
Param( PitchPercentStart, double, XO("PitchPercentChangeStart"), 0.0, -50.0, 100.0, 1 );
Param( PitchPercentEnd, double, XO("PitchPercentChangeEnd"), 0.0, -50.0, 100.0, 1 );
Param( RatePercentStart, double, wxT("RatePercentChangeStart"), 0.0, -90.0, 500, 1 );
Param( RatePercentEnd, double, wxT("RatePercentChangeEnd"), 0.0, -90.0, 500, 1 );
Param( HalfStepsStart, double, wxT("PitchHalfStepsStart"), 0.0, -12.0, 12.0, 1 );
Param( HalfStepsEnd, double, wxT("PitchHalfStepsEnd"), 0.0, -12.0, 12.0, 1 );
Param( PitchPercentStart, double, wxT("PitchPercentChangeStart"), 0.0, -50.0, 100.0, 1 );
Param( PitchPercentEnd, double, wxT("PitchPercentChangeEnd"), 0.0, -50.0, 100.0, 1 );
//
// EffectTimeScale

View File

@ -65,14 +65,14 @@ static const wxString kWaveStrings[kNumWaveforms] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( StartFreq, double, XO("StartFreq"), 440.0, 1.0, DBL_MAX, 1 );
Param( EndFreq, double, XO("EndFreq"), 1320.0, 1.0, DBL_MAX, 1 );
Param( StartAmp, double, XO("StartAmp"), 0.8, 0.0, 1.0, 1 );
Param( EndAmp, double, XO("EndAmp"), 0.1, 0.0, 1.0, 1 );
Param( Frequency, double, XO("Frequency"), 440.0, 1.0, DBL_MAX, 1 );
Param( Amplitude, double, XO("Amplitude"), 0.8, 0.0, 1.0, 1 );
Param( Waveform, int, XO("Waveform"), 0, 0, kNumWaveforms - 1, 1 );
Param( Interp, int, XO("Interpolation"), 0, 0, kNumInterpolations - 1, 1 );
Param( StartFreq, double, wxT("StartFreq"), 440.0, 1.0, DBL_MAX, 1 );
Param( EndFreq, double, wxT("EndFreq"), 1320.0, 1.0, DBL_MAX, 1 );
Param( StartAmp, double, wxT("StartAmp"), 0.8, 0.0, 1.0, 1 );
Param( EndAmp, double, wxT("EndAmp"), 0.1, 0.0, 1.0, 1 );
Param( Frequency, double, wxT("Frequency"), 440.0, 1.0, DBL_MAX, 1 );
Param( Amplitude, double, wxT("Amplitude"), 0.8, 0.0, 1.0, 1 );
Param( Waveform, int, wxT("Waveform"), 0, 0, kNumWaveforms - 1, 1 );
Param( Interp, int, wxT("Interpolation"), 0, 0, kNumInterpolations - 1, 1 );
//
// EffectToneGen

View File

@ -58,12 +58,12 @@ static const wxChar *kActionStrings[kNumActions] =
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( DbIndex, int, XO("Db"), 0, 0, Enums::NumDbChoices - 1, 1 );
Param( ActIndex, int, XO("Action"), kTruncate, 0, kNumActions - 1, 1 );
Param( Minimum, double, XO("Minimum"), 0.5, 0.001, 10000.0, 1 );
Param( Truncate, double, XO("Truncate"), 0.5, 0.0, 10000.0, 1 );
Param( Compress, double, XO("Compress"), 50.0, 0.0, 99.9, 1 );
Param( Independent, bool, XO("Independent"), false, false, true, 1 );
Param( DbIndex, int, wxT("Db"), 0, 0, Enums::NumDbChoices - 1, 1 );
Param( ActIndex, int, wxT("Action"), kTruncate, 0, kNumActions - 1, 1 );
Param( Minimum, double, wxT("Minimum"), 0.5, 0.001, 10000.0, 1 );
Param( Truncate, double, wxT("Truncate"), 0.5, 0.0, 10000.0, 1 );
Param( Compress, double, wxT("Compress"), 50.0, 0.0, 99.9, 1 );
Param( Independent, bool, wxT("Independent"), false, false, true, 1 );
static const size_t DEF_BlendFrameCount = 100;

View File

@ -43,12 +43,12 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Freq, double, XO("Freq"), 1.5, 0.1, 4.0, 10 );
Param( Phase, double, XO("Phase"), 0.0, 0.0, 360.0, 1 );
Param( Depth, int, XO("Depth"), 70, 0, 100, 1 ); // scaled to 0-1 before processing
Param( Res, double, XO("Resonance"), 2.5, 0.1, 10.0, 10 );
Param( FreqOfs, int, XO("Offset"), 30, 0, 100, 1 ); // scaled to 0-1 before processing
Param( OutGain, double, XO("Gain"), -6.0, -30.0, 30.0, 1 );
Param( Freq, double, wxT("Freq"), 1.5, 0.1, 4.0, 10 );
Param( Phase, double, wxT("Phase"), 0.0, 0.0, 360.0, 1 );
Param( Depth, int, wxT("Depth"), 70, 0, 100, 1 ); // scaled to 0-1 before processing
Param( Res, double, wxT("Resonance"), 2.5, 0.1, 10.0, 10 );
Param( FreqOfs, int, wxT("Offset"), 30, 0, 100, 1 ); // scaled to 0-1 before processing
Param( OutGain, double, wxT("Gain"), -6.0, -30.0, 30.0, 1 );
// How many samples are processed before recomputing the lfo value again
#define lfoskipsamples 30