Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mic.record() is incomplete #47

Open
xaviliz opened this issue Dec 20, 2018 · 3 comments
Open

mic.record() is incomplete #47

xaviliz opened this issue Dec 20, 2018 · 3 comments

Comments

@xaviliz
Copy link

xaviliz commented Dec 20, 2018

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

@xiongyihui
Copy link
Contributor

You are right. The record() is not implemented. I will try to get it work

@xiongyihui
Copy link
Contributor

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

@xaviliz
Copy link
Author

xaviliz commented Dec 24, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants