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

Function generateUniformBins

tests/fl/audio/test_helpers.h:199–201  ·  view source on GitHub ↗

Generate uniform magnitude bins (all same value) @param count Number of bins @param magnitude Value for all bins @return Vector of float magnitudes

Source from the content-addressed store, hash-verified

197/// @param magnitude Value for all bins
198/// @return Vector of float magnitudes
199inline vector<float> generateUniformBins(size count, float magnitude) {
200 return vector<float>(count, magnitude);
201}
202
203// ============================================================================
204// Complex Signal Generators (for vocal detection testing)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected