Far better and more useful is a UPS of the online double conversion kind that supplies clean, constant voltage constant frequency power 24/7 and also uses a battery to do just the same whenever the main power goes down. It won't do anything audible for sound quality, but it will protect all connected load from voltage fluctuations from the mains side 24/7 as well as from on/off cycling of the kit in case of frequent power failures - and also assure continuous music play through these of course. And unless the power outages last for more than 15-20 minutes, the battery can be small enough to be contained in the same box as the UPS.
Not usually needed in first world countries.
More information here: https://www.qpsolutions.net/2015/06/line-interactive-vs-double-conversion-ups-which-ones-best/