#N canvas 10 26 969 538 10;
#X obj 621 262 g_nbx attack;
#X obj 621 293 g_nbx release;
#X obj 621 324 g_nbx ratio;
#X obj 621 355 g_nbx thresh;
#X msg 717 266 attack \$1;
#X msg 717 297 release \$1;
#X msg 717 328 ratio \$1;
#X msg 717 359 thresh \$1;
#X obj 491 74 noise~;
#X obj 491 217 *~;
#X obj 509 96 bng 15 250 50 0 empty empty empty 17 7 0 10 -4034 -1
-1;
#X msg 654 441 attack 20 \, release 200 \, ratio 1 \, thresh 80;
#N canvas 0 22 450 300 del 0;
#X obj 114 84 inlet;
#X msg 153 159 0;
#X obj 114 191 outlet;
#X obj 153 137 del 100;
#X msg 114 142 127;
#X connect 0 0 4 0;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 3 0 1 0;
#X connect 4 0 2 0;
#X restore 509 122 pd del;
#X obj 509 146 c_adsrj;
#X obj 662 104 loadbang;
#X msg 662 125 A 20 \, D 30 \, S 70 \, R 100;
#N canvas 15 304 1265 720 REFERENCE 0;
#X text 114 454 See also:;
#X text 114 121 Name: e_scompress;
#X text 114 141 Summary: loudness compress with sidechain.;
#X text 114 394 Description: Loudness compressor with sidechain. To
use without sidechain compression \, connect input signal to both first
inlets. Works with a delay of 256 samples.;
#X text 114 524 Tags: Audio \, Dynamics;
#X text 114 181 Argument 0: <symbol> Unique id - make sure this is
different to any other instances;
#X text 114 214 Inlet 0: Audio input signal;
#X text 114 234 Inlet 1: Sidechain input (if sidechain is not used
connect input signal to this inlet).;
#X text 114 364 Outlet 1: Audio output signal;
#X text 114 267 Inlet 2: Control messages: attack <float>: time (ms)
to reach desired reduction. release <float>: time (ms) taken to reach
no reduction. ratio <float>: time (ms) amount of reduction over thresh.
thresh <float>: time (ms) input level at which reduction occurs.;
#X coords 0 -1 1 1 450 450 1 100 100;
#X restore 5 48 pd REFERENCE;
#X obj 5 18 cnv 15 450 20 empty empty empty 20 12 0 14 -261234 -66577
0;
#X text 468 51 Example:;
#X text 597 515 RjDj Library (https://github.com/rjdj/rjlib) - 2011
;
#X obj 8 20 e_scompress;
#X text 99 21 - compressor with sidechain;
#X obj 491 437 soundoutput;
#X obj 491 397 e_scompress \$0-comp;
#X obj 654 421 loadbang;
#X text 653 405 Default:;
#X obj 654 462 s \$0-GUI;
#X obj 621 236 r \$0-GUI;
#X text 637 217 GUI;
#X text 726 217 No GUI;
#X obj 92 402 e_dynproc;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 23 2;
#X connect 8 0 9 0;
#X connect 9 0 23 0;
#X connect 9 0 23 1;
#X connect 10 0 12 0;
#X connect 11 0 26 0;
#X connect 12 0 13 0;
#X connect 13 0 9 1;
#X connect 14 0 15 0;
#X connect 15 0 13 1;
#X connect 23 0 22 0;
#X connect 23 0 22 1;
#X connect 24 0 11 0;
#X connect 27 0 0 0;
