I know this isn't very specific, but I find sometimes when I use the MasterAudio PlaySound3DAtVector3 (or transform version), certain sounds are so quiet they are almost inaudible. For these cases I'm playing the sound at the camera position in the scene which has the audio listener. So the sound literally could not be played closer than that from what I understand. The source audio sounds fine and the waveform looks normal (doesn't look super weak or anything). I for the life of me can't figure out why some sounds / audio groups seem to play 5x quieter than other with seemingly similar settings and fine looking waveform. Is there any common gotcha / idea of what could be causing an issue here? It's gotten to the point where I have to actually play the same sound multiple times to get it to seem like its playing at a normal volume.
Post by DarkTonic Dev on Mar 25, 2022 19:48:06 GMT
To double-check, you can set the sounds or its bus as "Force to 2d" and see if it's louder. If it is, then at least one of the things you're assuming is wrong (stated above). If it's louder as 2D, you may wish to use a larger Max Range on the Audio Sources for that Sound Group. To do this, apply Audio Source Templates to the Sound Group in the Mixer section.
Thanks for the response. I tried this and it doesn't make a difference, but it does seem to be something about the audio asset unity doesn't like. If use the same group and just replaced the audio clip with a different sound its more audible. I know the obvious conclusion is to increase levels of the quiet audio clip, but I've already compressed it to just about the max and its earth shatteringly loud when played on its own, just becomes very quiet in game for some reason. Could be something about the mixer or bus maybe that doesn't like this audio clip and tries to reduce the volume? I would post pictures of the two wave forms but doesn't seem like I can upload images directly to this forum.
Post by DarkTonic Dev on Mar 26, 2022 23:25:34 GMT
I mean there's nothing that can be done aside from 2D being the loudest and compressing it honestly. That's pretty weird and I've never heard this complaint from anyone of the 10 years of authoring this plugin. Maybe you should ask on the Unity audio forum?
yea it's probably not anything on your plugin's end thanks for the ideas though. I think I will experiment with the problem sounds with more compression / normalization and if that doesn't work probably make a quiet sound mixer in unity and up the gain on it