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
|
|
@ -271,6 +271,9 @@ msgstr "Join"
|
|||
msgid "Joining voice…"
|
||||
msgstr "Joining voice…"
|
||||
|
||||
msgid "Joining, leaving, microphone and sound on or off"
|
||||
msgstr "Joining, leaving, microphone and sound on or off"
|
||||
|
||||
msgid "Keep your keys in a safe place to restore your profile on another device."
|
||||
msgstr "Keep your keys in a safe place to restore your profile on another device."
|
||||
|
||||
|
|
@ -304,15 +307,24 @@ msgstr "Make Vnox yours."
|
|||
msgid "Make yourself heard, your way."
|
||||
msgstr "Make yourself heard, your way."
|
||||
|
||||
msgid "Master switch, also covers connection and error tones"
|
||||
msgstr "Master switch, also covers connection and error tones"
|
||||
|
||||
msgid "Members"
|
||||
msgstr "Members"
|
||||
|
||||
msgid "Members — {}"
|
||||
msgstr "Members — {}"
|
||||
|
||||
msgid "Mentions"
|
||||
msgstr "Mentions"
|
||||
|
||||
msgid "Message"
|
||||
msgstr "Message"
|
||||
|
||||
msgid "Messages"
|
||||
msgstr "Messages"
|
||||
|
||||
msgid "Microphone"
|
||||
msgstr "Microphone"
|
||||
|
||||
|
|
@ -331,6 +343,9 @@ msgstr "Mute microphone"
|
|||
msgid "New deliveries stop. Existing messages stay in the channel."
|
||||
msgstr "New deliveries stop. Existing messages stay in the channel."
|
||||
|
||||
msgid "New messages in chats you are not looking at"
|
||||
msgstr "New messages in chats you are not looking at"
|
||||
|
||||
msgid "New passphrase · at least 8 characters"
|
||||
msgstr "New passphrase · at least 8 characters"
|
||||
|
||||
|
|
@ -403,6 +418,12 @@ msgstr "Photo"
|
|||
msgid "Photo crop area. Drag the image to adjust the crop."
|
||||
msgstr "Photo crop area. Drag the image to adjust the crop."
|
||||
|
||||
msgid "Play a test sound"
|
||||
msgstr "Play a test sound"
|
||||
|
||||
msgid "Play sounds"
|
||||
msgstr "Play sounds"
|
||||
|
||||
msgid "Playback volume for voice rooms."
|
||||
msgstr "Playback volume for voice rooms."
|
||||
|
||||
|
|
@ -523,6 +544,18 @@ msgstr "Settings for this device"
|
|||
msgid "Share audio"
|
||||
msgstr "Share audio"
|
||||
|
||||
msgid "Short tones for voice rooms, messages and connection changes. They stay silent while you are deafened."
|
||||
msgstr "Short tones for voice rooms, messages and connection changes. They stay silent while you are deafened."
|
||||
|
||||
msgid "Someone mentions you or everyone"
|
||||
msgstr "Someone mentions you or everyone"
|
||||
|
||||
msgid "Sound volume"
|
||||
msgstr "Sound volume"
|
||||
|
||||
msgid "Sounds"
|
||||
msgstr "Sounds"
|
||||
|
||||
msgid "Speaking"
|
||||
msgstr "Speaking"
|
||||
|
||||
|
|
@ -631,6 +664,9 @@ msgstr "Voice input"
|
|||
msgid "Voice quality"
|
||||
msgstr "Voice quality"
|
||||
|
||||
msgid "Voice room"
|
||||
msgstr "Voice room"
|
||||
|
||||
msgid "Voice rooms"
|
||||
msgstr "Voice rooms"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue