When I was younger, I was into autohotkey. My PC would go off because of a powercut and the ups failed in 4-8 minutes while beeping.
Found "tonedet" or something that listens to a specific tone and does something via ahk which in my case was proper shutdown.
That was a success.
Then I thought of a project that would give me status via soundbeep,500,400.
I never got around to doing that but it wouldn't have been half bad.
Three small beeps in a succession, repeat, internet is down or some combination of deep or low beeps to say something else.