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

Function makeBassSync

tests/fl/audio/detector/beat.hpp:387–389  ·  view source on GitHub ↗

Generate a bass pulse (200 Hz sine) audio::Sample

Source from the content-addressed store, hash-verified

385
386// Generate a bass pulse (200 Hz sine) audio::Sample
387static audio::Sample makeBassSync(u32 timestamp, float amplitude = 20000.0f) {
388 return makeSample(200.0f, timestamp, amplitude);
389}
390
391// Run a periodic beat pattern and return results
392struct BeatTestResult {

Callers 2

runPeriodicBeatTestFunction · 0.85
beat.hppFile · 0.85

Calls 1

makeSampleFunction · 0.50

Tested by

no test coverage detected