add mow 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 a59d3540f1dd4df081d4333e5eb588762b6e46a5 DIR parent fed7dc805d8f916152ce57c5cfa14f7b37cb2815 HTML Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 9 Jul 2021 12:50:35 +0200 add mow effect Signed-off-by: Annna Robert-Houdin <annna@bitreich.org> Diffstat: M annna-message-common | 1 + M ffmpeg-effect | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -669,6 +669,7 @@ case "${text}" in "${botname}, please loop #"*|\ "${botname}, please bounce #"*|\ "${botname}, please sexify #"*|\ +"${botname}, please mow #"*|\ "${botname}, please doomify #"*|\ "${botname}, please scrollify #"*|\ "${botname}, please sendtohell #"*|\ DIR 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, amsterdamify.\n' 1>&2 + printf 'slowdown, reverse, loop, bounce, sexify, 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 } @@ -95,6 +95,8 @@ process_filter() { mix_audio "${mediadir}/doom.mp3" "$2" "$3";; scrollify) mix_audio "${mediadir}/elder_scrolls.mp3" "$2" "$3";; + mow) + mix_audio "${mediadir}/lawn-mower.mp3" "$2" "$3";; sendtohell|amsterdamify) mix_audio_video "${mediadir}/hell.mkv" "$2" "$3" 1920 1080;; *) usage;;