# Audio Stream Server for M5Cardputer

It sets up an audio stream server on an M5Cardputer, capturing microphone input and streaming it over a Wi-Fi connection to a web page. This allows you to listen to the microphone input from the M5Cardputer remotely through a web browser.

![](./audio-stream.jpg)


## Features

- Streams microphone audio from M5Cardputer to a web page.
- Captures audio at a sample rate of 16000 Hz.
- Provides a simple HTML interface to play the audio stream.
- Configurable via on-screen input for Wi-Fi credentials.
- Sets display brightness to a very low value to improve battery consumption.
- Save Wi-Fi credentials on Non-Volatile-Memory for better experience.


## Installation

- <b>M5Burner</b> : Search into M5CARDPUTER section and simply burn it
- <b>Old school</b> : Build or take the firmware.bin from the github release and flash it


## Usage

- Configure the WiFi : Scan for available Wifi networks and insert password when prompted. 
- Access the Audio Stream : Open a browser and navigate to the local IP adress displayed on the M5cardputer screen.

