I was wondering what the easiest way would be to provide sound generated on a ESP32 to a Web Browser: I got distracted when I googled the topic “music streaming” and everything suddenly turned out to be very complicated.

So I got back to my original idea: Just change the Server from the examples directory to return something that a Web Browser would recognize: The simplest audio file format for this purpose is WAV. It’s basically just raw audio data prefixed with a header.

Quite some time ago I started with my implementation for a simple WAV encoder and decoder and I finally managed to get it into a shape where things are usable and to my surprise this approach is working pretty well…

You can find the example on Github.


0 Comments

Leave a Reply

Your email address will not be published.