i'm quite new to processing, but have a university class where we have to use it for a project. i have collected lyrics from songs, divided these into six categories (emotions: energetic, happy, relaxed, melancholic, stressed + sleepy). the lyrics are in individual .txt files. using minim to import songs for background music.
i want to make an applet that lets you select an emotion, and get a new (randomly generated) song with random lines of lyrics from the array of songs with the chosen emotion.
i am in serious need of some help here; with several things:
1 // can i make a "front page" where you can click on happy, which then opens up a new "page" with the song?
2 // is there a quick way to load several strings at a time? have about 40 of them, as you can see below.
3 // how do i time the lyrics? they can (at least for now) be the same amount of time. using framerate now, which kind of works, but there's a long pause before it starts. don' know how to use mills(), but could that be something?
4 // is there a way that i can have a set of "presets" for each emotion -- like background color and image?
help with anything would be GREATLY appreciated -- thanks!
sorry about the mess, but this is what the script looks like now: