You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add volume control for bundled sounds (0-100)
- Add hooks.sound_volume config option (0-100, default 50)
- Update playSound() with cross-platform volume support:
- Windows: WPF MediaPlayer with Volume property
- macOS: afplay -v flag (0.0-1.0)
- Linux: paplay --volume flag (0-65536)
- Volume only applies to bundled WAV sounds, system sounds use OS volume
- Update getSoundPreference() to return SoundConfig object (style + volume)
- Update notification and stop hooks to pass volume to playSound
- Update tests for new SoundConfig return type and volume parameter
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: templates/templates/config.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,9 @@
96
96
"hooks": {
97
97
"enabled": true,
98
98
"__doc_sound_style": "Sound style for notification and completion hooks. 'system' uses OS-native system sounds (default). 'bundled' uses MaxsimCLI's custom chime sounds (pleasant ascending tones).",
99
-
"sound_style": "system"
99
+
"sound_style": "system",
100
+
"__doc_sound_volume": "Volume for bundled sounds (0–100). Only applies when sound_style is 'bundled'. System sounds always play at OS volume. Default: 50.",
0 commit comments