Oscilloscope
0.5.0
A simple oscilloscope VST
Loading...
Searching...
No Matches
Source
GUI
Oscilloscopes
DecayCounter.h
Go to the documentation of this file.
1
/*
2
==============================================================================
3
4
DecayCounter.h
5
Created: 23 Mar 2023 8:10:55pm
6
Author: covariant
7
8
==============================================================================
9
*/
10
11
#pragma once
12
#include <JuceHeader.h>
13
#include "
InitVariables.h
"
14
19
class
DecayCounter
:
public
juce::AudioProcessorValueTreeState::Listener
20
{
21
private
:
27
int
decayTime;
28
33
int
maxDecayTime;
34
39
int
framesPerSecond;
40
45
float
decaySeconds;
46
47
public
:
54
DecayCounter
(
int
framesPerSecond,
float
decaySeconds);
55
60
~DecayCounter
();
61
69
bool
refreshNeeded
();
70
75
void
resetDecayTime
();
76
84
void
parameterChanged
(
const
juce::String ¶meterID,
float
newValue)
override
;
85
};
InitVariables.h
DecayCounter
Definition:
DecayCounter.h:20
DecayCounter::refreshNeeded
bool refreshNeeded()
Definition:
DecayCounter.cpp:26
DecayCounter::resetDecayTime
void resetDecayTime()
Definition:
DecayCounter.cpp:40
DecayCounter::parameterChanged
void parameterChanged(const juce::String ¶meterID, float newValue) override
Definition:
DecayCounter.cpp:46
DecayCounter::~DecayCounter
~DecayCounter()
Definition:
DecayCounter.cpp:22
Generated by
1.9.5