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

#include <HS.h>

Public Member Functions

void full_reset ()
 
void decay_mod ()
 
auto operator() (const metaItvInfo &mitvi) -> float
 

Public Attributes

const CalcPatternMod _pmod = HS
 
const std::string name = "HSMod"
 
const int _tap_size = hand
 
float min_mod = 0.6F
 
float max_mod = 1.1F
 
float mod_base = 0.4F
 
float prop_buffer = 1.F
 
float total_prop_min = min_mod
 
float total_prop_max = max_mod
 
float total_prop_scaler = 5.571F
 
float total_prop_base = 0.4F
 
float split_hand_pool = 1.6F
 
float split_hand_min = 0.89F
 
float split_hand_max = 1.F
 
float split_hand_scaler = 1.F
 
float jack_pool = 1.35F
 
float jack_min = 0.5F
 
float jack_max = 1.F
 
float jack_scaler = 1.F
 
float decay_factor = 0.05F
 
const std::vector< std::pair< std::string, float * > > _params
 
float total_prop = 0.F
 
float jumptrill_prop = 0.F
 
float jack_prop = 0.F
 
float last_mod = min_mod
 
float pmod = min_mod
 
float t_taps = 0.F
 

Detailed Description

Hand-Agnostic PatternMod detecting Handstream. Looks for jacks, jumptrills, and hands (3-chords)

Member Data Documentation

◆ _params

const std::vector<std::pair<std::string, float*> > HSMod::_params
Initial value:
{
{ "min_mod", &min_mod },
{ "max_mod", &max_mod },
{ "mod_base", &mod_base },
{ "prop_buffer", &prop_buffer },
{ "total_prop_scaler", &total_prop_scaler },
{ "total_prop_min", &total_prop_min },
{ "total_prop_max", &total_prop_max },
{ "total_prop_base", &total_prop_base },
{ "split_hand_pool", &split_hand_pool },
{ "split_hand_min", &split_hand_min },
{ "split_hand_max", &split_hand_max },
{ "split_hand_scaler", &split_hand_scaler },
{ "jack_pool", &jack_pool },
{ "jack_min", &jack_min },
{ "jack_max", &jack_max },
{ "jack_scaler", &jack_scaler },
{ "decay_factor", &decay_factor },
}

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