Soundboard: WAV and Opus sounds sent with the microphone
Core: ClipMixer mixes clips into the capturing VoiceInput's frames (after APM/VAD), transmitting past the gate while one plays; a mute still wins and the clip runs out unheard. Sessions owns the mixer so sounds follow the microphone between servers, and drops them when nobody captures. Soundboard decodes (SoundFiles: wave or Ogg Opus, sniffed by content) off the caller's thread, caches, and plays a local copy via the new stoppable SoundPlayer.play(float[], volume). Sounds live in soundboard.properties. Desktop: Self > Soundboard window (tile grid, click to play/stop, drop files to add, edit/move/remove, sent and local volume), toolbar action, and hotkeys Play Sound, Play/Stop Sound, Stop All Sounds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -56,6 +56,12 @@ Android app in [`../android`](../android) does.
|
||||
encoder immediately (no reconnect); a voice↔music switch transparently rebuilds
|
||||
the encoder because Opus fixes its application mode at creation.
|
||||
- Configurable capture/playback **devices**.
|
||||
- **Soundboard** (Self → Soundboard) — WAV and Ogg Opus files played onto the air: mixed
|
||||
into what the microphone sends, transmitting past the voice-activation gate while one
|
||||
plays (a mute still wins), and following the microphone to whichever server holds it.
|
||||
Click a tile to play or stop it; drop files on the window to add them. Per-sound and
|
||||
global volume, plus a local volume for hearing them yourself. Hotkeys: Play Sound,
|
||||
Play/Stop Sound, Stop All Sounds. Saved in `~/.ts3jclient/soundboard.properties`.
|
||||
|
||||
### Server interaction
|
||||
- Connect to any TS3 server (an identity is generated on first use if none exists).
|
||||
@@ -275,7 +281,11 @@ core/ eu.lixko.ts3j.client
|
||||
│ ├── NotificationSettings per-action enabled / important flags
|
||||
│ ├── SoundNotifier decides what is heard (pack + config + mute state)
|
||||
│ ├── SoundPlayer renders a sound
|
||||
│ ├── SoundFiles decodes wave / Ogg Opus files to mono 48 kHz
|
||||
│ └── PackSoundPlayer decodes, resamples and mixes sounds onto one line
|
||||
├── soundboard
|
||||
│ ├── SoundboardSounds the saved sounds (soundboard.properties)
|
||||
│ └── Soundboard plays them onto the air (audio/ClipMixer) and locally
|
||||
└── teamspeak the official client's own data files
|
||||
├── TeamSpeakSettingsDb locates settings.db; reads Contacts and the ProtobufItems sync store
|
||||
├── SqliteReader minimal read-only SQLite 3 file reader (no driver)
|
||||
|
||||
Reference in New Issue
Block a user