Hi all,
I created my first blueprint, and it works for me, it is based on the sensors you get when you have the MacOS companion running and uses the active microphone sensor, as well as checking you are home, and when the music is playing, you can find it here: mute-media-when-mic-is-active (github.com).
Hope this helps!