Add GRID visibility knob and fix spectrum/grid rendering

- Add GRID rotary knob (0-1) controlling grid + axis-label brightness/visibility
- Raise analyser ceiling to 0 dBFS; remove overlapping 0/-6 dB lines
- Set plugin minimum width to 800px (and clamp restored width)
- Extend spectrum signal/peak waves to full plot width
- Render signal wave as quadratic spline to match peak smoothness
- Restore 1px gaps in LED mode
This commit is contained in:
Armin 2026-08-14 02:06:05 +02:00
commit b6bdc73488
6 changed files with 52 additions and 14 deletions

View file

@ -46,6 +46,11 @@ BeamgridAudioProcessor::createParameterLayout()
juce::NormalisableRange<float> (0.0f, 1.0f, 0.001f), 0.35f,
juce::AudioParameterFloatAttributes().withLabel ("")));
params.push_back (std::make_unique<juce::AudioParameterFloat>(
"grid", "Grid Visibility",
juce::NormalisableRange<float> (0.0f, 1.0f, 0.001f), 0.32f,
juce::AudioParameterFloatAttributes().withLabel ("")));
juce::NormalisableRange<float> barsRange (8.0f, 128.0f,
[] (float start, float end, float v) { return start + v * (end - start); }, // convertFrom0To1
[] (float start, float end, float v) { return (v - start) / (end - start); }, // convertTo0To1