This is my first post; although I have been going through the forum for a while now.
I am trying to capture the incoming voice via an MQTT channel to convert to it a stored WAV file.
Would any of you know how to do this?
Any direction would be great as I have been on this one on and off for a month now.
All the Best
I did something like that with the wakeword here, that might help you out. Basically I buffer the mqtt audio messages and then save the last 10 or so seconds once the wakeword was detected. Same principle if you want to capture other parts of the audio, you just need another trigger and duration to save, or even add in a mqtt trigger for when to start listening.
Note that this does not work with udp audio activated because then only audio traffic after the wakeword will go over the mqtt server.
I have a python script doing that, have to check if I can find it
Thank you for that. I will take a look.
Yes very very help thank you
All I needed to do is change the IP and edit the queue
Very much appreciated.