Classempathy::brain::MusicalBrain
brain
Bases
Constructors
Member Functions

Classempathy::brain::MusicalBrain

Bases

Brain

Brain: the controller of lifevents.

Constructors

MusicalBrain ( )

Default Constructor

Member Functions

GLfloat
getFrequency ( )

Warning: not frequency of music but the beat per second frequency

return
void
setFrequency ( GLfloat frequency )

Warning: not frequency of music but the beat per second frequency

frequency
void
setMusic ( std::__cxx11::string )

Set the music. See the manual above for empathy::brain::MusicalBrain::MusicalBrain for more info.

  • protected
  • override
void
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