dr pepper
Advanced Member level 1
I have a Esp32 running a server program, and on my webpage I can click a button that will play a .wav sound strored in the Esp32 using spiffs, simple enough.
I can change the .wav sound file in the program.
What I'd like to do is listen to a microphone connected to the Esp on said wepage live (delay acceptable).
As I understand it the wav file contains a header which defines things like sample rate, file ID, stereo/mono and filesize.
I was wondering if I could find a way to make the filesize either several minutes long or continuous, and send audio data via html or a websocket.
There seems to be little info on the net about sending audio from an Esp to a browser.
I can change the .wav sound file in the program.
What I'd like to do is listen to a microphone connected to the Esp on said wepage live (delay acceptable).
As I understand it the wav file contains a header which defines things like sample rate, file ID, stereo/mono and filesize.
I was wondering if I could find a way to make the filesize either several minutes long or continuous, and send audio data via html or a websocket.
There seems to be little info on the net about sending audio from an Esp to a browser.