Whenever I use my speakers for anything my speakers start a static noise over the top and also happens when I get a notification.
If the problem is exactly how I imagine it to be from my own experience, it is due to a defective speaker.
Unfortunately, there is not much you can do in terms of software/system.
Do you have an answer to the Question "Cubot P30 - My phone makes a static noise"? Answer here: