Mercurial > hg > movesynth
diff of/testApp.h @ 49:0eeda0223db3
final docs used in big bang fair
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Wed, 16 Mar 2011 14:42:17 +0000 |
parents | f33398343f18 |
children |
line wrap: on
line diff
--- a/of/testApp.h Fri Mar 04 19:05:05 2011 +0000 +++ b/of/testApp.h Wed Mar 16 14:42:17 2011 +0000 @@ -7,13 +7,15 @@ #include "ofMain.h" #include "ofxOpenNI.h" #include "ofxOsc.h" -#define NUMBER_OF_USERS 6 +#define NUMBER_OF_USERS 3 #define STOPPORT 12343 #define STOPHOST "localhost" #define HERESY_PORT 12346 -#define HERESY_HOST "169.254.51.147"//JOE's address?? +#define HERESY_HOST "localhost"//JOE's address?? + +#define MOPHO_PORT 12342 //#define HOST "169.254.51.147"//Was Tim's ADDRESS - not used any more - use Joe's heresy_host below //#define PORT 12344 @@ -56,7 +58,8 @@ int ControlChangeData[NUMBER_OF_USERS][4];//userId, leftX, leftR, rightX, right Y void sendControlChangeDataToMax(int userID); - + void sendControlChangeDataToAbleton(int userID); + void checkTorsoMaxima(int id); int typeOfFaceToUse[NUMBER_OF_USERS]; double lastRecordedTime[NUMBER_OF_USERS];//x,y,and z of the head @@ -73,9 +76,12 @@ double minMaxValues[NUMBER_OF_USERS][2]; ofTrueTypeFont franklinBook; string outputString; - ofxOscSender sender, stopSender, heresySender; + ofxOscSender sender, stopSender, heresySender, mophoSender; string userInfoString[3]; + bool checkSameUserAs(int userID, int checkID); + bool checkingSameUser[NUMBER_OF_USERS]; + }; #endif