# Play Sound Alert when unacknowledged alarm becomes active

**URL:** <https://forum.inductiveautomation.com/t/play-sound-alert-when-unacknowledged-alarm-becomes-active/92462>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 27, 2024, 12:56pm UTC](https://forum.inductiveautomation.com/t/play-sound-alert-when-unacknowledged-alarm-becomes-active/92462 "2024-06-27T12:56:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 28, 2024, 5:09pm UTC](https://forum.inductiveautomation.com/t/play-sound-alert-when-unacknowledged-alarm-becomes-active/92462/3 "2024-06-28T17:09:33Z")

</div>

You could use an alarm listener as @Kyle_Chase described. The topic was for a popup, but you could also use it for your needs.

> [@New Alarm Alert as a Popup](https://forum.inductiveautomation.com/t/new-alarm-alert-as-a-popup/15828/2):
>
> I would start this a different route. It looks like you are polling for changes to alarm states, when really, we should be reacting to events relating to alarm state changes. This is going to be a long winded answer, so hear goes. Create a new shared script. For this example, create it at shared.alarming. The following will create an object, that extends Ignition’s AlarmListener interface. This is how we get the alarm event from the gateway to the client. Post the following code: from c…

---

_[View the full topic](https://forum.inductiveautomation.com/t/play-sound-alert-when-unacknowledged-alarm-becomes-active/92462)._
