# Play an mp3 file? Yes. Yes, you can

**URL:** <https://forum.inductiveautomation.com/t/play-an-mp3-file-yes-yes-you-can/15219>\
**Category:** Ignition\
**Created:** [August 31, 2017, 3:11pm UTC](https://forum.inductiveautomation.com/t/play-an-mp3-file-yes-yes-you-can/15219 "2017-08-31T15:11:25Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [May 17, 2018, 4:24pm UTC](https://forum.inductiveautomation.com/t/play-an-mp3-file-yes-yes-you-can/15219/9 "2018-05-17T16:24:54Z")

</div>

Yes and No. I have it working but it is customized pretty heavily to our environment.  
I created a share on the Gateway server called AlarmWAV that contains all of the sound files.  
Then I have 3 custom properties on each alarm tag you want a voice alarm on.  
AlarmGroup  
AlarmGroup is what we use to filter our alarms to certain areas of a location.  
PlayCount  
How many times the Sound file should be played.  
AlarmWav  
The name of the sound file to send

Then I have a tag in each AlarmGroup area that counts active alarms that have the alarm group and an AlarmWav set in the properties of the alarm.

An SFC monitors that tag for \> 0  
When the count goes over 0 it then processes the SFC which calls the script to send the sound file to the designated Node which is stored in a memory tag for each AlarmGroup  
The SFC will process the sound file to the node X times the AlarmCount setting for the Alarm tag. While writing back to the Alarm Tag incrementing down the PlayCount to 0

---

_[View the full topic](https://forum.inductiveautomation.com/t/play-an-mp3-file-yes-yes-you-can/15219)._
