Skip to content

Commit

Permalink
Get an individual response curve from eqNBandParameteric (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul authored Mar 7, 2024
1 parent c4e6f47 commit 01542fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sst/voice-effects/eq/EqNBandParametric.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ struct EqNBandParametric : core::VoiceEffectTemplateBase<VFXConfig>
return res;
}

float getBandFrequencyGraph(int band, float f) { return mParametric[band].plot_magnitude(f); }

protected:
std::array<float, NBands * 3> mLastParam{};
std::array<int, NBands> mLastIParam{};
Expand Down

0 comments on commit 01542fe

Please sign in to comment.