From 12ef243815d409e5f4039502f378d43ecdf7abaa Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 14 Sep 2023 13:57:53 +0300 Subject: Add archive code --- src/wavetable.h | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/wavetable.h (limited to 'src/wavetable.h') diff --git a/src/wavetable.h b/src/wavetable.h deleted file mode 100644 index 46174b4..0000000 --- a/src/wavetable.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef WAVETABLE_H -#define WAVETABLE_H - -#include "synth_engine.h" - -#define WVT_MAX 44100 - -typedef struct wave_t { - float * data; - size_t size; -} wave_t; - -float wvt_sine(float *, float, int); -float wvt_saw(float *, float, int); -float wvt_digisaw(float *, float, int); -float wvt_tri(float *, float, int); -float wvt_sqr(float *, float, int); -float wvt_sound(float *, float, int); - -float wvt_next(float (* wvt_fun)(float *, float, int), float freq, int sample_rate, float * wvt_index); - -void wvt_init(); - -#endif /* WAVETABLE_H */ -- cgit v1.2.3