File: simile-help.pd

package info (click to toggle)
pd-ekext 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,408 kB
  • sloc: ansic: 2,700; makefile: 280
file content (33 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;