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:
parent
bf485720f5
commit
eed3e28c63
19 changed files with 1142 additions and 4 deletions
|
|
@ -203,6 +203,7 @@
|
|||
"Could not remove photo: {error}": "Не удалось удалить фото: {error}",
|
||||
"Language": "Язык",
|
||||
"System default": "Как в системе",
|
||||
"Default audio device": "По умолчанию (системное)",
|
||||
"Choose your language. Changes apply immediately.": "Выбери язык. Изменения применяются сразу.",
|
||||
"{n} participant": [
|
||||
"{n} участник",
|
||||
|
|
@ -231,7 +232,6 @@
|
|||
"Idle": "Нет на месте",
|
||||
"Do not disturb": "Не беспокоить",
|
||||
"Default": "По умолчанию",
|
||||
"System default": "По умолчанию (системное)",
|
||||
"Reply to {}": "Ответ {}",
|
||||
"Members — {}": "Участники — {}",
|
||||
"Zoom {}%": "Масштаб {}%",
|
||||
|
|
@ -366,5 +366,17 @@
|
|||
"Forget this server": "Забыть этот сервер",
|
||||
"Trust and connect": "Доверять и подключиться",
|
||||
"Could not save the trusted fingerprint": "Не удалось сохранить доверенный отпечаток",
|
||||
"Server forgotten. Connect again to review its fingerprint.": "Сервер забыт. Подключись снова, чтобы проверить его отпечаток."
|
||||
"Server forgotten. Connect again to review its fingerprint.": "Сервер забыт. Подключись снова, чтобы проверить его отпечаток.",
|
||||
"Sounds": "Звуки",
|
||||
"Short tones for voice rooms, messages and connection changes. They stay silent while you are deafened.": "Короткие сигналы для голосовых комнат, сообщений и смены состояния связи. Пока звук выключен, они молчат.",
|
||||
"Play sounds": "Воспроизводить звуки",
|
||||
"Master switch, also covers connection and error tones": "Общий переключатель, включая сигналы связи и ошибок",
|
||||
"Voice room": "Голосовая комната",
|
||||
"Joining, leaving, microphone and sound on or off": "Вход, выход, микрофон и включение или выключение звука",
|
||||
"Messages": "Сообщения",
|
||||
"New messages in chats you are not looking at": "Новые сообщения в чатах, которые вы сейчас не смотрите",
|
||||
"Mentions": "Упоминания",
|
||||
"Someone mentions you or everyone": "Вас или всех упомянули",
|
||||
"Sound volume": "Громкость звуков",
|
||||
"Play a test sound": "Проверить звук"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue