2#include "../MetaIntervalHandInfo.h"
7 const CalcPatternMod _pmod = OldAnchorScaler;
8 const std::string name =
"OldAnchorScalerMod";
13 float max_mod = 1.05F;
15 float extra_divisor = 4.45F;
17 const std::vector<std::pair<std::string, float*>> _params{
18 {
"min_mod", &min_mod },
19 {
"max_mod", &max_mod },
21 {
"extra_divisor", &extra_divisor },
23#pragma endregion params and param map
27#pragma region generic functions
47 pmod = fastsqrt(1 - (minval / maxval / extra_divisor));
50 pmod = std::clamp(pmod, min_mod, max_mod);
accumulates hand specific info across an interval as it's processed by row
Definition IntervalHandInfo.h:6
auto get_col_taps_nowi(const col_type &ct) const -> int
access functions for col tap counts
Definition IntervalHandInfo.h:54
auto get_col_taps_nowf(const col_type &ct) const -> float
cast to float for divisioning and clean screen
Definition IntervalHandInfo.h:61
Hand downscaler based on how many notes are on either finger.
Definition OldAnchorScaler.h:6