Files
InstaShadow/Source/DiscretePanel.h
hariel1985 a587a43ff9 Initial release — InstaShadow mastering compressor v1.0
Dual-stage compressor (optical + VCA) with output transformer saturation.
- Port-Hamiltonian T4B opto-cell model with implicit trapezoidal integration
- Feed-forward VCA with 7 ratios, 6 attack/release presets, Dual release mode
- 3 transformer types (Nickel/Iron/Steel) with 4x oversampled waveshaping
- Analog-style needle VU meters, horizontal GR meters
- Sidechain HPF, stereo link, independent section bypass
- Full state save/restore, CI/CD for Windows/macOS/Linux
2026-03-27 16:03:24 +01:00

25 sor
599 B
C++

#pragma once
#include <JuceHeader.h>
#include "LookAndFeel.h"
class DiscretePanel : public juce::Component
{
public:
DiscretePanel();
void resized() override;
void paint (juce::Graphics& g) override;
juce::Slider thresholdKnob;
juce::Slider gainKnob;
juce::ComboBox ratioBox;
juce::ComboBox attackBox;
juce::ComboBox releaseBox;
juce::ToggleButton bypassToggle;
private:
juce::Label titleLabel;
juce::Label threshLabel, gainLabel, ratioLabel, attackLabel, releaseLabel, bypassLabel;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DiscretePanel)
};