white noise: Add Makefile.
authorrekado <rekado@elephly.net>
Sun, 15 Nov 2015 20:32:13 +0000 (21:32 +0100)
committerrekado <rekado@elephly.net>
Sun, 15 Nov 2015 20:32:13 +0000 (21:32 +0100)
04-white-noise/Makefile [new file with mode: 0644]

diff --git a/04-white-noise/Makefile b/04-white-noise/Makefile
new file mode 100644 (file)
index 0000000..a48ddb0
--- /dev/null
@@ -0,0 +1,10 @@
+SOUNDFONT = $(HOME)/FluidR3GM.sf2
+
+%.midi: %.ly parts/*.ly
+       lilypond $<
+
+%.wav: %.midi
+       fluidsynth -F $@ -l -R no -i -n -a alsa $(SOUNDFONT) $<
+
+%.ogg: %.wav
+       oggenc $<