beat

Arrange audio samples into something bigger
git clone https://git.ce9e.org/beat.git

commit
bb9871c4976378c1d1c5cac856e28c7a0e4cd4f0
parent
ab298d8751a403da08afd4bf0980f4f6be7ba27a
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-12-17 18:37
WIP: add generic target for .beat files

this allows you to write the arguments into multi-line files, e.g.:

44100 44 8 2
0 src/bumm.flac
2 src/tack.flac
3 src/bumm.flac
4 src/bumm.flac
6 src/tack.flac

Diffstat

M Makefile 6 ++++++

1 files changed, 6 insertions, 0 deletions


diff --git a/Makefile b/Makefile

@@ -6,3 +6,9 @@ build/beat.flac: Makefile beat src/bumm.flac src/tack.flac
    6     6 
    7     7 beat: beat.c Makefile
    8     8 	gcc -lm -lsndfile $< -o $@
   -1     9 
   -1    10 %_voice.flac: %.flac Makefile
   -1    11 	sox $< $@ contrast norm
   -1    12 
   -1    13 B.flac: B.beat Makefile beat $(shell grep -o '~.*flac' B.beat | sort | uniq)
   -1    14 	./beat $@ $(shell cat $<)