Simplest way to play sound effects in esp8266?

How do i play an audio sample when pressing a button, without any special board, just a transistor?

What a coincidence. I am working on a Halloween project and needed just this.

This YT video shows how it's done. It works despite the huge number of warnings from the compiler for a poorly written library:

But, it does work. Low-fi, 8-bit, mono, but great solution for a simple SFX from an ESP8266.

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