VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
vae_effect.hpp
Go to the documentation of this file.
1#ifndef _VAE_EFFECT
2#define _VAE_EFFECT
3
4#include "../vae_types.hpp"
5
6
7namespace vae { namespace core {
8 namespace effect { class EffectBase; }
9 /**
10 * @brief Effect pod
11 */
12 struct Effect {
13 /**
14 * @brief Represents a parameter of the DSP
15 */
16 struct Parameter {
17 IdString name; ///< name of the parameter of the effect
18 Real value; ///< current value, always 0 to 1
19 };
20 IdString name; ///< Name of the effect to load, not an arbitrary name
21 effect::EffectBase* effect = nullptr; ///< References the DSP
23 bool bypassed = false;
24 };
25} } // vae::core
26
27#endif // _VAE_EFFECT
constexpr Size MaxEffectsParameter
Definition: vae.hpp:296
float Real
Definition: vae_types.hpp:48
Contains Typedefinitions and basic structures use by the public API and internally.
Definition: vae.hpp:31
Represents a parameter of the DSP.
Definition: vae_effect.hpp:16
IdString name
name of the parameter of the effect
Definition: vae_effect.hpp:17
Real value
current value, always 0 to 1
Definition: vae_effect.hpp:18
Effect pod.
Definition: vae_effect.hpp:12
Parameter parameters[StaticConfig::MaxEffectsParameter]
Parameters.
Definition: vae_effect.hpp:22
IdString name
Name of the effect to load, not an arbitrary name.
Definition: vae_effect.hpp:20
effect::EffectBase * effect
References the DSP.
Definition: vae_effect.hpp:21