| Brain |
Brain: the controller of lifevents. |
| MusicalBrain | ( | ) | ||
Default Constructor
| getFrequency | ( | ) | ||
Warning: not frequency of music but the beat per second frequency
| return |
| setFrequency | ( | GLfloat | frequency | ) |
Warning: not frequency of music but the beat per second frequency
| frequency |
| setMusic | ( | std::__cxx11::string | ) |
Set the music. See the manual above for empathy::brain::MusicalBrain::MusicalBrain for more info.
| runLineNumber | ( | std::__cxx11::string | lineID, | |
| std::__cxx11::string | callerID | ) | ||
Any extension of Brain class must override this function. What it does is receive instructions. For example, when the program begins, lineID is "begin" and when you need to play a music, it will be something like "playBeethoven". Your choice.
| lineID | |
| callerID |