From 500b9a07b93d6cd3e771edc5698e06d163da60f1 Mon Sep 17 00:00:00 2001 From: grm Date: Sat, 22 Feb 2025 02:36:27 +0200 Subject: a year of changes (web, better soundcard handling, biquad) --- src/synth.c | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'src/synth.c') diff --git a/src/synth.c b/src/synth.c index f7ae019..1b5187b 100644 --- a/src/synth.c +++ b/src/synth.c @@ -23,33 +23,19 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* audio */ -#include -#include - -#include - -/* graphics */ -#include "synth_gui.h" - -/* synth */ #include "synth_engine.h" -#include "midi.h" - -#define NUM_SECONDS (1) - -#define WAVE_SIZE (44100) +#include "synth_gui.h" +#include "web.h" int main(void) { - midi_t midi; - synth_t * synth = init_synth(); - init_midi(&midi, synth); + init_web(synth); + rayrun(synth); - terminate_midi(&midi); + free_web(); free_synth(synth); return 0; -- cgit v1.2.3