# Directly use microphone that connect with raspberry pi

**URL:** <https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421>\
**Category:** General\
**Created:** [28 May 2020 09:15 UTC](https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421 "2020-05-28T09:15:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [28 May 2020 15:32 UTC](https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421/5 "2020-05-28T15:32:27Z")

</div>

The solution is in progress here:

> [@What node can using for ReSpeaker 2 Mic Array Pi HAT v1.0](https://discourse.nodered.org/t/what-node-can-using-for-respeaker-2-mic-array-pi-hat-v1-0/27292/19):
>
> Yes because the watson stt node expects a single wav buffer object but straight from the mic node you get raw pcm audio chunks as a stream of buffers. So you need to join the buffers and add wav headers to it. You will need to install [https://flows.nodered.org/node/node-red-contrib-wav](https://flows.nodered.org/node/node-red-contrib-wav) in nodered. Than import this flow: [{"id":"c4303dc0.528f58","type":"Mic","z":"20693e98.c7fb2a","name":"","outputPayloadType":"buffer","endian":"little","bitwidth":"16","encoding":"signed-integer","channels":"1",…

---

_[View the full topic](https://discourse.nodered.org/t/directly-use-microphone-that-connect-with-raspberry-pi/27421)._
