bool EffectEcho::SetAutomationParameters(EffectAutomationParameters & parms) { ReadAndVerifyFloat(Delay); ReadAndVerifyFloat(Decay); delay = Delay; decay = Decay; return true; }
bool EffectPaulstretch::SetAutomationParameters(CommandParameters & parms) { ReadAndVerifyFloat(Amount); ReadAndVerifyFloat(Time); mAmount = Amount; mTime_resolution = Time; return true; }
bool EffectAmplify::SetAutomationParameters(CommandParameters & parms) { ReadAndVerifyFloat(Ratio); mRatio = Ratio; return true; }
bool EffectScienFilter::SetAutomationParameters(EffectAutomationParameters & parms) { ReadAndVerifyEnum(Type, wxArrayString(kNumTypes, kTypeStrings)); ReadAndVerifyEnum(Subtype, wxArrayString(kNumSubTypes, kSubTypeStrings)); ReadAndVerifyInt(Order); ReadAndVerifyFloat(Cutoff); ReadAndVerifyFloat(Passband); ReadAndVerifyFloat(Stopband); mFilterType = Type; mFilterSubtype = Subtype; mOrder = Order; mCutoff = Cutoff; mRipple = Passband; mStopbandRipple = Stopband; mOrderIndex = mOrder - 1; CalcFilter(); return true; }