# Perspective Audio component

**URL:** <https://forum.inductiveautomation.com/t/perspective-audio-component/62558>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [August 1, 2022, 5:49pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558 "2022-08-01T17:49:08Z")\
**Posts on this page:** 20\
**Page:** 2

<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 8, 2022, 8:55pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/21 "2022-08-08T20:55:14Z")

</div>

> [@Caleb\_Bohon](#):
>
> I don't think so. Ignition is designed to be a modular system. New Modules are required to get new functionality. If I buy a computer and then a year later want to take pictures with said computer, I have to add a camera to get that functionality.

That's a bit of a stretch. The audio component is a built-in component. Isn't it a bit weird that to make it work (in a "supported" manner) you need an additional module?

> [@Caleb\_Bohon](#):
>
> Modularity is not a bug in Ignition, its a design. It allows anyone to think up a great idea and implement it on a solid SCADA, MES, or HMI.

Who mentioned anything about a bug?

To add, there are some customers that are very strict on what software, including Ignition modules, that can be installed. So, using that use case, our options are very limited. My main point is that using webapps, which does work, should be supported, or another option supported that is native.

---

<div class="post-metadata">

**Author:** ![Caleb\_Bohon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/caleb_bohon/32/3293_2.png) [@Caleb\_Bohon](https://forum.inductiveautomation.com/u/Caleb_Bohon)\
**Post date:** [August 8, 2022, 9:05pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/22 "2022-08-08T21:05:44Z")

</div>

> [@jlandwerlen](#):
>
> That’s a bit of a stretch. The audio component is a built-in component. Isn’t it a bit weird that to make it work (in a “supported” manner) you need an additional module?

I can see that... I wonder if a built in sound file server, like there is for pictures, would do it. Maybe just allow the existing one to also host sound files would work.

And sorry for implying that you thought modularity was a bug. I did not intend to imply that.

---

<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:** [August 8, 2022, 9:45pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/23 "2022-08-08T21:45:57Z")

</div>

> [@jlandwerlen](#):
>
> To add, there are some customers that are very strict on what software, including Ignition modules, that can be installed. So, using that use case, our options are very limited. My main point is that using webapps, which does work, should be supported, or another option supported that is native.

You're basically saying that the 3rd party modules route is bogus, and IA should make everything native.

Sorry, as a module developer, I'm not sympathetic _ **at all** _. Companies that reject 3rd party modules automatically are getting what they asked for: limited features.

---

<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 8, 2022, 10:02pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/24 "2022-08-08T22:02:33Z")

</div>

> [@pturmel](#):
>
> You're basically saying that the 3rd party modules route is bogus, and IA should make everything native.

No I am basically saying that a built-in component should work without additional addons (perhaps reread my responses). The customer(s) are the ones stating not to use 3rd party modules. They have their reasons, which I am not going to get into a debate on.

As an integrator, I don't typically bark too much at customers and their requests, otherwise, we might lose that relationship. I figured as an integrator yourself you would be somewhat sympathetic to that. From your response, sounds like maybe not. 🤔

---

<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:** [August 8, 2022, 10:39pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/25 "2022-08-08T22:39:45Z")

</div>

> [@jlandwerlen](#):
>
> As an integrator, I don’t typically bark too much at customers and their requests, otherwise, we might lose that relationship.

Some requests indicate more abuse than relationship to follow. It's rare, but I have declined such work more than once in the past 25 years.

---

<div class="post-metadata">

**Author:** ![jciatti](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jciatti](https://forum.inductiveautomation.com/u/jciatti)\
**Post date:** [February 16, 2023, 7:43pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/27 "2023-02-16T19:43:51Z")

</div>

> [@jlandwerlen](#):
>
> No I am basically saying that a built-in component should work without additional addons (perhaps reread my responses). The customer(s) are the ones stating not to use 3rd party modules. They have their reasons, which I am not going to get into a debate on.

I think this is a valid point, especially in relation to mobile devices meant to interact with control systems. Sound is a valid, an often important, method of notifying operators/users. For Ignition to create the sound module but then say "we don't really have an official way to host the file that this thing is supposed to play" seems out of place. Seems like if the file is supposed to be served to the client, it should have an official location on the gateway, similar to all the other graphics that are served.

---

<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:** [February 16, 2023, 8:09pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/28 "2023-02-16T20:09:19Z")

</div>

> [@jciatti](#):
>
> "we don't really have an official way to host the file that this thing is supposed to play"

But they **don't** say that. They have the official WebDev module (which predates Perspective, fwiw). If an end-user doesn't want to buy that (and Ignition has always been modular--there are lots of times customer trim basic functionality to cut cost), they can easily put a proxy in front of Ignition to serve files any way they like. Most of those proxy options are also free.

Third parties like me fill in options that are either more convenient or more featureful than IA's base offerings. That's the whole point of a modular system where 3rd parties can participate.

And the phenomenon isn't just about this audio component. For example, try using Perspective's Power Chart without the Historian module. Some parts of some modules simply don't work, or don't fully work, if you don't use other modules.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [February 23, 2023, 5:12pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/29 "2023-02-23T17:12:03Z")

</div>

I have to agree with others. If IA is offering an audio player to be able to support things like audible alarms, they need to provide a means of supplying the audio file for that feature as well without needing to buy an additional module.

We're building some Edge systems and the only way I can find to make this work is to use the undocumented/unsupported path or buy the compute module, because I can't tie to a database to use your blob module and I really don't want to over-complicate things by adding a static web server to a small modular panel just to host some audio files.

It would be great if they even just added a folder under "data/modules/com.inductiveautomation.perspective" like "sounds" just like they have fonts, icons, and themes already where we can add custom icon libraries, custom themes, etc. I would think since that mechanism is already there, it should be a fairly easy addition. (I've already tried dropping a wav file under those folders and have tried making my own "sounds" folder and none of that worked).

This would at least travel with the project and get backed up. I'm not asking them to fully provide a full mounted folder resource like exists in the WebDev module, but just something similar to what exists for themes and icons that limits data types to only supported audio files.

---

<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:** [February 23, 2023, 5:27pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/30 "2023-02-23T17:27:46Z")

</div>

> [@michael.flagler](#):
>
> for that feature as well without needing to buy an additional module.

Well, good luck convincing them. There're already _ **free** _ ways to deliver audio without any additional module (via proxy, or CORS configuration to allow external web audio, or via jetty's webserver folder), and a _ **free** _ module (mine) to deliver from a DB.

Ignition is _ **modular** _. You buy/deploy the parts you need. Building everything in raises costs for everyone to benefit a few. Expect pushback from many of us who _ **like** _ modularity.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [February 23, 2023, 6:10pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/31 "2023-02-23T18:10:39Z")

</div>

Adding the capability to host the sound files needed for audible alarming doesn't reduce the modularity of the system at all. All the free supported ways are not friendly to most of our engineers or customers (we have customers who are already struggling with the learning curve migrating to Ignition because they're used to other HMI products which are limited but are easier for them to grasp how things are done). They shouldn't need a computer science degree to figure out how to set up a reverse proxy or need to know how to set up content security policies (is there a way to do this with Perpsective?) The unsupported way also doesn't get backed up as part of a gateway backup and we don't want to run the risk of it breaking with an upgrade since it's unsupported (even though that seems to be our easiest option at this point).

It's no different than the drawing tools they're developing for perspective. Yeah, they could just say you're stuck using Inkscape forever, but I've already got people complaining that they have to use a separate program to just create some simple PID graphics for the system because they're used to HMI/SCADA packages having this built-in.

I also wouldn't say this would benefit just a few. Audible alarms are a part of practically every system we deploy and I'm sure we're not the only ones who would be in the same situation. In Vision, you just select the Sound Data file to play from local storage and its easy. I realize Perspective is a completely different system, but some sort of feature parity between visualization modules would be nice.

---

<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:** [February 23, 2023, 6:39pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/32 "2023-02-23T18:39:36Z")

</div>

> [@michael.flagler](#):
>
> but some sort of feature parity between visualization modules would be nice.

I agree with that ideal, but the disparity you are focusing on is a fundamental difference between a true local application and a web-based application. The cut-down nature of cheap Edge licenses exacerbates your specific case, with Perspective.

FWIW, I don't think Perspective (with or without Workstation, with or without Edge) is a good choice for actual machine-control HMIs, mostly due to the difficulty securing based on local machine identity. Workstation might someday solve that, but probably won't ever support launching local executables--a common requirement when _integrating_ multiple technologies in a single point of operation. This is just one more reason to think so.

{ Note: Edge with the compute plugin can play sounds independent of the UI, on suitable hardware. }

---

<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:** [February 23, 2023, 7:03pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/33 "2023-02-23T19:03:32Z")

</div>

> [@pturmel](#):
>
> FWIW, I don't think Perspective (with or without Workstation, with or without Edge) is a good choice for actual machine-control HMIs, mostly due to the difficulty securing based on local machine identity.

A man after my own heart..  
In Vision it is also trivial for playing wav files like this

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [February 24, 2023, 3:46pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/34 "2023-02-24T15:46:50Z")

</div>

Maybe I'm overlooking something simple, but in what ways can you truly secure Vision based on machine identity? Plus isn't that part of the whole point of Perspective - to make it versatile in what machines can access it? Security should be done at the user level to prevent unauthorized connections and security zones can limit access from specific networks.

---

<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:** [February 24, 2023, 4:01pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/35 "2023-02-24T16:01:54Z")

</div>

Vision, because it can run code locally, can:

- Within jython, access durable machine identifiers like MAC IDs (all of them), IP addresses behind NAT translation, and any unique material exposed by the OS (like Linux's virtual FS that exposes BIOS and motherboard serial numbers, and other unique computer build information).

- From jython, call local external code that can perform hashing and signature and token operations with Trusted Platform devices, whether built-in, plugged in externally, or perhaps, plugged into a motherboard header.

Any of the above can be retrieved in a client startup script (supplied by the gateway), passed to the gateway to validate/compute permissions, and those permissions applied within the application in addition to any role-based or user-based privileges.

Assuring that machine direct controls occur at a physical location with suitable visibility into the machine is important to many operations. While true human safety controls need to be part of a properly designed circuit outside of HMIs, there are many operations that can damage or destroy a machine for which HMI enforcement is appropriate.

Geo-fencing is an attempt to provide such in a mobile environment, but coordinates used for that can be faked in mobile devices.

---

<div class="post-metadata">

**Author:** ![bwirth](https://avatars.discourse-cdn.com/v4/letter/b/41988e/32.png) [@bwirth](https://forum.inductiveautomation.com/u/bwirth)\
**Post date:** [February 24, 2023, 4:18pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/36 "2023-02-24T16:18:24Z")

</div>

I know I started this thread and then took the route to add to the webapps folder. This worked and I moved on. Figured I'd deal with it later if it became a problem.

That said, I think the simple solution is to allow to load through the image management tool. Of course, I won't pretend to know the technical details to be able to do that.

---

<div class="post-metadata">

**Author:** ![dadmin](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dadmin](https://forum.inductiveautomation.com/u/dadmin)\
**Post date:** [March 19, 2025, 4:30am UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/37 "2025-03-19T04:30:56Z")

</div>

Here is a brief tutorial in case you wind up here like I did.

> [@Audible Alarms in Perspective](https://forum.inductiveautomation.com/t/audible-alarms-in-perspective/103859):
>
> I develop in a secure, air-gaped environment where it takes an act of congress to import modules. I needed a way to get audible alarms working for my remote endpoints and IA support saved the day. For windows, navigate to the following directory: C:\Program Files\Inductive Automation\Ignition\webserver\webapps\main\ Linux: /usr/local/bin/ignition/webserver/webapps/main/ Create a new directory for your .wav alarm files and add the file you want to use. Add an audio component on a header in …

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 19, 2025, 3:54pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/38 "2025-03-19T15:54:17Z")

</div>

Just because it works, that does not mean it's supported. That directory was suggested as a workaround for some image management issues during the Alpha phase of 8.0, but we have been careful not to recommend it in most cases because there is a very real possibility that resources stored there could stop working in the future. I _highly_ recommend you continue to advance to the fully-supported module route.

Ah, we even explicitly warn against this approach [earlier in this thread](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/12).

---

<div class="post-metadata">

**Author:** ![dadmin](https://avatars.discourse-cdn.com/v4/letter/d/8baadc/32.png) [@dadmin](https://forum.inductiveautomation.com/u/dadmin)\
**Post date:** [March 19, 2025, 8:24pm UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/39 "2025-03-19T20:24:41Z")

</div>

@cmallonee thank you for this response, I will show it to my team. Does IA have any plans to integrate this incredibly useful module in upcoming updates?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [March 20, 2025, 2:14am UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/40 "2025-03-20T02:14:33Z")

</div>

That would be extremely unlikely. The modular functionality approach has seemed to work well for us and our customers for a very long time now, and I expect we won't be changing that by absorbing any modules into the platform anytime soon.

---

<div class="post-metadata">

**Author:** ![jciatti](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jciatti](https://forum.inductiveautomation.com/u/jciatti)\
**Post date:** [April 10, 2025, 3:27am UTC](https://forum.inductiveautomation.com/t/perspective-audio-component/62558/41 "2025-04-10T03:27:30Z")

</div>

For those that stumble into this long chat, here's what we ended up doing in order to play sound on our implementation of Perspective.

Goal: Create a mobile client capable of notifying operators via sound in the field of alarm conditions they need to address, so that they can quickly go from wherever they currently are to the closest full Vision HMI station.

Challenges we ran into in developing this:

- Audio files could not be played directly (as has been stated many times above)
- If the client device screen went dark, the websocket closed and no notification data was sent to the client. We didn't have a keep-alive system in place as that drained the batteries of our devices too fast for all day use
- We do not connect our production systems to the internet

Solution:  
We found that Gotify, deployed as a docker container allowed us to run a push notification server that could then trigger up to 4 levels of sound per notification. This notification was triggered by a a tag event script which then sent a message to Gotify to push the notification to our device. There are still challenges ongoing with this type of implementation with Perspective, but wanted to give some light to our eventual solution in trying to use Perspective for what we originally thought would be a fairly simple implmentation use case.

[Previous page](https://forum.inductiveautomation.com/t/perspective-audio-component/62558.md?page=1)
