diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-02-21 22:07:02 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-02-21 22:07:02 +0100 |
commit | 2b728849631db9edb2bb213cc5d1376a1e2701b3 (patch) | |
tree | ff342dbaaebaf2403a77e26b9e0a5ba08873b6f1 | |
parent | 9dfda6c3aa70540301123353349d181b5aa57e47 (diff) |
Add target to render guide track.
-rw-r--r-- | targets.mk | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -20,11 +20,21 @@ parts/%.pdf: parts/%.ly music/%.ly %.wav: %.midi fluidsynth -r 48000 -F $@ -l -R no -i -n -a alsa $(SOUNDFONT) $< +%-klick-mono.wav: %.tempo + klick -W $@ -f $< + +%-klick.wav: %-klick-mono.wav + sox $< $@ channels 2 + +%-guide.wav: %-klick.wav %.wav + sox --combine mix $*-klick.wav -v 0.25 $*.wav $@ + %.ogg: %.wav oggenc $< wav: $(NAME).wav ogg: $(NAME).ogg +guide: $(NAME)-guide.wav upload-ogg: ogg scp $(NAME).ogg elephly.net:~/elephly.net/secret/band/$(NAME)/$(NAME).ogg |