8-voice polyphonic granular synth (VST3/AU/LV2) with: - 128 grain pool per voice, Hann windowing, linear interpolation - Root note selector, sample rate correction, sustain pedal (CC64) - Scatter controls, direction modes (Fwd/Rev/PingPong), freeze - ADSR envelope, global filter (LP/HP/BP), reverb - Waveform display with grain visualization - Drag & drop sample loading, full state save/restore - CI/CD for Windows/macOS/Linux Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 sor
412 B
C++
22 sor
412 B
C++
#pragma once
|
|
#include <JuceHeader.h>
|
|
#include "LookAndFeel.h"
|
|
#include "VuMeter.h"
|
|
|
|
class MasterPanel : public juce::Component
|
|
{
|
|
public:
|
|
MasterPanel();
|
|
void resized() override;
|
|
void paint (juce::Graphics& g) override;
|
|
|
|
juce::Slider volumeKnob;
|
|
VuMeter vuMeter;
|
|
|
|
private:
|
|
juce::Label volLabel;
|
|
juce::Label titleLabel;
|
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MasterPanel)
|
|
};
|