mirror of
https://codeberg.org/armin/beamgrid.git
synced 2026-09-01 04:10:47 +02:00
Initial BEAMGRID VST3/AU spectrum analyzer
This commit is contained in:
commit
0a3fe6d853
15 changed files with 908 additions and 0 deletions
44
Source/PluginEditor.h
Normal file
44
Source/PluginEditor.h
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
#pragma once
|
||||
|
||||
#include "JuceHeader.h"
|
||||
#include "PluginProcessor.h"
|
||||
#include "AnalyserComponent.h"
|
||||
#include "BeamgridLookAndFeel.h"
|
||||
|
||||
class BeamgridAudioProcessorEditor : public juce::AudioProcessorEditor
|
||||
{
|
||||
public:
|
||||
explicit BeamgridAudioProcessorEditor (BeamgridAudioProcessor&);
|
||||
~BeamgridAudioProcessorEditor() override;
|
||||
|
||||
void paint (juce::Graphics&) override;
|
||||
void resized() override;
|
||||
|
||||
private:
|
||||
BeamgridAudioProcessor& processorRef;
|
||||
BeamgridLookAndFeel lookAndFeel;
|
||||
|
||||
AnalyserComponent analyserComponent;
|
||||
|
||||
juce::Slider graceSlider;
|
||||
juce::Slider falloffSlider;
|
||||
juce::Slider barfalloffSlider;
|
||||
juce::Slider barsSlider;
|
||||
juce::Slider hueSlider;
|
||||
|
||||
juce::Label graceLabel;
|
||||
juce::Label falloffLabel;
|
||||
juce::Label barfalloffLabel;
|
||||
juce::Label barsLabel;
|
||||
juce::Label hueLabel;
|
||||
juce::Label titleLabel;
|
||||
juce::Label statusLabel;
|
||||
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> graceAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> falloffAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> barfalloffAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> barsAttachment;
|
||||
std::unique_ptr<juce::AudioProcessorValueTreeState::SliderAttachment> hueAttachment;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BeamgridAudioProcessorEditor)
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue