feat(client): synthesized notification sounds with settings

Short tones for joining and leaving a voice room, other participants
joining and leaving, new messages outside the viewed chat, mentions,
microphone mute and unmute, deafen and undeafen, server connection and
loss, and errors. The tones are generated at runtime (rising motifs for
arrival or enable, falling for leave or disable) with an attack and a
fade-out so they never click; no third-party audio is bundled.

Inside a voice room the sound is mixed into the open playback stream,
otherwise a short one-shot stream is opened on the selected output device
off the UI thread, capped at two at a time. While deafened nothing plays
except the undeafen sound. Settings: master switch, volume and separate
switches for voice room, messages and mentions, stored with the audio
preferences, with a new settings section and a test button.
This commit is contained in:
Loki 2026-10-25 10:01:38 +01:00
parent bf485720f5
commit eed3e28c63
Signed by: boba
GPG key ID: 253067914055423B
19 changed files with 1142 additions and 4 deletions

12
docs/THIRD_PARTY.md Normal file
View file

@ -0,0 +1,12 @@
# Third-party material
## Notification sounds
The notification sounds are not recordings. They are generated at runtime by
`src/audio/sounds/synth.rs` (sine tones with two quiet harmonics, a short attack, an
exponential decay and a fade-out). No third-party audio files, samples or presets are bundled,
so they carry no extra attribution or licence: they are part of VNOX-Client under GPL-3.0.
## Interface icons
Icon sets and their licences (Lucide, ISC) are documented with the icon assets.