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

Function makeSample_EnergyAnalyzer

tests/fl/audio/detector/energy_analyzer.hpp:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace test_energy_analyzer {
18
19static audio::Sample makeSample_EnergyAnalyzer(float amplitude, fl::u32 timestamp) {
20 return makeSample(440.0f, timestamp, amplitude);
21}
22
23static audio::Sample makeSilence_EnergyAnalyzer(fl::u32 timestamp) {
24 return makeSilence(timestamp);

Callers 1

Calls 1

makeSampleFunction · 0.50

Tested by

no test coverage detected