Thanks for this! Exactly the thing I'm struggling with now. Making decent visualisation for music based on ESP32-S3.