We have or used to have lots of birds in the garden, don't get so many now for some reason, we do get cats. Sadly the electronic cat scarer things seem to also scare of birds so they are not a solution.
I think foxes are more aligned to the canine family so perhaps a similar device designed to deter dogs would work.
@zleap I don’t mind the foxes visiting - I’d like to see them though, rather than just smell them!
We don’t have a cat at moment. I don’t think not having a cat has made a difference to the number of birds visiting the garden, as ours weren’t bird hunters (too much effort!). But we do seem to have more neighbourhood cats coming through now. That’s not so good.