Etterna 0.75.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
HandSwitchMod Struct Reference

Public Member Functions

void reset_and_decay ()
 
void advance_sequencing (const float &ms_now, const unsigned &notes)
 
void full_reset ()
 
auto operator() (const metaItvGenericHandInfo &mitvghi)
 

Public Attributes

const CalcPatternMod _pmod = HandSwitch
 
const std::string name = "HandSwitchMod"
 
float min_mod = 0.5F
 
float max_mod = 1.5F
 
float mod_base = 0.6F
 
float decay = 1.0F
 
float prop_buffer = 0.0F
 
float prop_scaler = 0.67F
 
float influence_center = 0.5F
 
float influence_external = 0.45F
 
float influence_length = 0.25F
 
float length_cap = 1.0F
 
const std::vector< std::pair< std::string, float * > > _params
 
float pmod = min_mod
 
float last_mod = min_mod
 
float _value = 0.F
 
int _encountered = 0
 
int _length = 0
 
int _eml = 0
 
int _nm = 0
 
int _om = 0
 
int _last = 0
 

Member Data Documentation

◆ _params

const std::vector<std::pair<std::string, float*> > HandSwitchMod::_params
Initial value:
{
{ "min_mod", &min_mod },
{ "max_mod", &max_mod },
{ "mod_base", &mod_base },
{ "decay", &decay },
{ "prop_buffer", &prop_buffer },
{ "prop_scaler", &prop_scaler },
{ "influence_center", &influence_center },
{ "influence_external", &influence_external },
{ "influence_length", &influence_length },
{ "length_cap", &length_cap },
}

The documentation for this struct was generated from the following file: