From 5879bc9332a97d74274f79a1b9207928b3f2c11b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Sep 2007 21:36:48 +0000 Subject: renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way svn path=/trunk/externals/ekext/; revision=8774 --- simile/help-simile.pd | 33 --------------------------------- simile/simile-help.pd | 33 +++++++++++++++++++++++++++++++++ simile/simile.c | 2 +- 3 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 simile/help-simile.pd create mode 100644 simile/simile-help.pd (limited to 'simile') diff --git a/simile/help-simile.pd b/simile/help-simile.pd deleted file mode 100644 index 9b2d510..0000000 --- a/simile/help-simile.pd +++ /dev/null @@ -1,33 +0,0 @@ -#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; diff --git a/simile/simile-help.pd b/simile/simile-help.pd new file mode 100644 index 0000000..9b2d510 --- /dev/null +++ b/simile/simile-help.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; diff --git a/simile/simile.c b/simile/simile.c index 24f049b..5ac1ac5 100644 --- a/simile/simile.c +++ b/simile/simile.c @@ -63,7 +63,7 @@ void simile_setup(void) { post("|------------->simile<--------------|"); post("|->weighted similarity measurement<-|"); post("|-->edward<----->kelly<----->2005<--|"); - class_sethelpsymbol(simile_class, gensym("help-simile")); + class_addbang(simile_class, simile_bang); class_addfloat(simile_class, simile_float); } -- cgit v1.2.1