# system.util.playSoundClip -- not working on default audio device (i.e. with no speakers plugged in)

**URL:** <https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [November 7, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599 "2023-11-07T15:08:34Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [November 7, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599/1 "2023-11-07T15:08:34Z")

</div>

I am having the issue described in this forum post from a few years ago:

> [@Audio Clip](https://forum.inductiveautomation.com/t/audio-clip/10069/3):
>
> Sorry forgot to update this post. I got it figured out. I tried it on two clients, one being Server 2012 didn’t have Audio services running and the other didn’t have any speakers plugged in. If speakers are not plugged in it gives the error.

That is to say, I am getting this error when trying to play a simple .wav file in a Vision project:

```auto
No line matching interface Clip supporting format PCM_SIGNED 48000.0 Hz, 24 bit, stereo, 6 bytes/frame, little-endian, and buffers of 304944 to 304944 bytes is supported

```

I am wondering if there is any kind of a workaround to still play the sound (through the PC's tiny little default speaker) when there are no speakers plugged into the PC. If I have to get a speaker, then that is the solution, but I am just wondering if anyone has found a "better way" to utilize the default audio device when it is not an external speaker.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 7, 2023, 3:30pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599/2 "2023-11-07T15:30:39Z")

</div>

> [@Bushmatic](#):
>
> through the PC's tiny little default speaker

Is this speaker actually capable of playing audio or just making beeps and other annoying sounds?

If you go to YouTube can you play a video with actual audio coming through that speaker?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 7, 2023, 3:37pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599/3 "2023-11-07T15:37:36Z")

</div>

If there is sound hardware in the PC, whether builtin to the motherboard, or a separate card, then the PC squeaker is disallowed as an audio device.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 7, 2023, 3:44pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599/4 "2023-11-07T15:44:50Z")

</div>

If you end up looking for a small speaker, I found these.

[$6.82US at DigiKey](https://www.digikey.com/en/products/detail/soberton-inc./SPM-2035NU/10638200?utm_adgroup=&utm_source=google&utm_medium=cpc&utm_campaign=PMax%20Shopping_Product_Low%20ROAS%20Categories&utm_term=&utm_content=&utm_id=go_cmp-20243063506_adg-_ad-__dev-c_ext-_prd-10638200_sig-CjwKCAiA3aeqBhBzEiwAxFiOBhgibeQaDIq-E8cmewoy_UaeEHCbBL_392heKQOCCPsGb-MtV40VOhoC3-MQAvD_BwE&gad_source=1&gclid=CjwKCAiA3aeqBhBzEiwAxFiOBhgibeQaDIq-E8cmewoy_UaeEHCbBL_392heKQOCCPsGb-MtV40VOhoC3-MQAvD_BwE) as of this writing.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/d/dd9d7de24b54c08f36c6d383c91d942b03187f79.png)

[Manufacturers site](https://www.soberton.com/spm-2035nu/)

---

<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:** [November 8, 2023, 3:38pm UTC](https://forum.inductiveautomation.com/t/system-util-playsoundclip-not-working-on-default-audio-device-i-e-with-no-speakers-plugged-in/81599/5 "2023-11-08T15:38:40Z")

</div>

Thanks for the tips. Now that you say that, Kevin, I believe the speaker is indeed just for beeps. So I am going to test with an external speaker; I just don't have any lying around but will get my hands on one soon. And thank you Jordan for that link! That could be a nice cheap solution. I'll update this thread once I can investigate more.
