Example #1
0
        public Distortion()
        {
            this.effect_name = "Distortion";
            DistortionParams dp = new DistortionParams();

            this.parameters = dp;
            Form_Distortion form = new Form_Distortion();

            form.effect = this;
            controler   = form;
            dp.enable   = true;


            dp.sat       = 0.7f;
            dp.level     = .6f;
            dp.drive     = 10;
            dp.lowpass   = 350;
            dp.noisegate = 1000;

            RCFilter.RC_setup(1, 1, dp.fd);
            RCFilter.RC_set_freq(dp.lowpass, dp.fd);

            RCFilter.RC_setup(1, 1, dp.noise);
            RCFilter.RC_set_freq(dp.noisegate, dp.noise);
        }
        public Distortion()
        {
            this.effect_name = "Distortion";
             DistortionParams dp = new DistortionParams();
             this.parameters = dp;
            Form_Distortion form = new Form_Distortion();
            form.effect = this;
            controler = form;
            dp.enable = true;

            dp.sat = 0.7f;
            dp.level = .6f;
            dp.drive = 10;
            dp.lowpass = 350;
            dp.noisegate = 1000;

            RCFilter.RC_setup(1, 1, dp.fd);
            RCFilter.RC_set_freq(dp.lowpass, dp.fd);

            RCFilter.RC_setup(1, 1, dp.noise);
            RCFilter.RC_set_freq(dp.noisegate, dp.noise);
        }
 private void Form_Distortion_Load(object sender, EventArgs e)
 {
     effect_params = (DistortionParams)effect.parameters;
 }
Example #4
0
 private void Form_Distortion_Load(object sender, EventArgs e)
 {
     effect_params = (DistortionParams)effect.parameters;
 }