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

#include <WideRangeCJAnchor.h>

Public Member Functions

void full_reset ()
 
void setup ()
 
void set_pmod (const ItvHandInfo &itvhi, const AnchorSequencer &as)
 
auto operator() (const ItvHandInfo &itvhi, const AnchorSequencer &as) -> float
 
void interval_end ()
 

Public Attributes

const CalcPatternMod _pmod = WideRangeCJAnchor
 
const std::string name = "WideRangeCJAnchorMod"
 
float min_mod = 0.5F
 
float max_mod = 1.F
 
float len_3_weight = 0.01F
 
float len_long_weight = -0.0034F
 
float min_required_taps = 7.F
 
float moving_window_intervals = 2.F
 
float long_anchor_pow_base = 1.025F
 
const std::vector< std::pair< std::string, float * > > _params
 
float pmod = min_mod
 

Detailed Description

Hand-Dependent PatternMod detecting anchors in general. cj specific mod scales down chordjacks if they get long anchor vibro-y

Member Data Documentation

◆ _params

const std::vector<std::pair<std::string, float*> > WideRangeCJAnchorMod::_params
Initial value:
{
{ "min_mod", &min_mod },
{ "max_mod", &max_mod },
{ "len_3_weight", &len_3_weight },
{ "len_long_weight", &len_long_weight },
{ "long_anchor_pow_base", &long_anchor_pow_base },
{ "min_required_taps", &min_required_taps },
{ "moving_window_intervals", &moving_window_intervals },
}

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