~ubuntu-branches/ubuntu/oneiric/pd-ekext/oneiric

« back to all changes in this revision

Viewing changes to simile-help.pd

  • Committer: Bazaar Package Importer
  • Author(s): Hans-Christoph Steiner
  • Date: 2010-08-18 17:14:25 UTC
  • Revision ID: james.westby@ubuntu.com-20100818171425-7wehl0fqtaacqulx
Tags: upstream-0.1.1
ImportĀ upstreamĀ versionĀ 0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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;
 
6
#X msg 33 31 50;
 
7
#X msg 85 31 3;
 
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;
 
12
#X msg 59 31 53;
 
13
#X connect 0 0 2 0;
 
14
#X connect 1 0 4 0;
 
15
#X connect 5 0 1 0;
 
16
#X connect 5 0 6 0;
 
17
#X connect 5 0 0 0;
 
18
#X connect 6 0 3 0;
 
19
#X restore 205 159 pd init;
 
20
#X obj 46 153 simile;
 
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.;
 
29
#X connect 0 0 4 0;
 
30
#X connect 1 0 4 1;
 
31
#X connect 2 0 4 2;
 
32
#X connect 4 0 5 0;
 
33
#X connect 4 1 6 0;