I really wonder what is the purpose of using the function beatsin8()? Why this can used to detect peak / beat. I went to FastLED library and the description is confused me. Does all the value returned is all random generated?
It just outputs an 8 bit sinewave pattern and has nothing to do with detection.