From 15d5e19422c9b19cd452297ff0d333149c94e787 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 7 Oct 2024 19:58:14 +0200 Subject: Added Florestan Piano Soundfont --- .gitignore | 9 +++++---- Makefile | 14 ++------------ main.c | 7 +++++++ sf2/florestan-piano.sf2 | Bin 0 -> 7809600 bytes 4 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 main.c create mode 100644 sf2/florestan-piano.sf2 diff --git a/.gitignore b/.gitignore index 47fd165..e67c165 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ -example1 -example2 -example3 -example4 +examples/example1 +examples/example2 +examples/example3 +examples/example4 +ttdaw diff --git a/Makefile b/Makefile index 727e920..3d2191a 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,3 @@ -tests: build-portmidi - $(CC) -Wall example1.c minisdl_audio.c -lm -ldl -lpthread -o example1 - $(CC) -Wall example2.c minisdl_audio.c -lm -ldl -lpthread -o example2 - $(CC) -Wall example3.c -L./portmidi -lportmidi -o example3 +ttdaw: main.c + $(CC) -Wall -o ttdaw main.c minisdl_audio.c -lm -ldl -lpthread -lasound -lm -run-example3: tests - LD_LIBRARY_PATH=./portmidi ./example3 - -run-example4: - $(CC) example4.c -lasound -lm -o example4 && ./example4 - -build-portmidi: - cd portmidi && cmake . && make diff --git a/main.c b/main.c new file mode 100644 index 0000000..51bcdb6 --- /dev/null +++ b/main.c @@ -0,0 +1,7 @@ +#include + +int main(int argc, char *argv[]) { + fprintf(stdout, "Oh, hi Mark!\n"); + return 0; +} + diff --git a/sf2/florestan-piano.sf2 b/sf2/florestan-piano.sf2 new file mode 100644 index 0000000..727e5e9 Binary files /dev/null and b/sf2/florestan-piano.sf2 differ -- cgit v1.2.3