[PD] local arrays?

uta t99685yn at sfc.keio.ac.jp
Sat May 19 20:24:25 CEST 2001


Hi,

Juha_Vehvil臺nen <jusukoti at atp.fi> wrote:

> Is there a way to create local arrays?
> The naming convention with sends and receives,
> "$0-local" doesn't seem to work.

Objet "table $0-local" will work.

> 
> What I'm doing: I have a sampleplayer-abstraction, and
> would be nice to keep the sampled data inside the abstraction.
> Some other way to accomplish this?
> 

Here is my sample-reader abstraction.
try this.

Uta.


#N canvas 230 467 439 289 10;
#X obj 17 40 openpanel;
#X obj 17 155 soundfiler;
#X floatatom 16 186;
#X msg 17 13 bang;
#X text 59 12 read file;
#X obj 143 5 inlet;
#X obj 19 66 t s b;
#X obj 18 99 pack s s;
#X obj 77 78 symbol \$1-table;
#X obj -85 95 s \$1-filename;
#X obj 17 209 s \$1-siz;
#X obj 198 120 table \$1-tableL;
#X obj 198 146 table \$1-tableR;
#X msg 17 126 read -resize \$1 \$2L \$2R;
#X obj 17 -13 r \$1-open;
#X obj 121 41 r \$1-read;
#X obj -44 158 outlet;
#X connect 0 0 6 0;
#X connect 0 0 9 0;
#X connect 0 0 16 0;
#X connect 1 0 2 0;
#X connect 2 0 10 0;
#X connect 3 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 7 0 13 0;
#X connect 8 0 7 1;
#X connect 13 0 1 0;
#X connect 14 0 3 0;
#X connect 15 0 6 0;





More information about the Pd-list mailing list