Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thilinasatoru/pi-audio-detector
RaspberryPi USB Mic voice detection script.
https://github.com/thilinasatoru/pi-audio-detector
audio microphone-audio-capture python raspberry-pi
Last synced: 2 days ago
JSON representation
RaspberryPi USB Mic voice detection script.
- Host: GitHub
- URL: https://github.com/thilinasatoru/pi-audio-detector
- Owner: ThilinaSatoru
- Created: 2024-08-14T13:53:32.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-09-01T08:28:11.000Z (27 days ago)
- Last Synced: 2024-09-26T04:40:27.733Z (2 days ago)
- Topics: audio, microphone-audio-capture, python, raspberry-pi
- Language: Python
- Homepage:
- Size: 390 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parameters
```py
# Parameters
sample_rate = 44100 # Hz
channels = 1 # mono
duration = 10 # seconds
cry_threshold_dB = 60 # Loudness threshold for detecting suspicious sound
low_freq = 500 # Hz (lower frequency limit for band-pass filter)
high_freq = 4000 # Hz (upper frequency limit for band-pass filter)
use_bandpass_filter = False # Boolean to enable or disable band-pass filter# Buffer length in samples
buffer_length = int(sample_rate * 0.5) # 0.5 seconds bufferapi_url = "http://localhost:5000/audio" # Replace with your API endpoint
```