uezo / aiavatarkit

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

Correct decibel calculation to handle silence in microphone input #49

Closed uezo closed 5 months ago

uezo commented 5 months 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.