https://github.com/ohcnetwork/parayu_ohc
https://github.com/ohcnetwork/parayu_ohc
Last synced: about 10 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/ohcnetwork/parayu_ohc
- Owner: ohcnetwork
- Created: 2026-04-17T11:46:08.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-04-17T13:04:04.000Z (about 2 months ago)
- Last Synced: 2026-05-23T06:42:39.882Z (19 days ago)
- Language: C++
- Size: 315 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parayu OHC - ESP32 Audio Streaming
**Status**: MVP (Minimum Viable Product)
Simple audio streaming system using ESP32 to capture I2S microphone data and transmit to external servers via TCP or WebSocket protocols.
## Project Structure
- **basic_esp_test/** - LED indicator test
- **basic_mic_test/** - I2S microphone validation
- **dual_core_mic/** - Dual-core audio processing (no networking)
- **dcm_server_stream/** - TCP audio streaming (production-ready) + Python receiver
- **youtube_mic_thing/** - WebSocket streaming (in development)
## Quick Start
### TCP Streaming (Recommended - Working)
1. Update WiFi credentials and server IP in `dcm_server_stream.ino`
2. Upload sketch to ESP32
3. Run Python receiver: `python server_listen/main.py`
4. Stream starts automatically on connection
### Audio Specs
- 16-bit PCM samples
- 16 kHz sample rate
- I2S microphone (INMP441 or equivalent)
## Architecture
Dual-core FreeRTOS design:
- **Core 0**: Real-time I2S audio capture
- **Core 1**: Data processing & network transmission
- Communication via FreeRTOS queues
## Known Limitations
- WebSocket version incomplete, now using TCP streaming, real basiccc
- Hardcoded WiFi credentials
- No auto-reconnection logic
- No sample rate metadata in protocol
## Next Steps
- Environment-based configuration (WiFi, server address)
- WebSocket implementation completion
- Graceful reconnection handling
- adding a OLED prbly