mirror of
https://codeberg.org/armin/gelyk.git
synced 2026-10-11 17:01:53 +02:00
Add per-band frequency control and static EQ curve overlay
This commit is contained in:
parent
10feb7a7fe
commit
8e9eb733cb
5 changed files with 172 additions and 11 deletions
|
|
@ -56,11 +56,14 @@ private:
|
|||
{
|
||||
std::unique_ptr<juce::Slider> gain;
|
||||
std::unique_ptr<juce::Slider> q;
|
||||
std::unique_ptr<juce::Slider> freq;
|
||||
std::unique_ptr<juce::Label> freqLabel;
|
||||
std::unique_ptr<juce::Label> gainCaption;
|
||||
std::unique_ptr<juce::Label> gainValue;
|
||||
std::unique_ptr<juce::Label> qCaption;
|
||||
std::unique_ptr<juce::Label> qValue;
|
||||
std::unique_ptr<juce::Label> freqCaption;
|
||||
std::unique_ptr<juce::Label> freqValue;
|
||||
};
|
||||
BandWidget bands[numBands];
|
||||
|
||||
|
|
@ -75,10 +78,12 @@ private:
|
|||
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> gainAttachments[numBands];
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> qAttachments[numBands];
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> freqAttachments[numBands];
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> masterAttachment;
|
||||
|
||||
juce::Array<float> spectrum;
|
||||
juce::Array<float> freqBins;
|
||||
juce::Array<float> eqCurve;
|
||||
std::atomic<float> scaling { 1.0f }; // for resized()
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(GelykEQAudioProcessorEditor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue