fix: slow volume ramp to 1s for smoother transitions

Reduce _max_step from 0.1 to 0.02 per frame, extending the full
0-to-1 volume ramp from ~200ms to ~1 second.
This commit is contained in:
user
2026-02-21 23:56:04 +01:00
parent e4e1e219f0
commit 9d58a5d073
3 changed files with 3 additions and 3 deletions

View File

@@ -1581,7 +1581,7 @@ and voice transmission.
and one is picked randomly
- Playlists are expanded into individual tracks; excess tracks are
truncated at the queue limit
- Volume changes ramp smoothly over ~200ms (no abrupt jumps)
- Volume changes ramp smoothly over ~1s (no abrupt jumps)
- Default volume: 50%
- Titles resolved via `yt-dlp --flat-playlist` before playback
- Audio pipeline: `yt-dlp | ffmpeg` subprocess, PCM fed to pymumble