An open API service indexing awesome lists of open source software.

https://github.com/ohcnetwork/parayu_ohc


https://github.com/ohcnetwork/parayu_ohc

Last synced: about 10 hours ago
JSON representation

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