From b32579e6e11a639000c8d9161e1bf26d5c5e8fa4 Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Tue, 7 Jan 2025 14:58:50 +0000 Subject: [PATCH] not quite good enough MIDI --- plugin/alphaosc.cpp | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/plugin/alphaosc.cpp b/plugin/alphaosc.cpp index 0ae80de..860e0e2 100644 --- a/plugin/alphaosc.cpp +++ b/plugin/alphaosc.cpp @@ -37,8 +37,8 @@ void AlphaOsc::run(const float **, float **outputs, uint32_t frames, const MidiE bzero(outputs[0], sizeof(float) * frames); // cast unused parameters to void for now to stop the compiler complaining - (void)midiEventCount; - (void)midiEvents; + //(void)midiEventCount; + //(void)midiEvents; uint32_t i; uint32_t osc; @@ -53,6 +53,20 @@ void AlphaOsc::run(const float **, float **outputs, uint32_t frames, const MidiE float out, in; // handle any MIDI events + for(i=0; i