Detect when audio is playing

I’ve been using BalenaSound for some days now, and very happy with it. Now I’d like to switch on (and off) my stereo when sound starts playing. Is there a set way to detect when a device is outputting audio?

In the meantime I think I found a workable solution using AudioBlocks and LIRC. I’ll post back when I have something working. This is the month of Advent of Code though, so it’ll probably be somewhere come januari.

1 Like

Thanks @nebula looking forward to read your solution!