optional additive blending for the spectrogram

This commit is contained in:
2026-03-29 03:04:12 +02:00
parent baf6fd94cc
commit 3b4f507df9
5 changed files with 78 additions and 34 deletions

View File

@@ -9,7 +9,7 @@
namespace baudmine {
namespace {
constexpr float kLinearEpsilon = kLinearEpsilon; // threshold for log10 of linear power
constexpr float kLinearEpsilon = 1e-20f; // threshold for log10 of linear power
constexpr float kLogGuard = 1e-30f; // guard against log10(0) in compressed scale
} // namespace