GestureSensorTests.cpp File Reference

#include "Test_Support.cpp"
#include "OSC_cpp.h"
#include "GestureSensors.h"

Defines

#define MATRIX_SOCKET   57123
#define MAX_BELLS   4

Functions

void init_OSC_addr_space ()
void main_OSC_loop (int port)
void * play_bells (void *which)
void * main_input_loop (void *port)
void map_ebeam (EBeam &ebeam)
void map_matrix (Matrix &mat)
void map_birds (Bird &bird)
int main (int argc, const char **argv)

Variables

IOgIO
Mixer gMix (2)
float gSBaseFreq [MAX_BELLS] = { 200.0f, 400.0f, 800.0f, 1600.0f }
float gBaseFreq [MAX_BELLS] = { 200.0f, 400.0f, 800.0f, 1600.0f }
float gFreqRange [MAX_BELLS] = { 100.0f, 200.0f, 400.0f, 800.0f }
float gDensity [MAX_BELLS] = { 3.0f, 3.0f, 3.0f, 3.0f }
float gPosX [MAX_BELLS] = { -1.0f, -0.33f, 0.33f, 1.0f }
float gPosY [MAX_BELLS] = { -1.0f, -0.33f, 0.33f, 1.0f }

Define Documentation

#define MATRIX_SOCKET   57123

Referenced by main().

#define MAX_BELLS   4


Function Documentation

void init_OSC_addr_space (  ) 

Referenced by main(), and setup_OSC_for_bells().

void main_OSC_loop ( int  port  ) 

Referenced by main(), main_input_loop(), and osc_loop().

void * play_bells ( void *  which  ) 

void * main_input_loop ( void *  port  ) 

References main_OSC_loop().

Referenced by main().

void map_ebeam ( EBeam &  ebeam  ) 

References gBaseFreq, gFreqRange, gSBaseFreq, and x.

Referenced by main().

void map_matrix ( Matrix &  mat  ) 

References gBaseFreq, gDensity, gFreqRange, and gPosX.

void map_birds ( Bird &  bird  ) 

int main ( int  argc,
const char **  argv 
)


Variable Documentation

IO* gIO

Mixer gMix(2)

Referenced by main(), and play_bells().

float gSBaseFreq[MAX_BELLS] = { 200.0f, 400.0f, 800.0f, 1600.0f }

Referenced by map_ebeam().

float gBaseFreq[MAX_BELLS] = { 200.0f, 400.0f, 800.0f, 1600.0f }

Referenced by map_ebeam(), map_matrix(), and play_bells().

float gFreqRange[MAX_BELLS] = { 100.0f, 200.0f, 400.0f, 800.0f }

Referenced by map_ebeam(), map_matrix(), and play_bells().

float gDensity[MAX_BELLS] = { 3.0f, 3.0f, 3.0f, 3.0f }

Referenced by map_matrix(), and play_bells().

float gPosX[MAX_BELLS] = { -1.0f, -0.33f, 0.33f, 1.0f }

Referenced by map_matrix(), and play_bells().

float gPosY[MAX_BELLS] = { -1.0f, -0.33f, 0.33f, 1.0f }


Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8