prims at wol.be
Sat Aug 19 15:54:41 CEST 2000
that's what i needed to know.
----- Original Message -----
From: "forum::für::umläute" <zmoelnig at iem.mhsg.ac.at>
To: "mik" <prims at wol.be>
Cc: "pd list" <pd-list at iem.mhsg.ac.at>
Sent: Tuesday, August 15, 2000 10:51 PM
> ah !
> do not use the "array" function; use "table <my_array_name>" instead;
> this will create an object that looks like an abstraction and contains a
> single named array;
> then everything becomes easy ::
> into your patch called "loopplayer" insert a "table $1" instead of your
> then invoke "loopplayer groovy" and "loopplayer cool" and so on, and you
> will get distinct arrays called "groovy", "cool" and "so on".
> you can reference to the first argument of an abstraction via the "$1";
> so inside your patch you might want to use "tabwrite4~ $1",...
> mik schrieb:
> > hi
> > i'm having trouble with creating/using a template containing an array.
> > problems arise when i want to use 2 or more instances of the template in
> > same patch: the same array is created twice. I tried to solve the
> > renaming the array by passing the new name as a parameter (name of
> > new name array, e.g. loopplayer a1 and then loadbang -> rename array
> > a1). this only works once. when i reopen the patch, pd crashes. i
> > checked (i'm sorry, i should have, but i'm in windows now and i run pd
> > linux), but i think the array in the template itself gets renamed as
> > just a guess.
> > any suggestions?
> > mik
More information about the Pd-list