26 lines
580 B
C++
26 lines
580 B
C++
//
|
|
// Created by versustune on 13.06.20.
|
|
//
|
|
|
|
#ifndef VENO_MODULATEVALUE_H
|
|
#define VENO_MODULATEVALUE_H
|
|
|
|
#include <string>
|
|
|
|
// a class that is used to can handle the value from a "gui-part" and the matrix and all other modulation
|
|
class ModulateValue
|
|
{
|
|
public:
|
|
ModulateValue (const std::string& name, const std::string& processId);
|
|
~ModulateValue ();
|
|
void addValue (float d);
|
|
private:
|
|
std::string m_name;
|
|
std::string m_processId;
|
|
float m_value;
|
|
float m_baseValue = 0;
|
|
float m_maxValue = 1;
|
|
float m_minValue = -1;
|
|
};
|
|
#endif //VENO_MODULATEVALUE_H
|