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

Method setAttackTime

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

Source from the content-addressed store, hash-verified

22 {}
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

Callers 1

setupFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected