add banjo effect - 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 55ad120affbe9e66b9a43eb6b6dda1c60d01c8a6 DIR parent 51ae1706232b6d8103bf1431c058083c1def8efd HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 11 Jul 2021 21:19:12 +0200 add banjo effect Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 1 + M ffmpeg-effect | 2 ++ 2 files changed, 3 insertions(+), 0 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 banjo #"*|\ "${botname}, please concatenate #"*|\ "${botname}, please ww1 #"*|\ "${botname}, please mow #"*|\ DIR diff --git a/ffmpeg-effect b/ffmpeg-effect @@ -86,6 +86,8 @@ process_filter() { $ffmpeg_common -i "$2" \ -filter_complex "[0]reverse[r];[0][r]concat,loop=${repeats}:250,setpts=N/25/TB" -an \ "$3" </dev/null;; + banjo) + replace_audio "${mediadir}/banjo.mp3" "$2" "$3";; ww1) mix_audio "${mediadir}/ww1.mp3" "$2" "$3";; concatenate)