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

#include <Balance.h>

Public Member Functions

void full_reset ()
 
auto operator() (const ItvHandInfo &itvhi) -> float
 

Public Attributes

const CalcPatternMod _pmod = Balance
 
const std::string name = "BalanceMod"
 
float min_mod = 0.95F
 
float max_mod = 1.05F
 
float mod_base = 0.325F
 
float buffer = 1.F
 
float scaler = 1.F
 
float other_scaler = 4.F
 
const std::vector< std::pair< std::string, float * > > _params
 
float pmod = neutral
 

Detailed Description

Hand-Dependent PatternMod describing the balance between fingers. The value of the mod is lowest when both fingers are equally loaded. Currently only runs off of raw tap counts in the interval

Member Data Documentation

◆ _params

const std::vector<std::pair<std::string, float*> > BalanceMod::_params
Initial value:
{
{ "min_mod", &min_mod }, { "max_mod", &max_mod },
{ "mod_base", &mod_base }, { "buffer", &buffer },
{ "scaler", &scaler }, { "other_scaler", &other_scaler },
}

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