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

#include <CJOHAnchor.h>

Collaboration diagram for CJOHAnchorMod:
Collaboration graph
[legend]

Public Member Functions

void full_reset ()
 
void advance_sequencing (const col_type &ct, const base_type &bt, const col_type &last_ct, const float &any_ms)
 
void set_pmod (const metaItvHandInfo &mitvhi)
 
auto operator() (const metaItvHandInfo &mitvhi) -> float
 
void interval_end ()
 

Public Attributes

const CalcPatternMod _pmod = CJOHAnchor
 
const std::string name = "CJOHAnchorMod"
 
float min_mod = 1.F
 
float max_mod = 1.1F
 
float base = .5F
 
float len_scaler = 0.2F
 
float anchor_len_weight = 1.F
 
float swap_scaler = 0.10775F
 
float not_swap_scaler = 0.019F
 
const std::vector< std::pair< std::string, float * > > _params
 
CJ_OHAnchor_Sequencer chain
 
int max_chain_swaps = 0
 
int max_not_swaps = 0
 
int max_total_len = 0
 
int max_anchor_len = 0
 
float pmod = neutral
 

Detailed Description

Hand-Dependent PatternMod detecting Chains. Looks for jack into jump into jack on alternate finger. Very lenient: accepts 11...1[12]...[12]2...22 Also accepts 11...1[12]...[12]1...11

Member Data Documentation

◆ _params

const std::vector<std::pair<std::string, float*> > CJOHAnchorMod::_params
Initial value:
{
{ "min_mod", &min_mod },
{ "max_mod", &max_mod },
{ "base", &base },
{ "len_scaler", &len_scaler },
{ "anchor_len_weight", &anchor_len_weight },
{ "swap_scaler", &swap_scaler },
{ "not_swap_scaler", &not_swap_scaler },
}

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