public void LoadGeneralEffect(EffectsGeneral parameters) { SetTrackBar(GeneralPitchTrackBar, parameters.Pitch); }
public void ApplyGeneralEffect(ref EffectsGeneral parameters) { //var pitchShift = (float)Math.Pow(Math.Pow(2F, 1F / 100F), (float)GeneralPitchTrackBar.Value); parameters.Pitch = ((float)GeneralPitchTrackBar.Value / 100F); }