Mercurial > hg > screen-ui
comparison src/melodyTriangle.h @ 14:578c1acf1cc4
Octave and amplitude now initialised correctly on birth; added binary app.
author | samer |
---|---|
date | Mon, 30 Jan 2012 23:31:39 +0000 |
parents | 9e31c0507e65 |
children | 9d7e139cd0a3 |
comparison
equal
deleted
inserted
replaced
13:9e31c0507e65 | 14:578c1acf1cc4 |
---|---|
34 Voice *voices[10]; | 34 Voice *voices[10]; |
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 sendPosition(Voice v); |
40 void sendCalibrate(); | 40 void sendCalibrate(); |
41 void sendPeriod(int id, int num, int den); | 41 void sendPeriod(int id, int num, int den); |
42 void sendShift(int id, int num, int den); | 42 void sendShift(int id, int num, int den); |
43 void sendOctave(int id, int oct); | 43 void sendOctave(int id, int oct); |
44 void sendAmplitude(int id, float amp); | 44 void sendAmplitude(int id, float amp); |