Replace deprecated audioop with NumPy and add silent join sounds

- Replace audioop module (removed in Python 3.13) with NumPy
  - Implement _apply_volume() method using NumPy for volume adjustment
  - Update RMS calculation in ducking_sound_received() to use NumPy
  - Add numpy to requirements.txt
- Add silent flag to CachedItemWrapper for join sounds
  - Join sounds now play without channel announcements
  - Regular playlist items still respect announce_current_music config
- Update CLAUDE.md to document changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Storm Dragon
2025-12-08 21:46:19 -05:00
co-authored by Claude
parent d45d666b4e
commit 70919b0769
3 changed files with 44 additions and 17 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ mutagen
requests
packaging
pyradios
opuslib==3.0.1
opuslib==3.0.1
numpy