コード例 #1
0
        public Chorus()
        {
            effect_name = "Chorus";
            initSinLookUp();

            parameters = new ChorusParams();
            ChorusParams cp = (ChorusParams)parameters;



            Form_Chorus fc = new Form_Chorus();

            controler = fc;

            parameters = cp;

            fc.cp = (ChorusParams)parameters;

            //cp.memory = new backBuf(sys.sample_rate);

            this.parameters.enable = true;

            for (int i = 0; i < sys.MAX_CHANNELS; i++)
            {
                cp.memory[i] = new backBuf(sys.sample_rate);
            }

            cp.ang   = 0.0f;
            cp.depth = 50;
            cp.speed = 5;
            cp.mode  = 0;
            cp.wet   = 250;
            cp.dry   = 200;
            cp.regen = 0;
        }
コード例 #2
0
        public Chorus()
        {
            effect_name = "Chorus";
            initSinLookUp();

            parameters = new ChorusParams();
            ChorusParams cp = (ChorusParams)parameters;

            Form_Chorus fc = new Form_Chorus();
            controler = fc;

            parameters = cp;

            fc.cp = (ChorusParams)parameters;

            //cp.memory = new backBuf(sys.sample_rate);

            this.parameters.enable = true;

              for (int i = 0; i < sys.MAX_CHANNELS; i++) {
                  cp.memory[i] = new backBuf(sys.sample_rate);
            }

            cp.ang = 0.0f;
            cp.depth = 50;
            cp.speed = 5;
            cp.mode = 0;
            cp.wet = 250;
            cp.dry = 200;
            cp.regen = 0;
        }