v1.1 — Improved metering, transformer, and optical cell tuning

- Needle VU meters with spring-mass-damper physics (analog inertia)
- Swappable meter modes: GR needles + input bars, or input needles + GR bars
- GR bar meters fill right-to-left (0dB=empty, -30dB=full)
- Input bar meters fill left-to-right with green color
- Optical cell: normalized parameters (eta=50) for proper audio-level response
- Transformer: removed 3-band crossover artifacts, simplified waveshaping with dry/wet mix
- Nickel/Iron/Steel with distinct but subtle harmonic character
- Layout: optical left, discrete right, meters center, transformer+output bottom center
This commit is contained in:
hariel1985
2026-03-27 17:46:25 +01:00
szülő 1c8b8012f6
commit d750716608
7 fájl változott, egészen pontosan 244 új sor hozzáadva és 123 régi sor törölve

Fájl megtekintése

@@ -34,6 +34,13 @@ void CompressorEngine::processBlock (juce::AudioBuffer<float>& buffer)
if (globalBypass.load() || numChannels == 0) return;
// Measure input level BEFORE any processing
inputLevelL.store (buffer.getMagnitude (0, 0, numSamples));
if (numChannels > 1)
inputLevelR.store (buffer.getMagnitude (1, 0, numSamples));
else
inputLevelR.store (inputLevelL.load());
// Read parameters once per block
float optoThresh = optoThresholdDb.load();
float optoGain = optoGainDb.load();