Audio stream unsigned 8bits - rate 8000 Hz from an ESP32 to Max ?
Hi there,
For my next project, I'm looking for a way to stream audio from an ESP32 to a patch Max. I've found a way to get something, based on the work of Julian, here: https://www.hackster.io/julianso/esp32-voice-streamer-52bd7e
The code is working on the esp32 and I can receive everything on a Raspberry Pi using the following command:
nc -l 4444 | aplay -r 8000 -f U8
Getting the stream into Max/MSP is another story ; I'm receiving packages (pure binary datas) using "sadam.tcpServer", but... I can't decode them. I'm not familiar with streaming medias, but if I'm right, based on the documentation, the stream is encoded as "unsigned 8bits - rate 8000 Hz".
Is there a way to decode that ? How do I transform what I get to an audio file ?
Thank you in advance for your help !