What can I use to extract the audio from a user utterance?

Hey guys, basically I want to extract what the user is saying to Mycroft and save it as an audio file. What would be useful in that case? Are there any functions in the messagebus that can help me with this issue?

Did not try it myself but in mycroft.conf there is option “record_utterances” which - to my understanding of the source-code - should save the audio when set to true. The audio files can be found in /tmp and have filenames starting with mycroft_utterance


Thanks, I’ll check that out!