I think the main question is how we use the function of the sound library to monitor the sound:
-
The library assumes we play the sound/song continuously and we draw something.
-
The OP wants to know whether it’s possible to read the entire song data at once without playing the song (so it’s faster). I think (this is my opinion) that’s the main question here and not all answers address this. I am not sure whether the library has such a command.
-
This would be done in setup() and then we have one array to work with in draw().
Chrisir