PiMic 🎙️
Overview
PiMic is a Python-based audio recording application designed to capture high-frequency sounds emitted by plants under stress. It's part of the larger "PlantWhispers" research initiative. The program is optimized for running on a Raspberry Pi and uses a sampling rate of 384kHz.
⚠️ Development Warning
This project is under active development. Features may be incomplete or change without notice.
Features
- Real-time audio recording at 384kHz
- Multi-threading for optimized performance
- Saving data firectly to storage storage to offload memory
- Final audio saved in WAV format
- Designed to run on a Raspberry Pi
Installation
- Clone the repository
git clone https://github.com/PlantWhispers/PiMic.git
- Navigate to the project directory
cd PiMic
- Create a virtual environment
python3 -m venv .venv
- Activate the virtual environment
source .venv/bin/activate # Linux
- Install the requirements
pip install -r requirements.txt
Usage
Run the audio_recorder.py script to launch the application.
python audio_recorder.py
Contributing
Feel free to open issues or PRs for suggestions or bug-fixes.
License
MIT License