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 examples on Github.


2 Comments

Anonymous · 13. July 2022 at 4:57

Hi, can you update the GitHub address? The above address already shows 404

    pschatzmann · 22. July 2022 at 10:54

    Done

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *