[PD-cvs] pd/doc/7.stuff/data-structures 2.getting.data.pd, 1.2, 1.3 5.array.pd, 1.3, 1.4

Miller Puckette millerpuckette at users.sourceforge.net
Wed May 18 06:28:34 CEST 2005


Update of /cvsroot/pure-data/pd/doc/7.stuff/data-structures
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6096/pd/doc/7.stuff/data-structures

Modified Files:
	2.getting.data.pd 5.array.pd 
Log Message:
Damn, edited this before and lost the update.  More data features.
Took about 12 patches.



Index: 5.array.pd
===================================================================
RCS file: /cvsroot/pure-data/pd/doc/7.stuff/data-structures/5.array.pd,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** 5.array.pd	28 Nov 2004 21:20:33 -0000	1.3
--- 5.array.pd	18 May 2005 04:28:32 -0000	1.4
***************
*** 14,25 ****
  #X msg 449 194 bang;
  #N canvas 0 0 384 196 data5 1;
! #X scalar template5 50 150 30 9 \; 6 \; 10 \; 12 \; 14 \; 20 \; 26
! \; 32 \; 31 \; 26 \; 26 \; 23 \; 19 \; 15 \; 11 \; 7 \; 5 \; -55 \;
! -56 \; -58 \; -1 \; -1 \; -6 \; -7 \; -8 \; -10 \; -11.3333 \; -12.6667
! \; -14 \; -18 \; -20 \; -22 \; -24 \; -26 \; -28 \; -31 \; -35 \; -37
! \; -37 \; -37 \; -37 \; -38 \; -39 \; -40 \; -41 \; -42 \; -43 \; -47
! \; -49 \; -51 \; -52 \; \;;
  #X restore 508 314 pd data5;
! #N canvas 90 339 646 260 template5 1;
  #X obj 8 91 filledpolygon 244 q 3 0 0 20 z 40 0;
  #X text 6 44 this declares an array named "bazoo" whose elements are
--- 14,24 ----
  #X msg 449 194 bang;
  #N canvas 0 0 384 196 data5 1;
! #X scalar template5 60 109 30 9 \; 0 \; 0 \; 0 \; 0 \; 0 \; 3 \; 0
! \; 0 \; 0 \; 7 \; -60 \; -66 \; -68 \; -70 \; -88 \; -100 \; -100 \;
! 14 \; 12 \; 8 \; 6 \; 2 \; -4 \; -26 \; -34 \; -58 \; -60 \; -66 \;
! -66 \; -66 \; -66 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0 \; 0
! \; 0 \; 0 \; 0 \; 0 \; 43 \; 0 \; 0 \; 0 \; 0 \; \;;
  #X restore 508 314 pd data5;
! #N canvas 470 534 646 260 template5 1;
  #X obj 8 91 filledpolygon 244 q 3 0 0 20 z 40 0;
  #X text 6 44 this declares an array named "bazoo" whose elements are
***************
*** 33,37 ****
  #X obj 6 8 struct template5 float x float y float z float q array bazoo
  template5-element;
! #X obj 8 113 plot bazoo 700 3 30 10 4 1;
  #X restore 508 337 pd template5;
  #N canvas 65 248 568 128 template5-element 0;
--- 32,36 ----
  #X obj 6 8 struct template5 float x float y float z float q array bazoo
  template5-element;
! #X obj 8 113 plot bazoo 700 3 30 40 4;
  #X restore 508 337 pd template5;
  #N canvas 65 248 568 128 template5-element 0;

Index: 2.getting.data.pd
===================================================================
RCS file: /cvsroot/pure-data/pd/doc/7.stuff/data-structures/2.getting.data.pd,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** 2.getting.data.pd	23 Sep 2003 00:18:12 -0000	1.2
--- 2.getting.data.pd	18 May 2005 04:28:32 -0000	1.3
***************
*** 1,5 ****
! #N struct template2 float x float y float z float q;
! #N canvas 363 11 630 603 12;
! #X text 311 559 updated for Pd version 0.32.;
  #N canvas 42 312 598 266 stuff 0;
  #X obj 353 159 pointer;
--- 1,5 ----
! #N struct template2 float x float y float z float q float zz;
! #N canvas 138 2 630 580 12;
! #X text 345 543 updated for Pd version 0.32.;
  #N canvas 42 312 598 266 stuff 0;
  #X obj 353 159 pointer;
***************
*** 7,24 ****
  #X msg 117 62 bang;
  #X obj 117 31 loadbang;
! #X text 151 62 click here to re-initialize;
! #X text 126 206 Explained later...;
! #X msg 20 139 50 250 30 9 \, 200 200 -20 900 \, 100 200 -50 30;
! #X obj 20 162 append template2 x y z q;
  #X msg 353 101 \; pd-data2 clear;
  #X msg 353 137 traverse pd-data2 \, bang;
! #X connect 0 0 7 4;
! #X connect 1 0 6 0;
! #X connect 1 1 9 0;
! #X connect 1 2 8 0;
  #X connect 2 0 1 0;
  #X connect 3 0 2 0;
! #X connect 6 0 7 0;
! #X connect 9 0 0 0;
  #X restore 506 310 pd stuff;
  #X text 506 242 subpatches:;
--- 7,24 ----
  #X msg 117 62 bang;
  #X obj 117 31 loadbang;
! #X text 163 62 click here to re-initialize;
! #X text 127 242 Explained later...;
! #X obj 28 208 append template2 x y z q;
  #X msg 353 101 \; pd-data2 clear;
  #X msg 353 137 traverse pd-data2 \, bang;
! #X msg 28 185 50 150 30 9 \, 200 100 -20 900 \, 100 100 -50 30;
! #X connect 0 0 6 4;
! #X connect 1 0 9 0;
! #X connect 1 1 8 0;
! #X connect 1 2 7 0;
  #X connect 2 0 1 0;
  #X connect 3 0 2 0;
! #X connect 8 0 0 0;
! #X connect 9 0 6 0;
  #X restore 506 310 pd stuff;
  #X text 506 242 subpatches:;
***************
*** 26,39 ****
  #X msg 27 271 next;
  #X text 75 301 <- object that outputs pointers to scalars;
! #N canvas 13 22 345 271 data2 1;
! #X scalar template2 53 202 30 9 \;;
! #X scalar template2 203 152 -20 900 \;;
! #X scalar template2 103 152 -50 30 \;;
  #X restore 506 265 pd data2;
! #N canvas 15 278 554 155 template2 0;
! #X obj 15 46 filledpolygon 244 q 5 0 0 20 z 40 0;
  #X text 13 79 The template for the two scalars \, as in the last patch
  ;
! #X obj 15 21 struct template2 float x float y float z float q;
  #X restore 506 288 pd template2;
  #X obj 15 355 get template2 x y z q;
--- 26,39 ----
  #X msg 27 271 next;
  #X text 75 301 <- object that outputs pointers to scalars;
! #N canvas 13 22 307 198 data2 1;
! #X scalar template2 50 150 30 9 0 \;;
! #X scalar template2 200 100 -20 900 0 \;;
! #X scalar template2 100 100 -50 30 0 \;;
  #X restore 506 265 pd data2;
! #N canvas 315 125 554 155 template2 1;
  #X text 13 79 The template for the two scalars \, as in the last patch
  ;
! #X obj 15 46 filledpolygon 244 q 5 0 0 20 z 40 0;
! #X obj 14 21 struct template2 float x float y float z float q;
  #X restore 506 288 pd template2;
  #X obj 15 355 get template2 x y z q;
***************
*** 44,48 ****
  #X msg 15 246 traverse pd-data2;
  #X obj 59 330 print;
! #X text 100 330 <- this gets a bang when we reach the end;
  #X text 211 353 <- this takes incoming pointers;
  #X text 214 367 and outputs the values of x \, y \, z \, and q.;
--- 44,48 ----
  #X msg 15 246 traverse pd-data2;
  #X obj 59 330 print;
! #X text 111 331 <- this gets a bang when we reach the end;
  #X text 211 353 <- this takes incoming pointers;
  #X text 214 367 and outputs the values of x \, y \, z \, and q.;





More information about the Pd-cvs mailing list