comparison src/melodyTriangle.h @ 12:317637282293

Compressed keyboard handling code, added calibration key 'c'.
author samer
date Mon, 30 Jan 2012 00:00:15 +0000
parents 3d9e0db254dc
children 9e31c0507e65
comparison
equal deleted inserted replaced
11:066104f9a2e2 12:317637282293
35 35
36 int x1,y1,x2,y2,x3,y3;//Triangle Coords 36 int x1,y1,x2,y2,x3,y3;//Triangle Coords
37 int triangleHeight; 37 int triangleHeight;
38 int voiceGrabbed; 38 int voiceGrabbed;
39 void sendStatus(Voice v); 39 void sendStatus(Voice v);
40 void sendCalibrate();
41 void sendPeriod(int id, int num, int den);
42 void sendShift(int id, int num, int den);
43 void sendOctave(int id, int oct);
40 bool isInTriangle(int x, int y); 44 bool isInTriangle(int x, int y);
41 45
42 46
43 private: 47 private:
44 ofxOscSender sender; 48 ofxOscSender sender;