# Play sounds in raspberry pi

**URL:** https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941
**Category:** General
**Created:** [16 March 2022 17:07 UTC](https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941 "2022-03-16T17:07:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![maliheh.amirfakhry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maliheh.amirfakhry/32/55147_2.png) [@maliheh.amirfakhry](https://discourse.nodered.org/u/maliheh.amirfakhry)
#### Post date: [16 March 2022 17:07 UTC](https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941/1 "2022-03-16T17:07:48Z")

</div>

Hi, I have a raspberry pi connected to a speaker. I'm looking for a way that the speaker can read the sounds file from a micro sd card? Can you please let me know If there is any node for this? Thank u

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [16 March 2022 21:46 UTC](https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941/2 "2022-03-16T21:46:04Z")

</div>

Is there a single node that can read the sd card and play the sound out the Pi's audio connection...the answer is no. Is there a node that can read the SD card - the file-in node should do that. Is there a node that can play sound on the Pi, Click on the `flows` tab at the top of the forum and enter 'sound' and see what you com up iwith. Then try some and see which you like (or works or you).

If you look the `Projects` section of the forum you may find some examples. I have one ([Music Player v1.0.0](https://discourse.nodered.org/t/music-player-v1-0-0/18037)) that uses a pi to play music thru a HiFiBerry MiniAmp hat.

---

<div class="post-metadata">

### Author: ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)
#### Post date: [19 March 2022 15:34 UTC](https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941/3 "2022-03-19T15:34:53Z")

</div>

@zenofmud Actually the `node-red-contrib-play-soundfile` node can do this. And can take `msg.file` as an input property and play through speakers connected to a Pi.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 May 2022 15:34 UTC](https://discourse.nodered.org/t/play-sounds-in-raspberry-pi/59941/4 "2022-05-18T15:34:58Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
