This is a conundrum, especially in our band where certain members are pro, some are semi pro and others are technically amateurs.
My band had a rehearsal and then live-streamed a gig from the drummer's garden at the weekend. He consulted with neighbours and put flyers round locally. It was a stripped back, acoustic (but amplified) type affair. I was very conscious of the volume, but it seemed to go OK in terms of not annoying the residents (at least not too much, there are always those who will not like it, but it was mid-afternoon and only for a couple of hours, so nothing for environmental officers to get involved in).