This commit is contained in:
Armin 2026-08-14 21:48:05 +02:00
commit 831d53380b
4 changed files with 48 additions and 27 deletions

View file

@ -68,7 +68,7 @@ public:
if (branch.isEmpty() || branch == "n/a")
branch = "-";
buildInfo.setText ("Mindball v1.0.0\n"
buildInfo.setText ("Mindball v0.0.5\n"
+ hash + " " + branch + dirty + "\n"
+ juce::String (mindball::BuildInfo::buildTime),
juce::dontSendNotification);
@ -88,9 +88,8 @@ public:
void timerCallback() override
{
const float decay = std::exp (-1.0f / (0.9f * 30.0f));
dryMeter.update (proc.getDryMeterL(), proc.getDryMeterR(), decay);
wetMeter.update (proc.getWetMeterL(), proc.getWetMeterR(), decay);
dryMeter.update (proc.getDryMeterL(), proc.getDryMeterR(), meterDecay);
wetMeter.update (proc.getWetMeterL(), proc.getWetMeterR(), meterDecay);
}
void parameterChanged (const juce::String& paramID, float) override
@ -176,6 +175,8 @@ private:
using SliderAttachment = juce::AudioProcessorValueTreeState::SliderAttachment;
using ButtonAttachment = juce::AudioProcessorValueTreeState::ButtonAttachment;
static constexpr float meterDecay = 0.9636077f; // exp (-1.0f / (0.9f * 30.0f))
MindballAudioProcessor& proc;
static const juce::StringArray syncDivisionNames;