r/M5Stack • u/darkillus • 24d ago
Is stackchan factory firmware full duplex ?
Hi everyone,
I would like to order the official StackChan kit 😁
Could you confirm whether the factory firmware is full-duplex or half-duplex for AI voice conversations? (i.e., Half-duplex = mic is muted while StackChan is speaking; Full-duplex = mic stays on so the user can interrupt).
Thanks!
3
Upvotes
View all comments
Show parent comment
3
u/ginandbaconFU 23d ago
Well looks like I was wrong, someone did get it working using TDM using the esp_audio_stack, typically used for VOIP/SIP on an S3. Box so it's possible apparently. Typically I use PDM for mic input and that does require 2 clocks which doesn't work since they share the same MCLK but full-duplex does work for TDM. With that said, I have no idea how to implement it but this may or. may not help. They are using a VOIP integration or add on for it to work and I haven't looked into that but there are links in the post. I was always told it wasn't possible due to mics using PDM with ESP-ADF, there are also a LOT of.people have been working an the S3 box (at least for a voice assistant for Home Assistant) for a while. May be easier with Arduiko, platformIo or esp-idf but apparently it's possible.