Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Beads - Bypassing a UGen

$
0
0

Is it possible to bypass a UGen so that signal data still runs through it unaffected? For example:

GranularSamplePlayer sample = new GranularSamplePlayer(ac, SampleManager.sample("sample.wav");
Gain gain = new Gain(ac, 1, 0.5);
pan = new Panner(ac, 0.4);
gain.addInput(sample);
pan.addInput(gain);
ac.out.addInput(pan);

Would it be possible to call something like pan.bypass() and still be able to let the signal go through the pan UGen and to ac.out? I tried UGen.pause() but that seems to not allow the signal through anymore.


Viewing all articles
Browse latest Browse all 2896

Trending Articles