[PD] Use of toggle?

IOhannes m zmoelnig zmoelnig at iem.at
Wed May 2 08:13:29 CEST 2007

paris at parisgraphics.com wrote:
> cool... and in case you ever need to do similar with audio signals there
> is [spigot~] by yves:

please note, that this just isn't the way pd works.
you cannot turn on and off the audio within the subtree of a patch at will.

you can turn on/off the dsp-engine for the entire subpatch (with
[switch~]) or the entire pd (with [; pd dsp 0/1()

but once the audio is running in a subpatch you cannot disable it for
certain objects.
so the name [spigot~] is misleading.
the best you can do is to _mute_ the signal, which you can as well do by
multiplying the object with 0.


More information about the Pd-list mailing list