ESPHome developer help wanted to create Audio ADC pipeline for streaming to Music Assistant.
FYI, alextrical has posted a thread on the Music Assistant community discussion forum asking for ESPHome developers help to create a pipeline for capturing/recording and streaming audio from an Audio ADC (Analogue-to-Digital Converter) with input from analog HiFi music equipment as sound sources:
In the hope to kickstart such a development effort he has now initially published an open-source prototype PCB design as minimum viable product to allow ESPHome developers to build a physical development board and use some basic off-the-shelf parts in order to enable work on proof-of-concept.
Required hardware for initial proof-of-concept development will be:
The ultimate goal is to enable ESPHome-based ESP32 devices to work as reverse network-attached music streamer with the capability of functioning stereo sound capture input device/appliance for analogue HiFi sources (such as example vinyl record-player, CD-player, cassette-player).
Example use-case and flow-chart:
- Turntable LP-Player → Preamplifier → ESP32 with I2S line level ADC → WiFi → Music Assistant → Speakers
Related community discussions:
- Add an analog AUX input port and ADC to enable it acting as an music network streamer source? · FutureProofHomes · Discussion #21 · GitHub
- Music provider solution(s) in Music Assistent to stream audio from analog AUX input sources? Any easy way to achieve a remote AUX input into Music Assistant from an external analog audio source like a vinyl record player (LP turntable) or cassette player? · music-assistant · Discussion #2343 · GitHub
PS: Sonos offers this type of “line-in adapter” feature on some of their closed-source proprietary commercial products for this use case, either built-in or via a line-in adapter for some of their Sonos smart speakers or their dedicated “Sonos Port” Network Audio Streamer product: