Skip to content
Permalink
Browse files

Restricted saturation to occur only when signal is present

  • Loading branch information...
chkhld committed Aug 11, 2019
1 parent 0ecf194 commit 09948b4a00a2d3095649ab855d19bb996cbf220a
Showing with 3 additions and 2 deletions.
  1. +3 −2 plugins/track_comp.jsfx
@@ -460,8 +460,9 @@ slider16:routing=0<0, 3,{Stereo (internal SC),Stereo (external SC 3-4),Mono (L),
spl0 = spl1 *= compR.compTick(abs(filterR.eqTick(spl0)));
);

// Saturation stage
saturation > 0 ?
// Saturation stage - but only if signal is coming in,
// kind of like dumb auto-blanking,
(saturation > 0) && (spl0 != 0) && (spl1 != 0) ?
(
spl0.saturate(compL.calc.makeup * 0.35);
spl1.saturate(compR.calc.makeup * 0.35);

0 comments on commit 09948b4

Please sign in to comment.
You can’t perform that action at this time.