random text from .txt file.
in
Programming Questions
•
3 years ago
Hello,
I'm working on a sketch that uses the midiBus library to convert a MIDI signal generated from an electronic drumset into a visual projection.
I want to read a lengthy .txt file and pull words at random to display on screen when a MIDI event is triggered.
What is the best way to load a .txt file, parse the words and then display them at random?
Thanks.
-J
1