MCPcopy Create free account
hub / github.com/FastLED/FastLED / setOutputTime

Method setOutputTime

examples/Audio/simple/fx_audio.h:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 void setAttackTime(float t){ mAttackRate = 1.0f/t; }
25 void setDecayTime (float t){ mDecayRate = 1.0f/t; }
26 void setOutputTime(float t){ mOutputRate = 1.0f/t; }
27
28 /// Process one 512-sample block; returns [0…1] with inertia.
29 float operator()(const int16_t* samples, size_t length) {

Callers 1

setupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected