Dynamically enable raspberry pi audio usign pHAT BEAT


I’ve recently bought an amazing Pirate Radio, It comes with the raspberry pi zero w and also the pHAT BEAT.

I’ve booth of them working great, but I would also like to enable or disable the audio through the pHAT BEAT and use some usb or bluetooth headphones instead.

I’ve seen than there’s a plugin for alsa installed. Maybe I can change configuration in /etc/asound.conf


Kind regards,