mirror of
https://codeberg.org/armin/chromaflock.git
synced 2026-09-01 04:10:47 +02:00
UI polish: amber theme, smooth spectrum, MIDI LED, VU tuning
- Rename section labels: COMPRESSOR → COMPRESSION, AUTO-PAN → PANNING - Replace spectrum analyzer bars with smooth gapless filled wave - Use gold (#c59c07) for wave/spectrum strokes and piano roll active keys - Amber CRT-style patch LCD with dark background and gold dot-matrix text - Add MIDI signal LED with glow between semi and scale controls - Reduce VU meter sensitivity (5x → 1.5x) and match amber gradient theme - Add subtle glow behind section and sub-section boxes - Fix Compressor.h class name and PluginProcessor include to match
This commit is contained in:
parent
efbad6c88e
commit
628e1e3cba
6 changed files with 120 additions and 41 deletions
|
|
@ -276,7 +276,7 @@ void ChromaFlockProcessor::prepareToPlay(double sampleRate, int samplesPerBlock)
|
|||
currentSampleRate = sampleRate;
|
||||
synth.setCurrentPlaybackSampleRate(sampleRate);
|
||||
distortion.prepare(sampleRate);
|
||||
compressor.prepare(sampleRate);
|
||||
compression.prepare(sampleRate);
|
||||
limiter.prepare(sampleRate);
|
||||
delay.prepare(sampleRate);
|
||||
reverbFX.prepare(sampleRate);
|
||||
|
|
@ -407,7 +407,7 @@ void ChromaFlockProcessor::processBlock(juce::AudioBuffer<float>& buffer, juce::
|
|||
getParam("distSymmetry"),
|
||||
getParam("distTone"));
|
||||
|
||||
compressor.setParameters(
|
||||
compression.setParameters(
|
||||
getParam("compThreshold"),
|
||||
getParam("compRatio"),
|
||||
getParam("compAttack"),
|
||||
|
|
@ -449,8 +449,8 @@ void ChromaFlockProcessor::processBlock(juce::AudioBuffer<float>& buffer, juce::
|
|||
right = distortion.process(right);
|
||||
|
||||
// Compression (stereo)
|
||||
left = compressor.process(left);
|
||||
right = compressor.process(right);
|
||||
left = compression.process(left);
|
||||
right = compression.process(right);
|
||||
|
||||
// Brickwall limiter (stereo)
|
||||
left = limiter.process(left);
|
||||
|
|
@ -504,7 +504,7 @@ void ChromaFlockProcessor::processBlock(juce::AudioBuffer<float>& buffer, juce::
|
|||
|
||||
float rms = std::sqrt(sumSquares / static_cast<float>(numSamples));
|
||||
float level = juce::jmax(rms, peak);
|
||||
level = std::min(level * 5.0f, 1.0f);
|
||||
level = std::min(level * 1.5f, 1.0f);
|
||||
|
||||
float prev = rmsLevel.load(std::memory_order_relaxed);
|
||||
if (level > prev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue