[ESP32-LyraTD-MSC V2.1] Send audio over TCP

maryvpa
Posts: 3
Joined: Fri Jan 18, 2019 5:20 pm

[ESP32-LyraTD-MSC V2.1] Send audio over TCP

Postby maryvpa » Fri Jan 18, 2019 5:29 pm

Hello all,

I have the following issue, I need to send a voice recording from my ESP32-LyraTD-MSC V2.1 to a TCP server.
I can use the API to create an audio pipeline and link the I2S stream to capture the audio from the mic array but I can't figure out how to send that audio over a simple TCP connection...

Can anyone give any tip or advice?

Thanks in advance! :D

Cheers!

fivdiAtESP32
Posts: 47
Joined: Thu Dec 20, 2018 9:47 am

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Postby fivdiAtESP32 » Sun Jan 20, 2019 8:04 am

Perhaps the "Recording WAV file and upload to HTTP Server" example provides some useful ideas.

maryvpa
Posts: 3
Joined: Fri Jan 18, 2019 5:20 pm

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Postby maryvpa » Mon Jan 21, 2019 10:46 am

Thank you for your reply! I started my project based on this example, but this uses the HTTP stream already available on the API and doesn't help me so much with my goal of using a simple TCP socket where I can send only the audio that I want without any extra headers.

theronic
Posts: 3
Joined: Tue Mar 05, 2019 10:31 pm

Re: [ESP32-LyraTD-MSC V2.1] Send audio over TCP

Postby theronic » Tue Mar 05, 2019 10:33 pm

It seems that the raw audio over HTTP example is broken for the ESP32-LYRATD-MSC. Can anyone chime in on how to to get it working for the LYRA? Apparently it has to do with the Lyra using a different codec chip.

Who is online

Users browsing this forum: No registered users and 4 guests