From 091498cdc1fa5e152b117540cbe170e7b06d15ab Mon Sep 17 00:00:00 2001 From: Ed Kelly Date: Mon, 15 Aug 2005 10:05:21 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r3428, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/ekext/; revision=3429 --- simile/help-simile.pd | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 simile/help-simile.pd (limited to 'simile/help-simile.pd') diff --git a/simile/help-simile.pd b/simile/help-simile.pd new file mode 100644 index 0000000..9b2d510 --- /dev/null +++ b/simile/help-simile.pd @@ -0,0 +1,33 @@ +#N canvas 0 0 719 285 10; +#X floatatom 29 62 5 0 0 3 in-1 #0-sim-1-in-1 -; +#X floatatom 95 63 5 0 0 3 in-2 #0-sim-1-in-2 -; +#X floatatom 144 99 5 0 0 3 window #0-sim-1-win -; +#N canvas 0 0 450 300 init 0; +#X msg 33 31 50; +#X msg 85 31 3; +#X obj 33 82 s \$0-sim-1-in-1; +#X obj 59 65 s \$0-sim-1-in-2; +#X obj 85 48 s \$0-sim-1-win; +#X obj 33 14 loadbang; +#X msg 59 31 53; +#X connect 0 0 2 0; +#X connect 1 0 4 0; +#X connect 5 0 1 0; +#X connect 5 0 6 0; +#X connect 5 0 0 0; +#X connect 6 0 3 0; +#X restore 205 159 pd init; +#X obj 46 153 simile; +#X floatatom 17 215 5 0 0 3 similarity - -; +#X floatatom 117 205 5 0 0 3 sign - -; +#X text 261 35 simile may be used to compare two numbers according +to an error window. If the two numbers are identical then the output +is a 1 If thetwo numbers differ by the value of the error window then +the output is 0.5. The second outlet is the sign \, so that if i1 >= +i2 it is a 1 and if i1 < i2 it is a -1; +#X text 262 114 useful for comparing pitches \, durations etc.; +#X connect 0 0 4 0; +#X connect 1 0 4 1; +#X connect 2 0 4 2; +#X connect 4 0 5 0; +#X connect 4 1 6 0; -- cgit v1.2.1