# How to receive, play, record and analyze audio send to node-red websocket by an ESP32

**URL:** <https://discourse.nodered.org/t/how-to-receive-play-record-and-analyze-audio-send-to-node-red-websocket-by-an-esp32/61771>\
**Category:** General\
**Created:** [25 April 2022 22:05 UTC](https://discourse.nodered.org/t/how-to-receive-play-record-and-analyze-audio-send-to-node-red-websocket-by-an-esp32/61771 "2022-04-25T22:05:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliver](https://avatars.discourse-cdn.com/v4/letter/o/85f322/32.png) [@oliver](https://discourse.nodered.org/u/oliver)\
**Post date:** [25 April 2022 22:05 UTC](https://discourse.nodered.org/t/how-to-receive-play-record-and-analyze-audio-send-to-node-red-websocket-by-an-esp32/61771/1 "2022-04-25T22:05:40Z")

</div>

Hi, who has an idea how to handle streaming data from ESP32 coming from an I2S microphone?  
Would be nice if it can be played by the PC loudspeakers after node-red received it.  
Any solution to play and record the sound? ( next step is analyzing )

Below code is used to stream audio between 2 ESP32's :  
[https://raw.githubusercontent.com/0015/ThatProject/master/ESP32\_MICROPHONE/Wiretap\_INMP441\_MAX98357A\_via\_websocket/Client\_INMP441/Client\_INMP441.ino](https://raw.githubusercontent.com/0015/ThatProject/master/ESP32_MICROPHONE/Wiretap_INMP441_MAX98357A_via_websocket/Client_INMP441/Client_INMP441.ino)  
And video of project.

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/8/38b5b6020cffffec7f5bd0de88728d6fcd578ada.jpeg "Wireless Wiretap System using 2x ESP32, INMP441 & MAX98357A") ](https://www.youtube.com/watch?v=5q5a5pee4ZQ)

Thanks for your feedback in advance!

---

<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:** [24 June 2022 22:06 UTC](https://discourse.nodered.org/t/how-to-receive-play-record-and-analyze-audio-send-to-node-red-websocket-by-an-esp32/61771/2 "2022-06-24T22:06:11Z")

</div>

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