# Pulseaudio to Dashboard

**URL:** <https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708>\
**Category:** Dashboard\
**Created:** [3 June 2020 11:02 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708 "2020-06-03T11:02:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackwellj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/blackwellj/32/243_2.png) [@blackwellj](https://discourse.nodered.org/u/blackwellj)\
**Post date:** [3 June 2020 11:02 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/1 "2020-06-03T11:02:01Z")

</div>

Hi, I am trying to get audio from a RTL SDR to be played on the dashboard. The SDR outputs different channels to different sinks in Pulseaudio. I would like to be able to mute/unmute each of those sinks on the dashboard, The audio should be played from the browser. Is this possible?

---

<div class="post-metadata">

**Author:** ![blackwellj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/blackwellj/32/243_2.png) [@blackwellj](https://discourse.nodered.org/u/blackwellj)\
**Post date:** [15 June 2020 19:02 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/2 "2020-06-15T19:02:22Z")

</div>

I’m still working On this but no luck yet

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [15 June 2020 19:41 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/3 "2020-06-15T19:41:39Z")

</div>

Is the dashboard accessed from the same machine where nodered is running? I think this is a prerequisite.

---

<div class="post-metadata">

**Author:** ![blackwellj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/blackwellj/32/243_2.png) [@blackwellj](https://discourse.nodered.org/u/blackwellj)\
**Post date:** [15 June 2020 20:15 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/4 "2020-06-15T20:15:56Z")

</div>

Unfortunately not, I basically need to convert pulse audio to web audio

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [15 June 2020 22:08 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/5 "2020-06-15T22:08:32Z")

</div>

Maybe I was too quick in my response.

1. The following node can be used to play audio in the browser.

> **[node-red-contrib-play-audio](https://flows.nodered.org/node/node-red-contrib-play-audio)**
>
> A node-red node for playing audio in the browser

1. Now you need to feed that node with the audio you want to play.  
Maybe this can be achieved by running the pulseaudio `parec` command in a node-red `exec` node.

2. As I think that you cannot directly record from a pulseaudio sink you need to redirect first to a source. See following links:

---

<div class="post-metadata">

**Author:** ![blackwellj](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/blackwellj/32/243_2.png) [@blackwellj](https://discourse.nodered.org/u/blackwellj)\
**Post date:** [19 June 2020 18:51 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/6 "2020-06-19T18:51:23Z")

</div>

Cheers 🙂 I will give it a go

---

<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:** [19 July 2020 18:51 UTC](https://discourse.nodered.org/t/pulseaudio-to-dashboard/27708/7 "2020-07-19T18:51:29Z")

</div>

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