uezo / aiavatarkit

🥰 Building AI-based conversational avatars lightning fast ⚡️💬
Apache License 2.0
162 stars 10 forks source link

Correct decibel calculation to handle silence in microphone input #49

Closed uezo closed 1 month ago

uezo commented 1 month ago

This commit revises the handling of silence in the decibel calculation from microphone inputs. We have corrected this by adjusting the decibel calculation logic to properly represent silence as a non-zero, minimal sound level, improving the accuracy of our audio measurements.