Update of /cvsroot/pure-data/externals/ekext/simile In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11713/simile
Modified Files: simile.c Added Files: simile-help.pd Removed Files: help-simile.pd Log Message: renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way
Index: simile.c =================================================================== RCS file: /cvsroot/pure-data/externals/ekext/simile/simile.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** simile.c 15 Aug 2005 10:03:22 -0000 1.1.1.1 --- simile.c 29 Sep 2007 21:36:47 -0000 1.2 *************** *** 64,68 **** 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); --- 64,68 ---- post("|->weighted similarity measurement<-|"); post("|-->edward<----->kelly<----->2005<--|"); ! class_addbang(simile_class, simile_bang); class_addfloat(simile_class, simile_float);
--- help-simile.pd DELETED ---
--- NEW FILE: simile-help.pd --- #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;