How the Check Works
The CheckAudioSilence
is designed to identify audio files in your project that stay below a certain loudness threshold. Audios like this might be hard to hear for the players and you can save these resources. This usually happens when sounds are too silent.
Why is this important
- Audio Quality Assurance: To ensure that audio assets in your project do not contain samples that are hard to hear when played.
- Save ressources: Audio files like this cannot be heard by players, but take up ressources to be played.
How to Use the Check
You can customize the clipping threshold by adjusting the Silence Threshold
attribute. This value represents the minimum loudness a file has to reach to pass this test. The default value for this is 0.01f
.
How to fix this error
If you see this in your test results, you should check the corresponding audio file in an audio editing software and edit it to make it louder. There’s little that can be done from within Unity.