#N canvas 600 60 558 490 12;
#X floatatom 360 356 5 0 0 0 - - -;
#N canvas 650 70 450 300 control 0;
#X msg 35 141 rms \$1;
#X obj 35 38 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X obj 115 63 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 115 141 invert \$1;
#X obj 209 96 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X msg 209 141 swapphase \$1;
#X obj 35 217 outlet;
#X text 54 36 track RMS;
#X text 135 60 invert threshold;
#X text 226 94 swap phase source;
#X connect 0 0 6 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X restore 66 337 pd control;
#X obj 160 237 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 160 257 t f f;
#X obj 160 287 ./sfplay~;
#X obj 261 287 ./sfplay~;
#X obj 160 387 fftease/vacancy~, f 29;
#X obj 160 419 ./gain.dsp~;
#X obj 42 24 ./icon;
#X text 269 60 - Spectral compositing;
#X obj 250 31 cnv 15 100 30 empty empty fftease/vacancy~ 20 12 0 24
-262144 -1 0;
#X text 53 88 [vacancy~] performs spectral compositing. The threshold
controls the compositing. Useful values lie in the range from -90 dB
to 90 dB. Threshold inversion is available via the invert message.
The threshold can also track the current RMS value of of the signal.
In RMS tracking mode \, the useful threshold range will be somewhat
different depending upon the character of the input signals. Phases
will be derived from the left input unless phase swapping is specified.
In this case phases will be taken from the right input signal when
the threshold test is true. Best results are obtained when both source
files are normalized., f 65;
#X text 377 239 see also:;
#X obj 356 263 cnv 15 100 20 empty empty fftease/ether~ 20 12 0 14
-262144 -1 0;
#X text 357 334 threshold;
#X obj 356 286 cnv 15 100 20 empty empty fftease/leaker~ 20 12 0 14
-262144 -1 0;
#X connect 0 0 6 2;
#X connect 1 0 6 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 4 0 6 0;
#X connect 5 0 6 1;
#X connect 6 0 7 0;
