From bcd306745a6bc273ab9ac188af1b99b2c83fd3c5 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 2 Nov 2012 08:18:53 +0000 Subject: share_mem : expanding syntax of [memdump( svn path=/trunk/externals/share_mem/; revision=16517 --- shmem-help.pd | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'shmem-help.pd') diff --git a/shmem-help.pd b/shmem-help.pd index a6dac85..d8d3572 100644 --- a/shmem-help.pd +++ b/shmem-help.pd @@ -1,4 +1,4 @@ -#N canvas 122 50 1009 468 10; +#N canvas 122 50 1064 468 10; #N canvas 1 89 450 300 (subpatch) 0; #X array array2 100 float 3; #A 0 -0.857141 -0.799998 -0.72857 -0.657141 -0.585713 -0.542856 -0.499999 @@ -57,11 +57,10 @@ the exisiting segment.; #X obj 568 371 shmem 1214 250; #X text 655 343 read one float of the table send value to the outlet ; -#X msg 568 292 memdump 0 array2; -#X text 21 192 WRINTING INTO MEMORY; -#X text 567 254 READING MEMORY; +#X msg 568 252 memdump 0 array2; +#X text 567 214 READING MEMORY; #X floatatom 568 395 5 0 0 0 - - -; -#X text 688 292 dump shared memory from index 0 to array2; +#X text 688 252 dump shared memory from index 0 to array2; #X text 21 146 Work only on Linux / and Unix.; #X text 132 421 2nd argument : size of the segment (number of float) ; @@ -70,12 +69,17 @@ the exisiting segment.; #X text 139 367 reset memory to 0; #X text 475 168 array1 and array 2 are size 100; #X msg 69 318 memset 50 5 5 5 1 1 0.1 0.2 0.3 0.4 0.5 0.6 0.7; +#X text 21 192 WRITING INTO MEMORY; +#X msg 588 282 memdump 0 array2 50; +#X text 708 282 dump shared memory from index 0 to array2 from index +50; #X connect 1 0 8 0; #X connect 3 0 8 0; #X connect 6 0 8 0; -#X connect 13 0 23 0; -#X connect 14 0 19 0; +#X connect 13 0 22 0; +#X connect 14 0 18 0; #X connect 16 0 14 0; -#X connect 23 0 14 0; -#X connect 24 0 8 0; -#X connect 27 0 8 0; +#X connect 22 0 14 0; +#X connect 23 0 8 0; +#X connect 26 0 8 0; +#X connect 28 0 14 0; -- cgit v1.2.1