1
#N canvas 0 0 719 285 10;
2
#X floatatom 29 62 5 0 0 3 in-1 #0-sim-1-in-1 -;
3
#X floatatom 95 63 5 0 0 3 in-2 #0-sim-1-in-2 -;
4
#X floatatom 144 99 5 0 0 3 window #0-sim-1-win -;
5
#N canvas 0 0 450 300 init 0;
8
#X obj 33 82 s \$0-sim-1-in-1;
9
#X obj 59 65 s \$0-sim-1-in-2;
10
#X obj 85 48 s \$0-sim-1-win;
11
#X obj 33 14 loadbang;
19
#X restore 205 159 pd init;
21
#X floatatom 17 215 5 0 0 3 similarity - -;
22
#X floatatom 117 205 5 0 0 3 sign - -;
23
#X text 261 35 simile may be used to compare two numbers according
24
to an error window. If the two numbers are identical then the output
25
is a 1 If thetwo numbers differ by the value of the error window then
26
the output is 0.5. The second outlet is the sign \, so that if i1 >=
27
i2 it is a 1 and if i1 < i2 it is a -1;
28
#X text 262 114 useful for comparing pitches \, durations etc.;