mirror of
https://codeberg.org/armin/beamgrid.git
synced 2026-09-01 04:10:47 +02:00
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:
parent
e0177ed26f
commit
b6bdc73488
6 changed files with 52 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue