# \[Perspective\] best way to play sound

**URL:** <https://forum.inductiveautomation.com/t/perspective-best-way-to-play-sound/40702>\
**Category:** Ignition Early Access\
**Created:** [November 16, 2020, 6:26pm UTC](https://forum.inductiveautomation.com/t/perspective-best-way-to-play-sound/40702 "2020-11-16T18:26:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 16, 2020, 6:51pm UTC](https://forum.inductiveautomation.com/t/perspective-best-way-to-play-sound/40702/3 "2020-11-16T18:51:01Z")

</div>

`playSoundClip` won't work and that description is misleading at best. `playSoundClip` will _execute_ if called from Perspective - but the sound will be played from the gateway, not the local session.

There's a somewhat involved workaround involving an iframe on the forums - that's still probably your best option.

> [@\[feature-12986, 15300\]Unacknowledged Alarm Sound](http://forum.inductiveautomation.com/t/feature-12986-15300-unacknowledged-alarm-sound/25460/3):
>
> Use an invisible IFrame, and bind src to (don’t take this literally wink ): if(something = 1, 'http://path/to/some/noise.mp3', '' )

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-best-way-to-play-sound/40702)._
