mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 09:52:50 +08:00
Options: Meldungen tab (TS3 notification tree, sound packs, text position)
All 93 TS3 notification keys in the native tree layout (Aktion / Sound Skript / Text Position), per-row and per-group checkboxes, editable scripts (play/say), customized rows in bold. Sound packs: WebSpeak3 default, no sounds, or an imported .ts3_soundpack (settings.ini parsed 1:1). "Wenn Ausgabe stumm", and a per-favorite sound pack override in the favorites dialog. Existing sound triggers now go through the keys; server log lines follow Text Position. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
7f8fada880
commit
b4bd62c1b5
9 files changed
+1195
-33
No files matched your search
@@ -292,6 +292,12 @@ export function setSoundsOutputDevice(deviceId: string): void {
|
||||
void player.setOutputDevice(deviceId);
|
||||
}
|
||||
|
||||
/** A file from an imported sound pack (Options -> Meldungen). */
|
||||
export async function playSoundBlob(blob: Blob): Promise<void> {
|
||||
if (!loadSoundsEnabled()) return;
|
||||
await player.playBlob(blob, loadSoundsVolume()).catch(() => {});
|
||||
}
|
||||
|
||||
export async function playSound(event: SoundEventId): Promise<void> {
|
||||
if (!loadSoundsEnabled()) return;
|
||||
if (!loadEventSoundEnabled(event)) return;
|
||||
|
||||
Reference in new issue
Block a user