feat(kaak): surface noise controls in audio settings

This commit is contained in:
Corrupted ILLUSIA committed 2026-10-11 07:06:49 +08:00
1 parent 7c3e32d671
commit cb504c95bc
12 files changed
+90 -21

No files matched your search

+2
View File
@@ -14,6 +14,8 @@ The device picker now follows the public KOOK style geometry: a 40px trigger wit
The audio settings surface now follows the observed KOOK form proportions: a 660px dark card, 16px corners, 72px field rows, and a two-column label/control layout. Device and volume controls keep their WebSpeak behavior; only their shared form grouping and KAAK skin presentation changed. The layout stacks fields on narrow screens. KOOK's settings typography remains PingFang SC-first, with a 32px/600 title, 16px/600 section headings, and 14px/400 field labels.
The existing WebSpeak noise-suppression switch is available in the audio settings on desktop and mobile, matching its placement in KOOK's voice settings. It remains the browser's current noise-suppression control; KAAK does not claim to reproduce KOOK's branded processing modes.
## Reference access note
The owner authorized inspection of the first two voice rooms in the KOOK server. Both rooms were entered and viewed; the microphone remained off and no message was sent. The in-room view confirmed a single large participant tile in the center, a separate right-side panel for the active voice channel's text chat, a narrow server rail, grouped voice channels, and a compact voice-control dock near the lower left. The chat was empty, so no message contents were recorded. Server/room identifiers and member names were not recorded.
Binary file not shown.
+1 -1
View File
@@ -3,7 +3,7 @@
"packageType": "open-skin",
"id": "community.kaak-voice",
"name": "KAAK",
"version": "3.1.46",
"version": "3.1.47",
"author": "WebSpeak Project",
"license": "AGPL-3.0-only",
"description": "A KOOK-inspired voice workspace with collapsible voice groups and current voice-channel chat, TeamSpeak profile cards, and animated speaker states.",
+58
View File
@@ -1767,6 +1767,60 @@
min-width: 0;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle {
grid-template-columns: minmax(0, 1fr) 34px;
gap: 24px;
margin: 0;
padding: 16px 24px;
border: 0;
border-top: 1px solid #ffffff0a;
border-radius: 0;
background: transparent;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle > span {
min-width: 0;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle strong {
color: #aeb0b7;
font-size: 14px;
font-weight: 400;
line-height: 20px;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle small {
color: #a4a6ad;
font-size: 12px;
line-height: 1.5;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle input {
width: 34px;
height: 20px;
flex: 0 0 34px;
border-color: #45464c;
background: #202126;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle input::before {
background: #a4a6ad;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle input:checked {
border-color: #6cbf00;
background: #6cbf00;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle input:checked::before {
background: #fff;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle input:focus-visible {
outline: 3px solid #6cbf0066;
outline-offset: 2px;
}
[data-ws-part="voice.audio-settings"] .settings-form-control,
[data-ws-part="voice.audio-settings"] .settings-device-select,
[data-ws-part="voice.audio-settings"] .settings-select {
@@ -2053,6 +2107,10 @@
row-gap: 8px;
padding: 14px 16px;
}
[data-ws-part="voice.audio-settings"] .noise-suppression-toggle {
grid-template-columns: minmax(0, 1fr) 34px;
padding: 14px 16px;
}
[data-ws-part="voice.audio-settings"] .settings-section h3 {
margin-inline: 16px;
}