From 01542fe55ab615f09e29cb9b5ff6222bf4867d1c Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 7 Mar 2024 16:03:28 -0500 Subject: [PATCH] Get an individual response curve from eqNBandParameteric (#49) --- include/sst/voice-effects/eq/EqNBandParametric.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sst/voice-effects/eq/EqNBandParametric.h b/include/sst/voice-effects/eq/EqNBandParametric.h index 6970d77..57196e3 100644 --- a/include/sst/voice-effects/eq/EqNBandParametric.h +++ b/include/sst/voice-effects/eq/EqNBandParametric.h @@ -180,6 +180,8 @@ struct EqNBandParametric : core::VoiceEffectTemplateBase return res; } + float getBandFrequencyGraph(int band, float f) { return mParametric[band].plot_magnitude(f); } + protected: std::array mLastParam{}; std::array mLastIParam{};