#N canvas 307 118 953 643 10;
#X obj 197 174 f \$1;
#X obj 367 171 f \$4;
#X obj 317 172 f \$3;
#X obj 247 172 f \$2;
#X obj 197 85 inlet;
#X obj 247 85 inlet;
#X obj 317 85 inlet;
#X obj 367 85 inlet;
#X obj 111 54 inlet;
#X obj 111 558 outlet;
#X text 609 49 ARGS;
#X text 619 95 2: input_high_border;
#X text 619 121 3: output_low_border;
#X text 619 143 4: output_high_border;
#X text 174 54 scale [from_low \, from_hi] to [to_low \, to_hi];
#X obj 416 126 t b b b b;
#X obj 416 84 loadbang;
#X obj 111 525 +;
#X text 229 297 inh-inl;
#X text 354 286 outh-outl;
#X obj 111 488 *;
#X text 143 338 - inl;
#X text 143 526 + outl;
#X obj 247 237 t b a;
#X obj 367 225 t b a;
#X msg 425 105 bang;
#X obj 111 364 / 1;
#X obj 111 340 -;
#X obj 317 287 -;
#X obj 317 266 swap;
#X obj 197 271 swap;
#X obj 197 296 -;
#N canvas 0 0 549 462 mapping 0;
#X obj 103 74 inlet;
#X obj 103 358 outlet;
#X obj 133 265 pow 1;
#X obj 206 75 inlet;
#X obj 206 120 select 1;
#X obj 187 254 * 2;
#X obj 187 227 - 1;
#X msg 187 276 10 \$1;
#X obj 206 96 route float dB;
#N canvas 477 233 525 407 demux3 0;
#X obj 88 263 outlet;
#X obj 88 226 spigot 1;
#X obj 171 264 outlet;
#X obj 171 227 spigot 0;
#X obj 241 264 outlet;
#X obj 241 227 spigot 0;
#X obj 265 152 unpack 0 0 0;
#X obj 88 51 inlet;
#X obj 265 57 inlet;
#X msg 265 109 1 0 0;
#X msg 311 110 0 1 0;
#X msg 360 110 0 0 1;
#X obj 265 83 select 0 1 2;
#X connect 1 0 0 0;
#X connect 3 0 2 0;
#X connect 5 0 4 0;
#X connect 6 0 1 1;
#X connect 6 1 3 1;
#X connect 6 2 5 1;
#X connect 7 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 5 0;
#X connect 8 0 12 0;
#X connect 9 0 6 0;
#X connect 10 0 6 0;
#X connect 11 0 6 0;
#X connect 12 0 9 0;
#X connect 12 1 10 0;
#X connect 12 2 11 0;
#X restore 103 204 pd demux3;
#X msg 206 142 0;
#X msg 259 142 1;
#X msg 301 143 2;
#X obj 187 302 pow;
#X connect 0 0 9 0;
#X connect 2 0 1 0;
#X connect 3 0 8 0;
#X connect 4 0 10 0;
#X connect 4 1 11 0;
#X connect 5 0 7 0;
#X connect 6 0 5 0;
#X connect 7 0 13 0;
#X connect 8 0 4 0;
#X connect 8 0 2 1;
#X connect 8 1 12 0;
#X connect 9 0 1 0;
#X connect 9 1 2 0;
#X connect 9 2 6 0;
#X connect 10 0 9 1;
#X connect 11 0 9 1;
#X connect 12 0 9 1;
#X connect 13 0 1 0;
#X restore 111 454 pd mapping;
#X obj 620 263 inlet;
#X obj 620 312 list append \$5;
#X obj 673 381 list trim;
#X obj 620 360 select 0;
#X msg 688 285 symbol dB;
#X msg 620 381 1;
#X obj 555 262 loadbang;
#X text 620 242 mapping;
#X obj 620 287 t a b;
#X obj 620 335 list split 1;
#X text 620 170 5: mapping: float is a pow-exponent \, "dB" can be
used to use a dB scaling (optional \, default is linear);
#X obj 197 135 unpack 0 0 0 0;
#X obj 197 115 route list;
#X text 619 73 1: input_low_border or list of four values;
#N canvas 172 83 586 377 LICENSE-GPL 0;
#X text 57 88 This program is free software: you can redistribute it
and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation \, either version 3 of
the License \, or (at your option) any later version.;
#X text 58 168 This program is distributed in the hope that it will
be useful \, but WITHOUT ANY WARRANTY \; without even the implied warranty
of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.;
#X text 57 261 You should have received a copy of the GNU General Public
License along with this program. If not \, see <http://www.gnu.org/licenses/>.
;
#X text 61 54 Copyright (C) 2009 \, Reality Jockey Ltd.;
#X text 60 325 See the file LICENSE.txt for the full license text.
;
#X restore 732 29 pd LICENSE-GPL;
#X connect 0 0 27 1;
#X connect 0 0 30 0;
#X connect 1 0 24 0;
#X connect 2 0 17 1;
#X connect 2 0 29 0;
#X connect 3 0 23 0;
#X connect 4 0 45 0;
#X connect 5 0 3 0;
#X connect 6 0 2 0;
#X connect 7 0 1 0;
#X connect 8 0 27 0;
#X connect 15 0 0 0;
#X connect 15 1 3 0;
#X connect 15 2 2 0;
#X connect 15 3 1 0;
#X connect 16 0 15 0;
#X connect 17 0 9 0;
#X connect 20 0 17 0;
#X connect 23 0 30 0;
#X connect 23 1 30 1;
#X connect 24 0 29 0;
#X connect 24 1 29 1;
#X connect 25 0 15 0;
#X connect 26 0 32 0;
#X connect 27 0 26 0;
#X connect 28 0 20 1;
#X connect 29 0 28 0;
#X connect 29 1 28 1;
#X connect 30 0 31 0;
#X connect 30 1 31 1;
#X connect 31 0 26 1;
#X connect 32 0 20 0;
#X connect 33 0 41 0;
#X connect 34 0 42 0;
#X connect 35 0 32 1;
#X connect 36 0 38 0;
#X connect 36 1 35 0;
#X connect 37 0 34 0;
#X connect 38 0 32 1;
#X connect 39 0 34 0;
#X connect 41 0 34 0;
#X connect 41 1 34 1;
#X connect 42 0 36 0;
#X connect 44 0 0 0;
#X connect 44 1 3 0;
#X connect 44 2 2 0;
#X connect 44 3 1 0;
#X connect 45 0 44 0;
#X connect 45 1 0 0;
