1
0
Fork 0

Add spectral sidechain compression to SC [2/2]

Forgot to stage this in 9550fe0d10.
This commit is contained in:
Robbert van der Helm 2022-08-20 16:45:45 +02:00
parent 9550fe0d10
commit 14450da80a

View file

@ -402,7 +402,9 @@ impl Plugin for SpectralCompressor {
)
},
),
compressor_bank::ThresholdMode::Sidechain => self.stft.process_overlap_add_sidechain(
compressor_bank::ThresholdMode::SidechainMatch
| compressor_bank::ThresholdMode::SidechainCompress => {
self.stft.process_overlap_add_sidechain(
buffer,
[&aux.inputs[0]],
overlap_times,
@ -433,7 +435,8 @@ impl Plugin for SpectralCompressor {
)
}
},
),
)
}
}
self.dry_wet_mixer.mix_in_dry(