Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thanks for all the materials online and for all the efforts put in! I tried to make one myself and succeeded. My first ESP32 project! I had to make some small adjustments to the code though, and I wanted to share these. There are probably much neater solutions than these, but for now they work.
The first one is my code wouldn't compile, because of the error message: "add12bitsToBuf is not defined"
Luckily moving the code solves this issue.
Second, I noticed that one of my two SoundKits started to give strange min/max readings. These values became the same value as the average. The spectrum readings seemed to still be okay. After changing the code it didn't occur anymore.
Good luck with next steps of the project!