FastLED 3.9.15
Loading...
Searching...
No Matches
util.h File Reference
#include <stdint.h>
#include "./ApproximatingFunction.h"
#include "./settings.h"
+ Include dependency graph for util.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define round(x)
 

Functions

float AttackRemapFactor (uint32_t delta_t_ms)
 
float CalcDecayFactor (bool sustain_pedal_on, bool key_on, int key_idx, float velocity, bool dampened_key, float time_elapsed_ms)
 
uint8_t FundamentalNote (int midi_note)
 
float MapDecayTime (uint8_t key_idx)
 
float mapf (float x, float in_min, float in_max, float out_min, float out_max)
 
float ToBrightness (int velocity)