There was an error while loading. Please reload this page.
2 parents 512b895 + 1faef97 commit abc58c2Copy full SHA for abc58c2
.gitignore
@@ -2,6 +2,7 @@
2
example
3
output.wav
4
melody.h
5
+tools/midi2c
6
7
# Emscripten/WASM build outputs
8
*.wasm
Makefile
@@ -1,6 +1,6 @@
1
CC ?= gcc
CFLAGS = -Wall -Wextra -Wconversion -I include -I .
-LDLIBS = # -lm
+LDLIBS = -lm
SRCS = src/picosynth.c
HDRS = include/picosynth.h
tests/example.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdint.h>
#include "melody.h"
#include "picosynth.h"
tools/midi2c.c
@@ -20,6 +20,7 @@
20
21
22
#include <string.h>
23
24
25
#define MAX_NOTES 1024
26
#define MAX_LINE 256
0 commit comments