summaryrefslogtreecommitdiff
path: root/help/scale-help.pd
blob: 4fddb608acdc5c6c162d137692e6b720498adf7a (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#N canvas 496 82 571 534 10;
#X obj 0 0 cnv 15 552 40 empty empty scale 3 12 0 18 -204280 -1 0;
#X obj 0 351 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 0 508 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 545 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 79 517 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 365 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 722 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 242 347 428 75 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 206 724 pd Related_objects;
#N canvas 588 516 379 334 META 0;
#X text 12 259 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42. Updated by Fred Jan Kraan 2016-02.;
#X text 12 25 LICENSE GPL v2;
#X text 12 220 AUTHOR Olaf Matthes;
#X text 12 200 OUTLET_0 float;
#X text 12 100 INLET_1 float;
#X text 12 45 DESCRIPTION scale input from a certain input range to
lie between output boundaries;
#X text 12 5 KEYWORDS control;
#X text 12 80 INLET_0 float;
#X text 12 120 INLET_2 float;
#X text 12 140 INLET_3 float;
#X text 12 160 INLET_4 float;
#X text 12 180 INLET_5 float;
#X text 12 239 MAINTAINER Fred Jan Kraan <fjkraan@xs4all.nl>;
#X restore 502 724 pd META;
#X obj 0 655 cnv 3 550 3 empty empty more_info 8 12 0 13 -228856 -1
0;
#X text 107 517 float;
#X obj 506 4 scale;
#X floatatom 103 324 8 0 0 0 - - -, f 8;
#X floatatom 103 83 5 0 0 0 - - -, f 5;
#X floatatom 130 102 5 0 0 0 - - -, f 5;
#X floatatom 157 121 5 0 0 0 - - -, f 5;
#X floatatom 184 102 5 0 0 0 - - -, f 5;
#X floatatom 211 121 5 0 0 0 - - -, f 5;
#X text 8 23 scale input from an input range to an output range;
#X text 162 517 - rescaled value;
#X obj 79 365 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 107 365 float;
#X text 162 365 - input value;
#X obj 79 412 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 107 412 float;
#X obj 79 435 cnv 17 3 17 empty empty 3 5 9 0 16 -228856 -162280 0
;
#X text 107 435 float;
#X obj 79 458 cnv 17 3 17 empty empty 4 5 9 0 16 -228856 -162280 0
;
#X text 107 458 float;
#X obj 79 480 cnv 17 3 17 empty empty 5 5 9 0 16 -228856 -162280 0
;
#X text 107 480 float;
#X obj 79 388 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 107 386 float;
#X text 162 388 - first input range value;
#X text 162 412 - second input range value;
#X text 162 435 - first ouput range value;
#X text 162 458 - second output range value;
#X text 162 480 - 0: linear conversion \, 1: logarithmical conversion
;
#X text 96 554 arg1: first input range value;
#X text 96 573 arg2: second input range value;
#X text 96 592 arg3: first output range value;
#X text 96 611 arg4: second output range value;
#X text 96 629 arg5: 0: linear conversion \, 1: logarithmical conversion
;
#X msg 72 58 -2;
#X msg 103 58 -1;
#X msg 137 58 0;
#X msg 168 58 1;
#X msg 200 58 2;
#X text 96 664 The only limitation is a zero input range. An error
is logged and no value is produced. Both normal and inverted ranges
are supported for bot input and output.;
#X obj 103 232 maxlib/scale -2 2 0 2 0;
#X obj 238 145 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 13 0 49 0;
#X connect 14 0 49 1;
#X connect 15 0 49 2;
#X connect 16 0 49 3;
#X connect 17 0 49 4;
#X connect 43 0 13 0;
#X connect 44 0 13 0;
#X connect 45 0 13 0;
#X connect 46 0 13 0;
#X connect 47 0 13 0;
#X connect 49 0 12 0;
#X connect 50 0 49 5;