I wonder if a PIO pin trigger output is possible or 3.5mm

Found this: Roon Extension: Power Amp Trigger project

Basically an extension that monitors playback and sends a command to a arduino-based kit that has a relay connected to it. I have plenty of RBP’s laying around, would just need to modify this to send a command to itself to trigger a GPIO pin instead I suppose.