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

Method generateSamples

src/fl/audio/synth.cpp.hpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void SynthOscillatorImpl::generateSamples(float* output, i32 numSamples, float freq) {
175 if (mHexWave && output && numSamples > 0) {
176 hw::hexwave_generate_samples(output, numSamples, mHexWave, freq);
177 }
178}
179
180void SynthOscillatorImpl::generateSamples(fl::span<float> output, float freq) {
181 generateSamples(output.data(), static_cast<i32>(output.size()), freq);

Callers 1

synth.hppFile · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected