# Soundclip dosn't play the file.wav

**URL:** <https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204>\
**Category:** Ignition\
**Tags:** ignition80, scripting\
**Created:** [April 22, 2024, 12:17pm UTC](https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204 "2024-04-22T12:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yahia\_alem](https://avatars.discourse-cdn.com/v4/letter/y/8e8cbc/32.png) [@yahia\_alem](https://forum.inductiveautomation.com/u/yahia_alem)\
**Post date:** [April 22, 2024, 12:17pm UTC](https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204/1 "2024-04-22T12:17:48Z")

</div>

Hello,  
Can anyone tell me what's wrong with this code ?  
I have multipel condition to start the file Fault.wav but it's not playing it anyway !!

 ![Capture d'écran 2024-04-22 141233](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/a/1a82c241980fecb2eb3aa46c4659aee71d19777e.png)

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [April 22, 2024, 12:31pm UTC](https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204/2 "2024-04-22T12:31:57Z")

</div>

Try changing the clip's volume from integer to double. (1.0)

---

<div class="post-metadata">

**Author:** ![Bushmatic](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bushmatic/32/87014_2.png) [@Bushmatic](https://forum.inductiveautomation.com/u/Bushmatic)\
**Post date:** [April 22, 2024, 12:48pm UTC](https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204/3 "2024-04-22T12:48:30Z")

</div>

Your gateway might not have access to that directory. You can probably check the logs to get a better idea of why it isn't working. You could also try running the code without the optional volume and wait parameters, I seem to remember running into an issue with those a while ago...

---

<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:** [April 22, 2024, 12:56pm UTC](https://forum.inductiveautomation.com/t/soundclip-dosnt-play-the-file-wav/89204/4 "2024-04-22T12:56:03Z")

</div>

When running sound clips in Vision, each Vision workstation must have the local sound files placed in the location used in the code.
