Start from the middle of the buffer in case encoding's start contains more metadata to make it more random
grab the value at index / 255 for a value between 0 and 1 and then change index by adding the value with the index and adding nth iteration % buffer size in case we create some loop
Demo video
Screencast from 06-22-2024 08:08:08 PM.webm
Method
Try it out
https://audiorand.vercel.app/
source code
https://github.com/seanyang0813/audiorand