forked from thunderox/triceratops-old-version-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
triceratops.hpp
executable file
·155 lines (130 loc) · 3.69 KB
/
triceratops.hpp
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// its good practice to put the "global" things like this plugins URI in
// a header file. That way the GUI and DSP file can include it, and you
// know they'll always be up to date with eachother.
#ifndef TRICERATOPS
#define TRICERATOPS
#include "lv2/lv2plug.in/ns/lv2core/lv2.h"
#define triceratops_URI "http://nickbailey.co.nr/triceratops"
#define triceratops_UI_URI "http://nickbailey.co.nr/triceratops/gui"
#define LV2_MIDI__MidiEvent "http://lv2plug.in/ns/ext/midi#MidiEvent"
typedef enum
{
TRICERATOPS_OUT_LEFT = 0,
TRICERATOPS_OUT_RIGHT,
TRICERATOPS_CONTROL,
TRICERATOPS_MASTER_VOLUME,
TRICERATOPS_MASTER_TUNE,
TRICERATOPS_AMP_DRIVE,
TRICERATOPS_FILTER_MODE,
TRICERATOPS_CUTOFF,
TRICERATOPS_RESONANCE,
TRICERATOPS_FILTER_KEY_FOLLOW,
TRICERATOPS_LEGATO,
TRICERATOPS_SYNC,
TRICERATOPS_WARMTH,
TRICERATOPS_FM,
TRICERATOPS_PANIC,
TRICERATOPS_ACTIVE_ONE,
TRICERATOPS_VOLUME_ONE,
TRICERATOPS_PULSEWIDTH_ONE,
TRICERATOPS_WAVE_ONE,
TRICERATOPS_OCTAVE_ONE,
TRICERATOPS_DETUNE_ONE,
TRICERATOPS_DETUNE_CENTRE_ONE,
TRICERATOPS_INERTIA_ONE,
TRICERATOPS_ACTIVE_TWO,
TRICERATOPS_VOLUME_TWO,
TRICERATOPS_PULSEWIDTH_TWO,
TRICERATOPS_WAVE_TWO,
TRICERATOPS_OCTAVE_TWO,
TRICERATOPS_DETUNE_TWO,
TRICERATOPS_DETUNE_CENTRE_TWO,
TRICERATOPS_INERTIA_TWO,
TRICERATOPS_ACTIVE_THREE,
TRICERATOPS_VOLUME_THREE,
TRICERATOPS_PULSEWIDTH_THREE,
TRICERATOPS_WAVE_THREE,
TRICERATOPS_OCTAVE_THREE,
TRICERATOPS_DETUNE_THREE,
TRICERATOPS_DETUNE_CENTRE_THREE,
TRICERATOPS_INERTIA_THREE,
TRICERATOPS_ATTACK_ONE,
TRICERATOPS_DECAY_ONE,
TRICERATOPS_SUSTAIN_ONE,
TRICERATOPS_RELEASE_ONE,
TRICERATOPS_ADSR1_ROUTE_ONE,
TRICERATOPS_ADSR1_ROUTE_ONE_DEST,
TRICERATOPS_ADSR1_ROUTE_TWO,
TRICERATOPS_ADSR1_ROUTE_TWO_DEST,
TRICERATOPS_ATTACK_TWO,
TRICERATOPS_DECAY_TWO,
TRICERATOPS_SUSTAIN_TWO,
TRICERATOPS_RELEASE_TWO,
TRICERATOPS_ADSR2_ROUTE_ONE,
TRICERATOPS_ADSR2_ROUTE_ONE_DEST,
TRICERATOPS_ADSR2_ROUTE_TWO,
TRICERATOPS_ADSR2_ROUTE_TWO_DEST,
TRICERATOPS_ATTACK_THREE,
TRICERATOPS_DECAY_THREE,
TRICERATOPS_SUSTAIN_THREE,
TRICERATOPS_RELEASE_THREE,
TRICERATOPS_ADSR3_LFO1_AMOUNT,
TRICERATOPS_ADSR3_LFO2_AMOUNT,
TRICERATOPS_ADSR3_LFO3_AMOUNT,
TRICERATOPS_LFO1_RETRIG,
TRICERATOPS_LFO1_SPEED,
TRICERATOPS_LFO1_WAVE,
TRICERATOPS_LFO1_DCO1_PITCH,
TRICERATOPS_LFO1_DCO2_PITCH,
TRICERATOPS_LFO1_DCO3_PITCH,
TRICERATOPS_LFO1_FILTER,
TRICERATOPS_LFO1_ROUTE_ONE,
TRICERATOPS_LFO1_ROUTE_ONE_DEST,
TRICERATOPS_LFO1_ROUTE_TWO,
TRICERATOPS_LFO1_ROUTE_TWO_DEST,
TRICERATOPS_LFO2_RETRIG,
TRICERATOPS_LFO2_SPEED,
TRICERATOPS_LFO2_WAVE,
TRICERATOPS_LFO2_DCO1_PITCH,
TRICERATOPS_LFO2_DCO2_PITCH,
TRICERATOPS_LFO2_DCO3_PITCH,
TRICERATOPS_LFO2_FILTER,
TRICERATOPS_LFO2_ROUTE_ONE,
TRICERATOPS_LFO2_ROUTE_ONE_DEST,
TRICERATOPS_LFO2_ROUTE_TWO,
TRICERATOPS_LFO2_ROUTE_TWO_DEST,
TRICERATOPS_LFO3_RETRIG,
TRICERATOPS_LFO3_SPEED,
TRICERATOPS_LFO3_WAVE,
TRICERATOPS_LFO3_DCO1_PITCH,
TRICERATOPS_LFO3_DCO2_PITCH,
TRICERATOPS_LFO3_DCO3_PITCH,
TRICERATOPS_LFO3_FILTER,
TRICERATOPS_LFO3_ROUTE_ONE,
TRICERATOPS_LFO3_ROUTE_ONE_DEST,
TRICERATOPS_LFO3_ROUTE_TWO,
TRICERATOPS_LFO3_ROUTE_TWO_DEST,
TRICERATOPS_FX_ECHO_ACTIVE,
TRICERATOPS_FX_ECHO_SPEED,
TRICERATOPS_FX_ECHO_DECAY,
TRICERATOPS_FX_ECHO_EQ_LOW,
TRICERATOPS_FX_ECHO_EQ_MID,
TRICERATOPS_FX_ECHO_EQ_HIGH,
TRICERATOPS_UNISON_ACTIVATE,
TRICERATOPS_UNISON_ONE,
TRICERATOPS_UNISON_TWO,
TRICERATOPS_UNISON_THREE,
TRICERATOPS_MODIFIER_DIRT,
TRICERATOPS_FX_REVERB_ACTIVE,
TRICERATOPS_FX_REVERB_DECAY,
TRICERATOPS_FX_REVERB_MIX,
TRICERATOPS_MODIFIER_STEREO_MODE,
TRICERATOPS_DCO1_PAN,
TRICERATOPS_DCO2_PAN,
TRICERATOPS_DCO3_PAN,
TRICERATOPS_MODIFIER_RING,
TRICERATOPS_PRESET_CATEGORY,
TRICERATOPS_PITCH_BEND_RANGE,
TRICERATOPS_MIDI_CHANNEL
} PortIndex;
#endif