I want be able to control echo effect with toggle controller, so I created method echo and after that used controlEvent method, but none of these technique worked for me, I guess I need some kind of setter, but don't know which one, maybe somebody know how to turn off/on echo effect with toggle ?
thanks for help
cp5 = new ControlP5(this);
ac = new AudioContext();
gainGlide = new Glide(ac, 0.0, 50);
frequencyGlide = new Glide(ac, 20, 50);
wp = new WavePlayer(ac, frequencyGlide, Buffer.SINE);