add ww1 effect - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit aea4adb57340b806d9743d488941ab47dcecb7c3 | |
parent 82ec16594549e91c688363246bf139370c61816e | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 9 Jul 2021 13:31:17 +0200 | |
add ww1 effect | |
Signed-off-by: Annna Robert-Houdin <[email protected]> | |
Diffstat: | |
M annna-message-common | 1 + | |
M ffmpeg-effect | 4 +++- | |
2 files changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -676,6 +676,7 @@ case "${text}" in | |
"${botname}, please loop #"*|\ | |
"${botname}, please bounce #"*|\ | |
"${botname}, please sexify #"*|\ | |
+"${botname}, please ww1 #"*|\ | |
"${botname}, please mow #"*|\ | |
"${botname}, please doomify #"*|\ | |
"${botname}, please scrollify #"*|\ | |
diff --git a/ffmpeg-effect b/ffmpeg-effect | |
@@ -9,7 +9,7 @@ repeats=5 | |
usage() { | |
printf 'usage: %s [-n REPEATS] FILTER infile outfile\n' "${0##*/}" 1>&2 | |
printf 'where FILTER is one of: wide, thin, speedup, ' 1>&2 | |
- printf 'slowdown, reverse, loop, bounce, sexify, doomify, sendtohell, … | |
+ printf 'slowdown, reverse, loop, bounce, sexify, ww1, doomify, sendtoh… | |
printf 'For loop and bounce, option -n sets the number of repeats (def… | |
exit 1 | |
} | |
@@ -89,6 +89,8 @@ process_filter() { | |
$ffmpeg_common -i "$2" \ | |
-filter_complex "[0]reverse[r];[0][r]concat,lo… | |
"$3" </dev/null;; | |
+ ww1) | |
+ mix_audio "${mediadir}/ww1.mp3" "$2" "$3";; | |
sexify) | |
mix_audio "${mediadir}/careless_whisper.mp3" "$2" "$3"… | |
doomify) |