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

Method setDecayTime

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

Source from the content-addressed store, hash-verified

23
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.

Callers 1

setupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected