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
|
|
@ -272,6 +272,9 @@ msgstr "Войти"
|
|||
msgid "Joining voice…"
|
||||
msgstr "Подключение к голосовой комнате…"
|
||||
|
||||
msgid "Joining, leaving, microphone and sound on or off"
|
||||
msgstr "Вход, выход, микрофон и включение или выключение звука"
|
||||
|
||||
msgid "Keep your keys in a safe place to restore your profile on another device."
|
||||
msgstr "Сохрани ключи в безопасном месте, чтобы восстановить профиль на другом устройстве."
|
||||
|
||||
|
|
@ -305,15 +308,24 @@ msgstr "Сделай Vnox своим."
|
|||
msgid "Make yourself heard, your way."
|
||||
msgstr "Голос должен звучать так, как тебе удобно."
|
||||
|
||||
msgid "Master switch, also covers connection and error tones"
|
||||
msgstr "Общий переключатель, включая сигналы связи и ошибок"
|
||||
|
||||
msgid "Members"
|
||||
msgstr "Участники"
|
||||
|
||||
msgid "Members — {}"
|
||||
msgstr "Участники — {}"
|
||||
|
||||
msgid "Mentions"
|
||||
msgstr "Упоминания"
|
||||
|
||||
msgid "Message"
|
||||
msgstr "Написать"
|
||||
|
||||
msgid "Messages"
|
||||
msgstr "Сообщения"
|
||||
|
||||
msgid "Microphone"
|
||||
msgstr "Микрофон"
|
||||
|
||||
|
|
@ -332,6 +344,9 @@ msgstr "Выключить микрофон"
|
|||
msgid "New deliveries stop. Existing messages stay in the channel."
|
||||
msgstr "Новые доставки прекратятся. Отправленные сообщения останутся в канале."
|
||||
|
||||
msgid "New messages in chats you are not looking at"
|
||||
msgstr "Новые сообщения в чатах, которые вы сейчас не смотрите"
|
||||
|
||||
msgid "New passphrase · at least 8 characters"
|
||||
msgstr "Новый пароль · минимум 8 символов"
|
||||
|
||||
|
|
@ -404,6 +419,12 @@ msgstr "Фото"
|
|||
msgid "Photo crop area. Drag the image to adjust the crop."
|
||||
msgstr "Область фото. Перетаскивай изображение, чтобы изменить кадрирование."
|
||||
|
||||
msgid "Play a test sound"
|
||||
msgstr "Проверить звук"
|
||||
|
||||
msgid "Play sounds"
|
||||
msgstr "Воспроизводить звуки"
|
||||
|
||||
msgid "Playback volume for voice rooms."
|
||||
msgstr "Общий уровень воспроизведения голосовых комнат."
|
||||
|
||||
|
|
@ -524,6 +545,18 @@ msgstr "Настройки этого устройства"
|
|||
msgid "Share audio"
|
||||
msgstr "Звук демонстрации"
|
||||
|
||||
msgid "Short tones for voice rooms, messages and connection changes. They stay silent while you are deafened."
|
||||
msgstr "Короткие сигналы для голосовых комнат, сообщений и смены состояния связи. Пока звук выключен, они молчат."
|
||||
|
||||
msgid "Someone mentions you or everyone"
|
||||
msgstr "Вас или всех упомянули"
|
||||
|
||||
msgid "Sound volume"
|
||||
msgstr "Громкость звуков"
|
||||
|
||||
msgid "Sounds"
|
||||
msgstr "Звуки"
|
||||
|
||||
msgid "Speaking"
|
||||
msgstr "Говорит"
|
||||
|
||||
|
|
@ -543,7 +576,7 @@ msgid "Stop watching"
|
|||
msgstr "Закрыть просмотр"
|
||||
|
||||
msgid "System default"
|
||||
msgstr "По умолчанию (системное)"
|
||||
msgstr "Как в системе"
|
||||
|
||||
msgid "System output"
|
||||
msgstr "Системный звук"
|
||||
|
|
@ -632,6 +665,9 @@ msgstr "Передача голоса"
|
|||
msgid "Voice quality"
|
||||
msgstr "Качество голоса"
|
||||
|
||||
msgid "Voice room"
|
||||
msgstr "Голосовая комната"
|
||||
|
||||
msgid "Voice rooms"
|
||||
msgstr "Голосовые комнаты"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue