From 88ea89c5fbbe8cbaa3420a4b212a48c8e71db682 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Tue, 11 Aug 2020 23:46:08 +0200 Subject: [PATCH] Initialize the LFOs in sfizz_plot_lfo --- tests/PlotLFO.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/PlotLFO.cpp b/tests/PlotLFO.cpp index c8f63e2f..d993236a 100644 --- a/tests/PlotLFO.cpp +++ b/tests/PlotLFO.cpp @@ -83,6 +83,10 @@ int main(int argc, char* argv[]) size_t numFrames = (size_t)std::ceil(sampleRate * duration); std::vector outputMemory(numLfos * numFrames); + for (size_t l = 0; l < numLfos; ++l) { + lfos[l].start(); + } + std::vector> lfoOutputs(numLfos); for (size_t l = 0; l < numLfos; ++l) { lfoOutputs[l] = absl::MakeSpan(&outputMemory[l * numFrames], numFrames);