mirror of
https://codeberg.org/armin/mindball.git
synced 2026-09-01 03:40:49 +02:00
fixes
This commit is contained in:
parent
4706489173
commit
831d53380b
4 changed files with 48 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue