Choose wifi speakers


I’m new here, and I’m a beginner, so my question can be trivial. I’m asking for a little patience…

Some time ago, I tried to connect wifi speakers to my computer, but using Sonic Pi some speakers work and some do not. I don’t know exactly why. Is there anyone who can give me some advice on choosing a wifi speaker to buy?

Many thanks,