File: expr_scale.pd

package info (click to toggle)
pd-rtclib 4.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,572 kB
  • sloc: makefile: 13; sh: 1
file content (33 lines) | stat: -rw-r--r-- 849 bytes parent folder | download | duplicates (4)
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 283 421 666 379 10;
#X obj 120 199 expr ($f1-$f2)*($f4-$f5)/($f2-$f3)+$f4;
#X obj 206 157 f \$1;
#X obj 356 159 f \$4;
#X obj 306 155 f \$3;
#X obj 256 155 f \$2;
#X obj 206 68 inlet;
#X obj 256 68 inlet;
#X obj 306 68 inlet;
#X obj 356 68 inlet;
#X obj 120 127 inlet;
#X obj 120 240 outlet;
#X text 464 97 ARGS;
#X text 474 121 1: input_low_border;
#X text 474 143 2: input_high_border;
#X text 474 169 3: output_low_border;
#X text 474 191 4: output_high_border;
#X text 183 37 scale [from_low \, from_hi] to [to_low \, to_hi];
#X obj 112 38 loadbang;
#X connect 0 0 10 0;
#X connect 1 0 0 1;
#X connect 2 0 0 4;
#X connect 3 0 0 3;
#X connect 4 0 0 2;
#X connect 5 0 1 0;
#X connect 6 0 4 0;
#X connect 7 0 3 0;
#X connect 8 0 2 0;
#X connect 9 0 0 0;
#X connect 17 0 1 0;
#X connect 17 0 3 0;
#X connect 17 0 4 0;
#X connect 17 0 2 0;