fossasia / susi_linux

Hardware for SUSI AI https://susi.ai
Apache License 2.0
1.6k stars 148 forks source link

Fixes: ReSpeaker Volume Error #436

Closed sansyrox closed 5 years ago

sansyrox commented 5 years ago

Fixes #431

Checklist [x]-I have read the Contribution & Best practices Guide and my PR follows them. [x]-My branch is up-to-date with the Upstream master branch. [x]-The unit tests pass locally with my changes [x]-I have added tests that prove my fix is effective or that my feature works [x]-I have added necessary documentation (if appropriate) [x]-All the functions created/modified in this PR contain relevant docstrings.

Test Passing [x]- The SUSI Server must be building on the pi on bootup [x]- The hotword detection should have a decent accuracy []- SUSI Linux shouldn't crash when switching from online to offline and vice versa (failing as of now) []- SUSI Linux should be able to boot offline when no internet connection available (failing)

Short description of what this resolves: This PR fixes the issues with Volume modulation on ReSpeaker. As I do not have the speakers that connect to the PiHat port, I was able to test only the 3.5mm Jack's volume modulation on the PiHat.