From 71508f42ae949b46066c0676424507f2cf6268c6 Mon Sep 17 00:00:00 2001 From: "Kjetil S. Matheussen" Date: Mon, 9 Aug 2004 14:00:34 +0000 Subject: Updated to use the new string handling svn path=/trunk/externals/k_cext/; revision=1928 --- help-k_cext.pd | 58 ++++++++++++++++++++++++++--------------------------- help-k_cext2.pd | 62 ++++++++++++++++++++++++++++----------------------------- 2 files changed, 60 insertions(+), 60 deletions(-) diff --git a/help-k_cext.pd b/help-k_cext.pd index 6456919..6e1a14d 100644 --- a/help-k_cext.pd +++ b/help-k_cext.pd @@ -1,28 +1,28 @@ -#N canvas 268 7 629 687 10; -#X floatatom 19 52 5 0 0; -#X floatatom 17 116 5 0 0; -#X floatatom 238 54 5 0 0; -#X floatatom 237 117 5 0 0; -#X floatatom 419 50 5 0 0; -#X floatatom 419 137 5 0 0; -#X floatatom 30 216 5 0 0; -#X floatatom 30 337 5 0 0; +#N canvas 231 140 726 710 10; +#X floatatom 19 52 5 0 0 0 - - -; +#X floatatom 17 116 5 0 0 0 - - -; +#X floatatom 238 54 5 0 0 0 - - -; +#X floatatom 237 117 5 0 0 0 - - -; +#X floatatom 419 50 5 0 0 0 - - -; +#X floatatom 419 137 5 0 0 0 - - -; +#X floatatom 30 216 5 0 0 0 - - -; +#X floatatom 30 337 5 0 0 0 - - -; #X text 416 29 Sends out previous value.; #X text 235 33 Adds one.; -#X floatatom 367 199 5 0 0; +#X floatatom 367 199 5 0 0 0 - - -; #X text 26 198 (Gliding average); -#X floatatom 29 405 5 0 0; -#X floatatom 29 502 20 0 0; +#X floatatom 29 405 5 0 0 0 - - -; +#X floatatom 29 502 20 0 0 0 - - -; #X text 32 356 Calculates the faculty.; #X text 139 707 Additional \, read the macros in k_cext.h; -#X floatatom 373 394 5 0 0; -#X floatatom 367 501 5 0 0; -#X floatatom 515 397 5 0 0; -#X floatatom 516 501 5 0 0; +#X floatatom 373 394 5 0 0 0 - - -; +#X floatatom 367 501 5 0 0 0 - - -; +#X floatatom 515 397 5 0 0 0 - - -; +#X floatatom 516 501 5 0 0 0 - - -; #X text 361 366 Divide two numbers.; #X text 361 379 Integer modulus in the second outlet.; -#X floatatom 53 682 10 0 0; -#X floatatom 176 587 5 0 0; +#X floatatom 53 682 10 0 0 0 - - -; +#X floatatom 176 587 5 0 0 0 - - -; #X msg 62 584 bang; #X text 16 31 Sends out the input.; #X text 10 149 ______________________________________________________ @@ -76,10 +76,10 @@ p=0 \; a[p%5]=V(0) \; p++ \; O0( (a[0]+a[1]+a[2]+a[3]+a[4])/5 ) \; -262144 -1 -1 0 256; #X obj 275 683 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 -262144 -1 -1 0 256; -#X floatatom 289 588 5 0 0; -#X floatatom 359 338 5 0 0; -#X floatatom 437 337 5 0 0; -#X floatatom 530 337 5 0 0; +#X floatatom 289 588 5 0 0 0 - - -; +#X floatatom 359 338 5 0 0 0 - - -; +#X floatatom 437 337 5 0 0 0 - - -; +#X floatatom 530 337 5 0 0 0 - - -; #X text 371 174 Some modulo operations; #X obj 460 530 vsl 8 170 0 127 0 0 empty empty empty 0 -8 0 8 -1 -1 -1 0 1; @@ -97,18 +97,18 @@ p=0 \; a[p%5]=V(0) \; p++ \; O0( (a[0]+a[1]+a[2]+a[3]+a[4])/5 ) \; i++ THEN DO \; . out*=i \; O0(out) \;; #X obj 62 608 k_cext 3 4 0 5 10 \; int i \; RANGE(i \, 0 \, 4) DO \; . O(i \, (int)BETWEEN(I(1) \, I(2))) \;; -#X obj 479 602 k_cext 1 0 \; system("mozilla &") \;; #X obj 377 426 k_cext 2 2 \; IF I(1)!=0 THEN DO \; . O1(I(0) % I(1)) \; O0(V(0) / V(1)) \;; #X msg 446 198 print; +#X obj 479 603 k_cext 1 0 \; system( ss ) \;; #X connect 0 0 49 0; #X connect 2 0 50 0; #X connect 4 0 51 0; #X connect 6 0 52 0; #X connect 10 0 68 0; #X connect 12 0 69 0; -#X connect 16 0 72 0; -#X connect 18 0 72 1; +#X connect 16 0 71 0; +#X connect 18 0 71 1; #X connect 23 0 70 1; #X connect 24 0 70 0; #X connect 49 0 1 0; @@ -116,7 +116,7 @@ i++ THEN DO \; . out*=i \; O0(out) \;; #X connect 51 0 5 0; #X connect 52 0 7 0; #X connect 56 0 70 2; -#X connect 63 0 71 0; +#X connect 63 0 73 0; #X connect 68 0 57 0; #X connect 68 1 58 0; #X connect 68 2 59 0; @@ -125,6 +125,6 @@ i++ THEN DO \; . out*=i \; O0(out) \;; #X connect 70 1 53 0; #X connect 70 2 54 0; #X connect 70 3 55 0; -#X connect 72 0 17 0; -#X connect 72 1 19 0; -#X connect 73 0 68 0; +#X connect 71 0 17 0; +#X connect 71 1 19 0; +#X connect 72 0 68 0; diff --git a/help-k_cext2.pd b/help-k_cext2.pd index 19dcaea..3ae42d3 100644 --- a/help-k_cext2.pd +++ b/help-k_cext2.pd @@ -1,28 +1,28 @@ -#N canvas 325 15 629 687 10; -#X floatatom 19 52 5 0 0; -#X floatatom 17 116 5 0 0; -#X floatatom 238 54 5 0 0; -#X floatatom 237 117 5 0 0; -#X floatatom 419 50 5 0 0; -#X floatatom 419 137 5 0 0; -#X floatatom 30 216 5 0 0; -#X floatatom 30 337 5 0 0; +#N canvas 325 15 782 775 10; +#X floatatom 19 52 5 0 0 0 - - -; +#X floatatom 17 116 5 0 0 0 - - -; +#X floatatom 238 54 5 0 0 0 - - -; +#X floatatom 237 117 5 0 0 0 - - -; +#X floatatom 419 50 5 0 0 0 - - -; +#X floatatom 419 137 5 0 0 0 - - -; +#X floatatom 30 216 5 0 0 0 - - -; +#X floatatom 30 337 5 0 0 0 - - -; #X text 416 29 Sends out previous value.; #X text 235 33 Adds one.; -#X floatatom 539 178 5 0 0; +#X floatatom 539 178 5 0 0 0 - - -; #X text 26 198 (Gliding average); -#X floatatom 29 405 5 0 0; -#X floatatom 29 502 20 0 0; +#X floatatom 29 405 5 0 0 0 - - -; +#X floatatom 29 502 20 0 0 0 - - -; #X text 32 356 Calculates the faculty.; #X text 139 707 Additional \, read the macros in k_cext.h; -#X floatatom 373 394 5 0 0; -#X floatatom 367 501 5 0 0; -#X floatatom 515 397 5 0 0; -#X floatatom 516 501 5 0 0; +#X floatatom 373 394 5 0 0 0 - - -; +#X floatatom 367 501 5 0 0 0 - - -; +#X floatatom 515 397 5 0 0 0 - - -; +#X floatatom 516 501 5 0 0 0 - - -; #X text 361 366 Divide two numbers.; #X text 361 379 Integer modulus in the second outlet.; -#X floatatom 53 682 10 0 0; -#X floatatom 176 587 5 0 0; +#X floatatom 53 682 10 0 0 0 - - -; +#X floatatom 176 587 5 0 0 0 - - -; #X msg 62 584 bang; #X text 16 31 Sends out the input.; #X text 10 149 ______________________________________________________ @@ -71,15 +71,15 @@ p=0 \; a[p%5]=V(0) \; p++ \; O0( (a[0]+a[1]+a[2]+a[3]+a[4])/5 ) \; ; #X obj 133 681 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 --262144 -1 -1 22 256; +-262144 -1 -1 0 256; #X obj 199 683 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 --262144 -1 -1 36 256; +-262144 -1 -1 0 256; #X obj 275 683 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -6 0 10 --262144 -1 -1 58 256; -#X floatatom 289 588 5 0 0; -#X floatatom 359 338 5 0 0; -#X floatatom 437 337 5 0 0; -#X floatatom 530 337 5 0 0; +-262144 -1 -1 0 256; +#X floatatom 289 588 5 0 0 0 - - -; +#X floatatom 359 338 5 0 0 0 - - -; +#X floatatom 437 337 5 0 0 0 - - -; +#X floatatom 530 337 5 0 0 0 - - -; #X text 371 174 Some modulo operations; #X obj 460 530 vsl 8 170 0 127 0 0 empty empty empty 0 -8 0 8 -1 -1 -1 0 1; @@ -97,17 +97,17 @@ p=0 \; a[p%5]=V(0) \; p++ \; O0( (a[0]+a[1]+a[2]+a[3]+a[4])/5 ) \; i++ THEN DO \; . out*=i \; O0(out) \;; #X obj 62 608 k_cext 3 4 0 5 10 \; int i \; RANGE(i \, 0 \, 4) DO \; . O(i \, (int)BETWEEN(I(1) \, I(2))) \;; -#X obj 479 602 k_cext 1 0 \; system("mozilla &") \;; #X obj 377 426 k_cext 2 2 \; IF I(1)!=0 THEN DO \; . O1(I(0) % I(1)) \; O0(V(0) / V(1)) \;; +#X obj 479 602 k_cext 1 0 \; system(ss) \;; #X connect 0 0 49 0; #X connect 2 0 50 0; #X connect 4 0 51 0; #X connect 6 0 52 0; #X connect 10 0 68 0; #X connect 12 0 69 0; -#X connect 16 0 72 0; -#X connect 18 0 72 1; +#X connect 16 0 71 0; +#X connect 18 0 71 1; #X connect 23 0 70 1; #X connect 24 0 70 0; #X connect 49 0 1 0; @@ -115,7 +115,7 @@ i++ THEN DO \; . out*=i \; O0(out) \;; #X connect 51 0 5 0; #X connect 52 0 7 0; #X connect 56 0 70 2; -#X connect 63 0 71 0; +#X connect 63 0 72 0; #X connect 68 0 57 0; #X connect 68 1 58 0; #X connect 68 2 59 0; @@ -124,5 +124,5 @@ i++ THEN DO \; . out*=i \; O0(out) \;; #X connect 70 1 53 0; #X connect 70 2 54 0; #X connect 70 3 55 0; -#X connect 72 0 17 0; -#X connect 72 1 19 0; +#X connect 71 0 17 0; +#X connect 71 1 19 0; -- cgit v1.2.1