Problems Patching Minim UGens
in
Contributed Library Questions
•
2 years ago
I'm struggling a bit with Minim's new UGen feature. Right now, I am simply using UGen effects (delay, band pass filter, and pan so far) to directly effect audio samples in the form of a FilePlayer UGen. I would like to simply be able to add/remove UGen audio effects. However, I'm having difficulty patching and unpatching multiple effects. If I have:
I thought I could just do:
but this does not work (as in no sound). Likewise, even when I can find a way to hack together a series of patches to get sound out, I am having difficulty unpatching only one or two effects from this chain, and keeping all other effects. Can someone tell me what is wrong with this? Is there a chaining-type thing happening that uses, for instance, the output of pan to control the delay?
- FilePlayer song;
- Pan pan;
- BandPass bpf;
- Delay delay;
- AudioOutput out;
I thought I could just do:
- song.patch(pan).patch(bpf).patch(delay).patch(out);
but this does not work (as in no sound). Likewise, even when I can find a way to hack together a series of patches to get sound out, I am having difficulty unpatching only one or two effects from this chain, and keeping all other effects. Can someone tell me what is wrong with this? Is there a chaining-type thing happening that uses, for instance, the output of pan to control the delay?
Thanks in advance,
Karl
1