16 const CalcPatternMod _pmod = FlamJam;
17 const std::string name =
"FlamJamMod";
22 float scaler = 0.001F;
25 float group_tol = 35.F;
26 float step_tol = 17.5F;
28 const std::vector<std::pair<std::string, float*>> _params{
29 {
"min_mod", &min_mod },
30 {
"max_mod", &max_mod },
31 {
"scaler", &scaler },
35 {
"group_tol", &group_tol },
36 {
"step_tol", &step_tol },
38#pragma endregion params and param map
44 void setup() { fj.set_params(group_tol, step_tol, scaler); }
46 void advance_sequencing(
const float& ms_now,
const unsigned& notes)
51 auto operator()() ->
float
68 pmod = std::clamp(base + pmod, min_mod, max_mod);
71 fj.handle_interval_end();