Skip to content

luisbranco00/SoundRecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Audio Streaming and Adafruit Integration

This script captures real-time audio data using PyAudio, processes it for amplitude calculation, and sends the processed data to the Adafruit platform for further analysis or visualization.

Prerequisites

Ensure you have the following dependencies installed:

Setup

  1. Obtain Adafruit credentials: Replace X and Key with your Adafruit Client name and key in the aio = Client(X, Key) line.

  2. Customize Adafruit feed: Modify the feed name from "semana2" to your desired Adafruit feed in the aio.send_data("semana2", valores[j]) lines.

Usage

  1. Run the script: Execute the script to start streaming and processing audio data.

  2. Interrupt the script: Use keyboard interrupt (Ctrl+C) to stop the script.

Notes

  • The script converts audio data into JSON format before sending it to Adafruit.
  • Ensure you have a reliable internet connection for successful communication with Adafruit.

Feel free to adapt the script based on your specific requirements.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages