hello all,
is it possible to load subpatch inside a patch on runtime from a list of subpatches?
maybe by using playlist object?
thanks
budi prakosa wrote:
hello all,
is it possible to load subpatch inside a patch on runtime from a list of subpatches?
in Pd-lingo a "subpatch" means a canvas ("window") stored within a patch. since it isstored with the patch, it makes little sense to try "loading" it at runtime (it's already loaded...)
in Pd-lingo, an "abstraction" means a canvas ("window") stored on disk to be used by another patch as an ordinary object.
it can be loaded at runtime by e.g. using "File->Open" or equivalent.
equivalents are (for instance):
mypatch( will create an object [mypatch] in the subpatch named "sub".
all of this is non-official and thus thou shall not complain if things break in future Pd-releases.
maybe by using playlist object?
whatever pleases you.
anyhow, in general i would recommend to not use any dynamic features and instead turn on/off (sub)patches at runtime by a clever use of [switch~] and [spigot] and whatnot.
fgmadr IOhannes