public static void effectstest(AudioPlayer pl) { WaveAudio w = new WaveAudio(mediadir + "d44k16bit2ch.wav"); pl.Play(Effects.Derivative(w)); pl.Play(Effects.Flange(w)); pl.Play(Effects.Reverse(w)); pl.Play(Effects.ScalePitchAndDuration(w, 0.75)); pl.Play(Effects.ScalePitchAndDuration(w, 1.25)); pl.Play(Effects.Tremolo(w, 1.0, 1.0)); pl.Play(Effects.Vibrato(w, 0.2, 0.5)); w.setSampleRate(22050); pl.Play(w); // should sound "normal" }