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

Picovoice Issue: Soundlevel always 0 on STM32F411E-DISCO #119

Closed
Jokymon opened this issue Aug 5, 2021 · 2 comments
Closed

Picovoice Issue: Soundlevel always 0 on STM32F411E-DISCO #119

Jokymon opened this issue Aug 5, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Jokymon
Copy link

Jokymon commented Aug 5, 2021

Make sure you have read the documentation, and have put forth a reasonable effort to find an existing answer.

Expected behaviour

After connecting my STM32F411E-DISCO using pvshepherd I would expect to be able to record some audio - even some ambient noise - and see samples != 0 in the recorded output.

Actual behaviour

Everytime I record audio, the amplitude always stays 0.
Output-After-Recording

This is also reflected in the fact, that no voice recognition is working at all.

Steps to reproduce the behaviour

I used an STM32F411 Discovery Kit out of the box, connected both USB cables and used a fairly recent pvshepherd-version 0.9.9 that I installed via pip.

@Jokymon Jokymon added the bug Something isn't working label Aug 5, 2021
@mrrostam
Copy link
Member

mrrostam commented Aug 6, 2021

Just to make sure that there is nothing wrong with the onboard mic, can you please try the BSP example inside STM32CUBEIDE and verify that the mic is working correctly for that project?

image

@Jokymon
Copy link
Author

Jokymon commented Aug 9, 2021

Thanks for your support. It turns out, the problem is indeed a defective microphone. I could try on a different board and got it working flawlessly.

@Jokymon Jokymon closed this as completed Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants