bool EffectNormalize::TransferParameters( Shuttle & shuttle ) { shuttle.TransferBool( wxT("ApplyGain"), mGain, true ); shuttle.TransferBool( wxT("RemoveDcOffset"), mDC, true ); shuttle.TransferDouble( wxT("Level"), mLevel, 0.0); shuttle.TransferBool( wxT("StereoIndependent"), mStereoInd, false ); return true; }
bool EffectBassTreble::TransferParameters(Shuttle & shuttle) { shuttle.TransferDouble(wxT("Bass"),dB_bass,0.0); shuttle.TransferDouble(wxT("Treble"),dB_treble,0.0); shuttle.TransferDouble(wxT("Level"),dB_level,0.0); shuttle.TransferBool( wxT("Normalize"), mbNormalize, true ); return true; }
bool EffectTimeScale::TransferParameters( Shuttle & shuttle ) { shuttle.TransferDouble(wxT("RatePercentChangeStart"),m_RatePercentChangeStart,0.0); shuttle.TransferDouble(wxT("RatePercentChangeEnd"),m_RatePercentChangeEnd,0.0); shuttle.TransferDouble(wxT("PitchHalfStepsStart"),m_PitchHalfStepsStart,0.0); shuttle.TransferDouble(wxT("PitchHalfStepsEnd"),m_PitchHalfStepsEnd,0.0); shuttle.TransferDouble(wxT("PitchPercentChangeStart"),m_PitchPercentChangeStart,0.0); shuttle.TransferDouble(wxT("PitchPercentChangeEnd"),m_PitchPercentChangeEnd,0.0); shuttle.TransferBool(wxT("PreAnalyze"),m_PreAnalyze,false); return true; }