|
FastLED 3.9.15
|
| float CalcDecayFactor | ( | bool | sustain_pedal_on, |
| bool | key_on, | ||
| int | key_idx, | ||
| float | velocity, | ||
| bool | dampened_key, | ||
| float | time_elapsed_ms ) |
Definition at line 70 of file util.cpp.
References MapDecayTime(), and mapf().
Referenced by Key::CalcAttackDecayFactor(), and anonymous_namespace{Painter.cpp}::CalcLuminance().
Here is the call graph for this function:
Here is the caller graph for this function: