From b2d0c97e0ca7b7eb0a7195ddbf263b9953171e66 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Fri, 14 Jan 2011 13:38:54 +0100 Subject: Moved lfos and sample-and-hold in own source file --- synth/lfos.cpp | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 synth/lfos.cpp (limited to 'synth/lfos.cpp') diff --git a/synth/lfos.cpp b/synth/lfos.cpp new file mode 100644 index 0000000..5916937 --- /dev/null +++ b/synth/lfos.cpp @@ -0,0 +1,77 @@ +#include +#include + +#include "lfos.h" +#include "globals.h" +#include "fixed.h" +#include "defines.h" + +void uninit_lfo(int i) +{ + if (lfo[i]) + { + for (int j=0;j