Might be a handy feature but certainly a lot easier to just get a cheap
usb powered speaker.
write a log entry when an AIS
alarm goes off? Shouldn't be too involved to write a little node-red flow to watch for changes in the log file then switch a gpio pin high if a change matches what an alarm entry looks like(if it does get written in the log file).