diff options
Diffstat (limited to 'src/synth.c')
-rw-r--r-- | src/synth.c | 24 |
1 files changed, 5 insertions, 19 deletions
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 <string.h> -#include <portaudio.h> - -#include <portmidi.h> - -/* 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; |