# Chat sounds only working sometimes...intermittently or not at all?

**URL:** https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914
**Category:** Bug
**Tags:** chat
**Created:** [May 14, 2024, 3:20pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914 "2024-05-14T15:20:41Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 14, 2024, 3:20pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/1 "2024-05-14T15:20:41Z")

</div>

We’re currently working on an initiative to help other teams in our business to build out their community experiences within our community. To prepare for that, as a forcing function, I’m having my team move all of our operations to Discourse:

> [@Why you should use Discourse internally for your company/team instead of Slack (4 years use case)](https://meta.discourse.org/t/why-you-should-use-discourse-internally-for-your-company-team-instead-of-slack-4-years-use-case/296983):
>
> We have been using Discourse as the main tool for communication, record keeping, research documenting, lab journaling tool for over 4 years. I will argue that most companies would greatly benefit from having Discourse as their main communication tool rather than Slack & email chains & WhatsApp. It boils down to this: If you believe there is any value in the conversations between employees for future reflection then you need Discourse. The simple reason is that channel based instant messaging …

My entire team (7-8 people) are having issues with chat notification sounds. Different browsers, sound is enabled in browsers, notification sound enabled in our user settings. Every once in a while I’ll randomly hear a sound, but maybe like 1 in 20+ messages. My team are not hearing any sounds at all, both on direct chat messages and channel chat messages.

Any ideas what we might be missing?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 14, 2024, 9:19pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/2 "2024-05-14T21:19:44Z")

</div>

Are you on chrome? mac/windows?

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 14, 2024, 9:20pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/4 "2024-05-14T21:20:02Z")

</div>

Chrome, windows

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 14, 2024, 9:21pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/5 "2024-05-14T21:21:22Z")

</div>

No immediate solution, but I will try to dig this next week.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 21, 2024, 8:23pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/6 "2024-05-21T20:23:14Z")

</div>

I pushed two commits on these subjects:

> <https://github.com/discourse/discourse/commit/7a0c4c5296bff324350ecf5de3c74472b0ab0973>
>
> Debouncing the audio was causing the audio to be lost sometimes, somewhat random…ly. It's not supposed to be necessary.
> 
> The commit also refactors the code to async/await.

> <https://github.com/discourse/discourse/commit/bc0ef9f7eebe30f6507ea1badacb04509579545d>
>
> Prior to this change, only mentions would get a notification and a sound. This c…hange will not create a notification for this case, but will play a sound. This is still respecting notification settings, not playing the sound when you are viewing the channel or not following it.
> 
> \---------
> 
> Co-authored-by: Régis Hanol \<regis@hanol.fr\>

I expect it will largely improve the situation, will monitor this tomorrow.

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 21, 2024, 9:08pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/7 "2024-05-21T21:08:51Z")

</div>

Thanks so much! We’re using it full-time every day as a team, so when we’re back online tomorrow we’ll see how it’s going.

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 23, 2024, 1:08pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/8 "2024-05-23T13:08:14Z")

</div>

I heard a notification today on a direct chat, without having to be tagged…but only once. After that, I didn’t receive notifications after receiving messages. I do still receive them though, if someone tags my name in their message.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 23, 2024, 6:50pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/9 "2024-05-23T18:50:48Z")

</div>

There are various reasons which could cause this:

- you have been interacting with the tab less than 10 seconds ago
- you are on the channel itself

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 23, 2024, 8:47pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/10 "2024-05-23T20:47:36Z")

</div>

Would it be possible to have a configuration where you are always notified unless you are actively in that channel/chat and actively selected into it?

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 23, 2024, 9:07pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/11 "2024-05-23T21:07:40Z")

</div>

> [@jordan-violet](#):
>
> actively selected into it

Can you clarify what that means please?

Im not sure we want to introduce a setting for this, but maybe @lindsey? (the setting would be how much time do you have to be idle before we start sending notification sound, or maybe we just remove this idle time?)

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 23, 2024, 9:28pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/12 "2024-05-23T21:28:29Z")

</div>

Well I think the issue is that you’re making an assumption about when we as users would want to be notified.

Any chat application I’ve ever used, if I’m not active in that chat immediately, I get notified.

We’re currently trying to utilize chat for our team, and we’re consistently missing notifications and everyone forgets to check chat (because they didn’t hear a notification).

This is definitely a need for us to be able to consider chat—we need to know that we can be notified consistently (including if we aren’t immediately active in chat). So if you don’t want to set that as a global setting (which is understandable), we’d at least need the ability to configure that as an admin.

The chat experience has been…tough. But we’ve been trying to commit to using it so we can understand the gaps and report them, in hopes to see it improve.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 23, 2024, 9:47pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/13 "2024-05-23T21:47:03Z")

</div>

> [@jordan-violet](#):
>
> But we’ve been trying to commit to using it so we can understand the gaps and report them, in hopes to see it improve.

I have made 4 changes on notifications alone this week, so I’m definitely following this and trying to improve it.

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 23, 2024, 9:47pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/14 "2024-05-23T21:47:45Z")

</div>

![](https://media.tenor.com/pakzecn3_jgAAAAC/teamwork.gif)

![](https://media.tenor.com/2KJGV-EHzCMAAAAC/brown-mendez.gif)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 23, 2024, 10:06pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/15 "2024-05-23T22:06:50Z")

</div>

So I will experiment with 0 seconds idle time on chat, will push this tomorrow, we will see if that’s an improvement for you.

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [May 23, 2024, 10:31pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/16 "2024-05-23T22:31:50Z")

</div>

> [@jordan-violet](#):
>
> The chat experience has been…tough. But we’ve been trying to commit to using it so we can understand the gaps and report them, in hopes to see it improve.

Thanks for sticking with it! We are committed to improving notifications and your reports here are so helpful to us on that journey.

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 23, 2024, 10:32pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/17 "2024-05-23T22:32:34Z")

</div>

The only way I can expect to make it work for my community, is to make it work for my team first! So we’re committed to just that!

---

<div class="post-metadata">

### Author: ![davidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidb/32/554671_2.png) [@davidb](https://meta.discourse.org/u/davidb)
#### Post date: [August 21, 2024, 3:40pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/24 "2024-08-21T15:40:20Z")

</div>

I made an update on this last week which should mean that sounds are working again more frequently in the browser:

[https://github.com/discourse/discourse/commit/de08ce8f7b2d446511f12adee3b0f5495d37cf42](https://github.com/discourse/discourse/commit/de08ce8f7b2d446511f12adee3b0f5495d37cf42)

I still plan to make some enhancements around chat sounds. I think only having chat sounds when there is badge (green/blue dot) on the chat icon would be an improvement, as currently chat attempts to play sounds any time a new message is posted in channels or DMs you are in.

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [October 7, 2024, 3:59pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/25 "2024-10-07T15:59:25Z")

</div>

Hey @jordan-violet, are you still experiencing issues with chat sounds? I’m curious if @davidb’s fixes resolved the sound inconsistencies or if there are still lingering issues there.

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [October 11, 2024, 12:00pm UTC](https://meta.discourse.org/t/chat-sounds-only-working-sometimes-intermittently-or-not-at-all/307914/26 "2024-10-11T12:00:36Z")

</div>

This topic was automatically closed after 40 hours. New replies are no longer allowed.
