# Microphone access from Dashboard

**URL:** <https://discourse.nodered.org/t/microphone-access-from-dashboard/3746>\
**Category:** Dashboard\
**Created:** [6 October 2018 21:04 UTC](https://discourse.nodered.org/t/microphone-access-from-dashboard/3746 "2018-10-06T21:04:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [8 October 2018 08:40 UTC](https://discourse.nodered.org/t/microphone-access-from-dashboard/3746/6 "2018-10-08T08:40:33Z")

</div>

Let's clarify where these various nodes capture their audio.

`node-red-contrib-mic` can be used to access the microphone on the device running Node-RED - the audio capture happens in the runtime. That isn't going to work when running in the cloud.

`node-red-contrib-browser-utils` provides a node that lets you capture audio from the microphone on the device running the browser you have opened the node-red editor in.

Neither of these nodes can be used to capture audio from a `node-red-dashboard` ui. To do that, you'd need to use a `ui_template` node to insert some custom javascript that can be used to do the audio capture when triggered. I'm sure _someone_ must have done that - but I can't find an example at the moment.

Capturing audio in the browser is a bit fiddly, but very doable. You could use the `browser-utils` node as a guide for what you'd need to do - [https://github.com/ibm-early-programs/node-red-contrib-browser-utils/blob/master/microphone/microphone.html](https://github.com/ibm-early-programs/node-red-contrib-browser-utils/blob/master/microphone/microphone.html)

---

_[View the full topic](https://discourse.nodered.org/t/microphone-access-from-dashboard/3746)._
