@dan from a reply later in that thread:

β€œI have found the best sound is an infinite goto loop with it throwing an exception after it reads beyond the end of the buffer, I set exceptions off so it doesn't crash the program. β€œ

I can’t stop laughing πŸ˜€πŸ˜€πŸ˜€