# Problem playing audio file from node red

**URL:** https://discourse.nodered.org/t/problem-playing-audio-file-from-node-red/83597
**Category:** General
**Created:** [11 December 2023 10:12 UTC](https://discourse.nodered.org/t/problem-playing-audio-file-from-node-red/83597 "2023-12-11T10:12:17Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [11 December 2023 10:16 UTC](https://discourse.nodered.org/t/problem-playing-audio-file-from-node-red/83597/2 "2023-12-11T10:16:16Z")

</div>

This got me audio out of the headphone socket - something similar might work for Bluetooth

> [@\[SOLVED\]Not hearing sound using aplay via exec when running as service](https://discourse.nodered.org/t/solved-not-hearing-sound-using-aplay-via-exec-when-running-as-service/52924):
>
> Following on from how to get Node-RED to run as a service on a Pi I'm having trouble playing a sound via exec node So I'm trying to play a wav file out thru the Pi audio jack It works fine when I run Node-RED directly from a terminal As I was typing this I suddenly thought that the sound is probably defaulting to going out thru HDMI and with a bit of googling and experimenting I came up with this as my solution [image] which tells it to explicitly use the audio jack and all good …

---

_[View the full topic](https://discourse.nodered.org/t/problem-playing-audio-file-from-node-red/83597)._
