- commit
- ed91891ceddbd79589496d3ae17b8c68412dc54b
- parent
- bb9871c4976378c1d1c5cac856e28c7a0e4cd4f0
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-12-22 07:19
mv example to separate dir
Diffstat
| M | .gitignore | 1 | - |
| M | Makefile | 14 | +------------- |
| D | build/.keep | 0 | |
| A | example/.gitignore | 2 | ++ |
| A | example/Makefile | 9 | +++++++++ |
| A | example/example.beat | 15 | +++++++++++++++ |
| A | example/kick.flac | 0 | |
| A | example/snare.flac | 0 |
8 files changed, 27 insertions, 14 deletions
diff --git a/.gitignore b/.gitignore
@@ -1,2 +1 @@ 1 1 beat2 -1 build/*.flac
diff --git a/Makefile b/Makefile
@@ -1,14 +1,2 @@1 -1 BPM = 1102 -1 SAMPLERATE = 441003 -14 -1 build/beat.flac: Makefile beat src/bumm.flac src/tack.flac5 -1 ./beat $@ $(SAMPLERATE) $$(($(BPM) * 2)) 8 2 0 src/bumm.flac 2 src/tack.flac 3 src/bumm.flac 4 src/bumm.flac 6 src/tack.flac6 -17 -1 beat: beat.c Makefile-1 1 beat: beat.c 8 2 gcc -lm -lsndfile $< -o $@9 -110 -1 %_voice.flac: %.flac Makefile11 -1 sox $< $@ contrast norm12 -113 -1 B.flac: B.beat Makefile beat $(shell grep -o '~.*flac' B.beat | sort | uniq)14 -1 ./beat $@ $(shell cat $<)
diff --git a/build/.keep b/build/.keep
diff --git a/example/.gitignore b/example/.gitignore
@@ -0,0 +1,2 @@ -1 1 example.flac -1 2 *_fx.flac
diff --git a/example/Makefile b/example/Makefile
@@ -0,0 +1,9 @@ -1 1 example.flac: example.beat $(shell grep -o '[^ ]*\.flac' example.beat) -1 2 beat $@ $(shell cat $< | grep -v '^#') -1 3 -1 4 %_fx.flac: %.flac -1 5 sox $< $@ reverb -1 6 -1 7 .PHONY: clean -1 8 clean: -1 9 rm -f example.flac *_fx.flac
diff --git a/example/example.beat b/example/example.beat
@@ -0,0 +1,15 @@ -1 1 # SAMPLERATE BPM BEATS TRACKS -1 2 44100 240 16 2 -1 3 -1 4 0 kick_fx.flac -1 5 2 snare.flac -1 6 3 kick_fx.flac -1 7 4 kick_fx.flac -1 8 6 snare.flac -1 9 -1 10 8 kick_fx.flac -1 11 10 snare.flac -1 12 11 kick_fx.flac -1 13 12 kick_fx.flac -1 14 13 kick_fx.flac -1 15 14 snare.flac