@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 πππ