# Buzzer when new alarm comes up

**URL:** <https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937>\
**Category:** Ignition\
**Created:** [August 15, 2021, 9:38pm UTC](https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937 "2021-08-15T21:38:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Putteman](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@Thomas\_Putteman](https://forum.inductiveautomation.com/u/Thomas_Putteman)\
**Post date:** [August 15, 2021, 9:38pm UTC](https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937/1 "2021-08-15T21:38:49Z")

</div>

Hi all,

This could be a stupid question, but it is pretty urgent.  
We have Ignition Vision Clients running on different PC’s. All these PC’s have a speaker on-board.  
When there are alarms active, I would like to make some noise through that speaker.  
Is there any way how to do this quickly?

Thanks in advance!

---

<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:** [August 15, 2021, 9:58pm UTC](https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937/2 "2021-08-15T21:58:36Z")

</div>

A few posts to assist on how to determine a new alarm.

> [@Sound buzzer on new alarm generated](https://forum.inductiveautomation.com/t/sound-buzzer-on-new-alarm-generated/25709):
>
> Hi, I have looked through some older posts and managed to get a script together to list currently active alarms that match certain ‘machine area’ properties by using system.alarm.queryStatus. But i can’t quite figure out how to get a boolean trigger when a NEW alarm is detected. I could examine the oldCount and the newCount from when the script was run last, but that wouldn’t work if one alarm is created, and one alarm is cleared in between script calls, as the counts would be the same. Is t…

> [@New Alarm Alert as a Popup](https://forum.inductiveautomation.com/t/new-alarm-alert-as-a-popup/15828/6):
>
> Hi, Thanks for this code! When I tried this code on Ignition 8+ it failed because the following import in the gateway startup/shutdown script is changed in Ignition 8+. from com.inductiveautomation.ignition.gateway import SRContext That line of code is changed to: from com.inductiveautomation.ignition.gateway import IgnitionGateway

To sound buzzer:  
[https://docs.inductiveautomation.com/display/DOC79/Sound+Player](https://docs.inductiveautomation.com/display/DOC79/Sound+Player)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 15, 2021, 10:12pm UTC](https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937/3 "2021-08-15T22:12:30Z")

</div>

`system.util.beep` maybe?

[https://docs.inductiveautomation.com/display/DOC81/system.util.beep](https://docs.inductiveautomation.com/display/DOC81/system.util.beep)

---

<div class="post-metadata">

**Author:** ![Thomas\_Putteman](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@Thomas\_Putteman](https://forum.inductiveautomation.com/u/Thomas_Putteman)\
**Post date:** [August 31, 2021, 12:06pm UTC](https://forum.inductiveautomation.com/t/buzzer-when-new-alarm-comes-up/49937/4 "2021-08-31T12:06:44Z")

</div>

Hi all,

Thanks for the information. the system.util.beep was not good enough to give a nice sound. So I’ve placed a file on the desktop and whenever a new alarm comes in, I play that file.  
This seems to work ok 🙂
