I don't know why this reminded me of a really scumbag troll thing we would do on AIM/AOL. I guess because it involves sound and open/close.
If you remember using AOL or AIM(AOL Instant Messenger) there were sound effects for various "events" like "Welcome" or "You've got mail" when you got a new email.
AOL and AIM had "buddy lists" and there were sound effects when they came online or offline. Like a knocking sound and door closing sound.
In the early 2000s when cable and DSL was becoming more widespread, it became cool for people to leave their AOL/AIM accounts connected all the time. This generally meant a computer running usually in their house, bedroom, or living room. People would leave "Away Messages" sort of like a status on a social media timeline. I think Jack Dorsey said turning AIM away messages into a timeline was one of his original inspirations for making a social media app. Anyway
So someone opens Visual Basic and starts writing some code.
It goes to the privacy preferences of their own account and checks "Don't allow anyone to see me online" and then clicks apply.
Now it checks "Allow everyone to see me online" and clicks apply.
What does this do for everyone on your buddy list?
They hear a constant rotation of WAV files like BuddyIn.wav BuddyOut.wav. Over and over.
you can hear in the first few seconds of this video https://www.youtube.com/watch?v=AQjfU4g6_SQ