Crackle noise when volume is changed

I have a very simple volume control in my game right now, changing the volume with a slider. When I start changing the volume with the slider a very annoying crackle sound can be heard just as the volume changes.

I round up the float values of the slider, so I only change the volume when it is .1, .2, .3, .4, etc. and different from the current volume. I am directly changing the volume with MediaPlayer.Volume = volume.

It is happening on a PC Windows deployment and I am using Monogame 3.6.0.1625

Any idea of what could be causing this problem?

Let people know what platform this is occurring on and which version of MG you are using.

And Welcome to the Community @JorgeP

Happy Coding!

Hello, thanks for the reply. It is happening on a PC Windows deployment and I am using Monogame 3.6.0.1625

Desktop or UWP?

Desktop.

Still haven’t been able to resolve the problem. In case someone has some insight to why this is happening.

1 Like