Fix layout issues, replace screenshot

This commit is contained in:
Armin 2026-07-20 13:26:16 +02:00
commit c774d521c8
4 changed files with 54 additions and 40 deletions

View file

@ -341,6 +341,17 @@ void TrommelkisteProcessor::processBlock(juce::AudioBuffer<float>& buffer, juce:
if (outR)
outR[s] = tmpR;
}
float peak = 0.0f;
for (int s = 0; s < numSamples; ++s)
{
float a = std::abs(outL[s]);
if (outR)
a = jmax(a, std::abs(outR[s]));
if (a > peak)
peak = a;
}
outputLevel.store(peak, std::memory_order_relaxed);
}
int TrommelkisteProcessor::findFreeVoice(int trackIndex)