diff --git a/firmware/baseband/audio_compressor.cpp b/firmware/baseband/audio_compressor.cpp index f04810a1..b4138408 100644 --- a/firmware/baseband/audio_compressor.cpp +++ b/firmware/baseband/audio_compressor.cpp @@ -38,7 +38,7 @@ float GainComputer::operator()(const float x) const { } void FeedForwardCompressor::execute_in_place(const buffer_f32_t& buffer) { - constexpr float makeup_gain = std::pow(10.0f, (threshold - (threshold / ratio)) / 20.0f); + constexpr float makeup_gain = std::pow(10.0f, (threshold - (threshold / ratio)) / -20.0f); for(size_t i=0; i