-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoptions.pde
More file actions
42 lines (36 loc) · 1.14 KB
/
toptions.pde
File metadata and controls
42 lines (36 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class TOptions {
int width = 1280;
int height = 740;
int masterWidth = 1680;
boolean doubleMode = false;
float previewScale = 0.25;
int randomDelay = 0;
int frameSpeed = 10;
int brightness = 100;
int opacity = 1;
int imageSaturation = 255;
int bufferSize = 30;
int loopSize = 30;
int bufferOffset = 0;
int tintHue = 0;
int tintAmount = 0;
int kernelSize = 1;
int[] kernel = {40, 100, 160, 100, 40, 20, 10};
boolean verbose = true;
boolean randomness = false;
String[][] midiMap = { {"FPS", "7" },
{"Sat", "73" },
{"Lum", "71" },
{"Tin", "72" },
{"Hue", "74" },
{"Len", "5" },
{"Off", "84" },
{"Seq", "93" } };
Map<String, Integer> mm;
TOptions() {
mm = new HashMap<String, Integer>();
for (int i = 0; i < midiMap.length; i++) {
mm.put(midiMap[i][0], Integer.parseInt(midiMap[i][1]));
}
}
}