# How to get an alarm active sound using audio component in client environment

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 2, 2024, 11:58am UTC](https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429 "2024-09-02T11:58:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavya\_shree](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@kavya\_shree](https://forum.inductiveautomation.com/u/kavya_shree)\
**Post date:** [September 2, 2024, 11:58am UTC](https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429/1 "2024-09-02T11:58:41Z")

</div>

Hi,  
I am getting an active alarm sound using audio component.  
I have taken **.wav** file and saved in

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/c/ac54a35d305008e0181ee9287cee2c4c95cdebf7.png)  
I am able to get the sound but for the client is not getting the sound.

please guide .

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 2, 2024, 12:13pm UTC](https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429/2 "2024-09-02T12:13:26Z")

</div>

Did they turn their sound on? xd

The audio system scripts are for the gateway/vision only, but the component should be fine i think.

> **[Perspective - Audio Scripting | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-display-palette/perspective-audio/perspective-audio-scripting)**
>
> This page details the various scripting, component, and extension functions available for Perspective's Audio component.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 2, 2024, 1:16pm UTC](https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429/3 "2024-09-02T13:16:29Z")

</div>

The audio component relies on browser autoplay, as does the video component. Browsers often restrict autoplay--only the user can turn it on.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [September 2, 2024, 1:47pm UTC](https://forum.inductiveautomation.com/t/how-to-get-an-alarm-active-sound-using-audio-component-in-client-environment/95429/4 "2024-09-02T13:47:21Z")

</div>

Yeah the clients might have to allow sounds in their browser settings for the perspective site
