add amplify filter - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit e90ff6fcc29133db4b94c7e0180ccf9727d8b8c3
(DIR) parent cca6be7ddfa427320f944c7d5242ad40b3fcff3a
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 29 Nov 2021 18:31:18 +0100
add amplify filter
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
@@ -781,6 +781,7 @@ case "${text}" in
annna-say -c "${channel}" "${user}, I think ${pick} is the best option."
;;
"${botname}, please antidepressant #"*|\
+"${botname}, please amplify #"*|\
"${botname}, please amsterdamify #"*|\
"${botname}, please banjo #"*|\
"${botname}, please bounce #"*|\
(DIR) diff --git a/ffmpeg-effect b/ffmpeg-effect
@@ -73,6 +73,8 @@ process_filter() {
fi
case "$1" in
+ amplify)
+ $ffmpeg_common -i "$2" -filter:a "volume=10" "$3";;
banjo)
replace_audio "${mediadir}/banjo.mp3" "$2" "$3";;
bounce)