add concatenate filter - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit 7b40ba455090d956c7e3ee19ecb4ff28948408f4
DIR parent b48f002ed37eae925301c2ca0962b387ad758d3e
HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 9 Jul 2021 15:35:24 +0200
add concatenate filter
Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
Diffstat:
M annna-message-common | 1 +
M ffmpeg-effect | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
---
DIR 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 concatenate #"*|\
"${botname}, please ww1 #"*|\
"${botname}, please mow #"*|\
"${botname}, please doomify #"*|\
DIR diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -8,9 +8,6 @@ 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, ww1, doomify, sendtohell, amsterdamify, mow.\n' 1>&2
- printf 'For loop and bounce, option -n sets the number of repeats (default %d).\n' "$repeats" 1>&2
exit 1
}
@@ -91,6 +88,8 @@ process_filter() {
"$3" </dev/null;;
ww1)
mix_audio "${mediadir}/ww1.mp3" "$2" "$3";;
+ concatenate)
+ mix_audio "${mediadir}/concatenate.mp3" "$2" "$3";;
sexify)
mix_audio "${mediadir}/careless_whisper.mp3" "$2" "$3";;
doomify)