fixed earrape effect, ffmpeg variables limited. /playfile now supports file attachments creating a hybrid command

This commit is contained in:
2025-11-29 17:26:26 +00:00
parent d8952577ad
commit 0572bc090d
2 changed files with 36 additions and 17 deletions

View File

@@ -39,7 +39,8 @@ def get_effect_options(effect_name):
'earrape': {
**BASE_FFMPEG_OPTS,
# Aggressive compression + hard clipping + bitcrushing for maximum distortion
'options': '-vn -af "volume=8,acompressor=threshold=0.001:ratio=30:attack=0.1:release=5,acrusher=bits=8:mix=0.7,volume=2,alimiter=limit=0.8"'
# Note: FFmpeg's acompressor ratio max is 20
'options': '-vn -af "volume=8,acompressor=threshold=0.001:ratio=20:attack=0.1:release=5,acrusher=bits=8:mix=0.7,volume=2,alimiter=limit=0.8"'
},
'deepfry': {
**BASE_FFMPEG_OPTS,