Why do you load titres.txt on each function? Declare the array globally and load it in setup().
Note that you should call size() at the start of setup(), even with a dummy size. Not sure if it changes anything, but it should put you on the safe side...
And, well, what size your MP3 files are?
Note that you should call size() at the start of setup(), even with a dummy size. Not sure if it changes anything, but it should put you on the safe side...
And, well, what size your MP3 files are?