#N canvas 417 33 560 495 10;
#X obj -1 752 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0
14 -233017 -33289 0;
#X obj -1 400 cnv 3 550 3 empty \$0-pddp.cnv.inlets inlets 8 12 0 13
-228856 -1 0;
#N canvas 599 265 368 237 META 0;
#X text 8 123 WEBSITE http://crca.ucsd.edu/~msp/;
#X text 8 -17 LICENSE SIBSD;
#X text 8 103 AUTHOR Miller Puckette;
#X text 8 143 RELEASE_DATE 1997;
#X text 8 83 LIBRARY cyclone;
#X text 8 163 HELP_PATCH_AUTHORS Alex Cleveland updated this patch
for Pd-l2ork version 2013.05.28;
#X text 8 -37 KEYWORDS scale exponential line;
#X text 8 3 DESCRIPTION scale numbers exponentially for use with line~
;
#X text 8 63 OUTLET_0 float;
#X text 8 23 INLET_0 message;
#X text 8 43 INLET_1 float;
#X restore 501 754 pd META;
#X obj -1 464 cnv 3 550 3 empty \$0-pddp.cnv.outlets outlets 8 12 0
13 -228856 -1 0;
#X obj -1 504 cnv 3 550 3 empty \$0-pddp.cnv.argument arguments 8 12
0 13 -228856 -1 0;
#X obj -1 581 cnv 3 550 3 empty \$0-pddp.cnv.more_info more_info 8
12 0 13 -228856 -1 0;
#N canvas 297 394 428 109 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty \$0-pddp.cnv.subheading empty 3 12 0
14 -204280 -1 0;
#X text 6 1 Related Objects;
#X obj 39 42 line~;
#X restore 202 754 pd Related_objects;
#X obj 78 410 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X obj 78 436 cnv 17 3 17 empty \$0-pddp.cnv.let.0 1 5 9 0 16 -228856
-162280 0;
#X obj -1 0 cnv 15 552 40 empty \$0-pddp.cnv.header linedrive 3 12
0 18 -204280 -1 0;
#X obj 483 2 linedrive;
#X text 11 23 scale numbers exponentially for use with line~;
#X obj 10 318 snapshot~;
#X obj 10 235 metro 10;
#X obj 10 95 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X floatatom 10 345 10 0 0 0 - - -, f 10;
#X text 105 69 integer message as input;
#X msg 105 91 60;
#X obj 105 165 linedrive 127 1 1.06 30;
#X text 204 239 outputs two values which can be sent to line~ as a
destination and a time in milliseconds;
#X obj 70 280 line~ 0;
#X floatatom 240 101 5 0 0 0 - - -, f 5;
#X msg 70 91 0;
#X obj 105 247 print linedrive;
#X text 106 410 message;
#X text 106 436 float;
#X text 178 436 - time value in milliseconds;
#X text 106 477 float;
#X text 178 477 - scaled number;
#X obj 78 477 cnv 17 3 17 empty \$0-pddp.cnv.let.0 0 5 9 0 16 -228856
-162280 0;
#X text 251 160 argument1 is the reference input (int) \; argument2
is the reference output (float) \; argument3 is the base value (float)
\; argument4 is the time value in milliseconds (int);
#X text 98 519 1) is the reference input (int) \; 2) is the reference
output (float) \; 3) is the base value (float 4) is the time value
in milliseconds (int);
#X text 93 713 The output is a list of two values \, the second one
being equal to argument4 and can be sent directly to a line~ 0;
#X text 93 600 The [linedrive] object converts integers for use with
line~. Linedrive takes integers ranging from -argument1 to +argument1
and scales them to fall within the range -argument2 to +argument2.
If the input equals argument1 \, the output is equal to argument value2.
Output varies exponentially with the input depending on argument3.
With the arguments shown \, input values between 0 and 127 are converted
from 2*dB to linear amplitude with 127 becoming 1;
#X text 274 94 integer message to change last argument \, which is
time in milliseconds;
#X text 178 410 - integer message as input;
#X obj 480 48 pddp/dsp;
#X obj 13 752 pddp/pddplink @pd_help/all_about_help_patches.pd -text Usage Guide
;
#X connect 12 0 15 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 17 0 18 0;
#X connect 18 0 20 0;
#X connect 18 0 23 0;
#X connect 20 0 12 0;
#X connect 21 0 18 1;
#X connect 22 0 20 0;
