Skip to content

tirajetw/ESP32_Audiokit-recorder_wav_to_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recording WAV file and upload to HTTP Server

By using the [Rec] button on the audio board, when the button is pressed, it will record and upload data to HTTP Stream, and when the button is released, it will stop recording, server will write all data to .wav file.

Usage

Prepare the Server:

  • Require python 2.7 or higher.
  • Run python2 server.py - place the file server.py at root of this example, and make sure this directory is writable.

Prepare the computer to flash this program and monitor for ESP32-Audio-Kit

1 Setup toolchain

2 Install ESP-IDF

3 Install ESP-ADF

Configure the example:

  • Select compatible audio board in menuconfig > Audio HAL.
  • Set up the Wi-Fi connection by running menuconfig > Example Configuration and filling in WiFi SSID and WiFi Password.
  • In the same menu set up server URI, for example http://192.168.0.248:8000/upload where http://192.168.0.248 is the server LAN IP address.

Load and run the example:

  • Speak to the board once prompted on the serial monitor.
  • After finish, retrieve recorded file from directory where server is located.
  • To stop the pipeline press [Mode] button on the audio board.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages