qwbarch / mirage

A mod that mimics player voices for Unity games
https://thunderstore.io/c/lethal-company/p/qwbarch/Mirage
Other
12 stars 2 forks source link

[Bug] Mirage is saving some fake player voice lines #65

Closed ajsglist closed 3 months ago

ajsglist commented 3 months ago

Hey there,

I thought Mirage had broken, but when I dug into it, it turned out it had been recording a few too many "empty" player voice lines for a few of us. I think it has to do with mirage picking up low levels of mic activity a bit too aggressively, but I can't say for sure.

When I looked in the mirage folder, I saw a ton of voice lines that were as expected. But I also found a bunch of essentially empty clips at the bottom when sorted by file size. At first glance, it seems like everything below 100kb is bad. Perhaps a lower limit on file size for "good" player voice lines?

image

qwbarch commented 3 months ago

This is a problem with voice activity in general, if you've ever used Skinwalkers, it contains even more empty voice clips, whereas in Mirage I set a minimum audio length to try to remove most of the empty clips.

In the upcoming v2 update, it's fixed by using SileroVAD.