respeaker_python_library
respeaker_python_library copied to clipboard
mic.record() is incomplete
Hi all,
first of all, thanks for your dedication.
I have tried to use mic.record() but I have realize record function is incomplete or at least I cannot see wave.writeframes(data). Can you confirm it?
Thanks a lot, XL
You are right. The record()
is not implemented. I will try to get it work
Just add some code to implement the function. It should work. See https://github.com/respeaker/respeaker_python_library/blob/master/respeaker/microphone.py#L340
@xiongyihui thanks for your reply. To start with some test I have implemented an offline recorder. If I fix record() function for real-time, I will try to commit it. However I have tried to run some example with respeakerd but I have some issue with PulseAudio, I will open a new issue for that.