-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathresource.h
98 lines (77 loc) · 3.19 KB
/
resource.h
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
#define PLUG_MFR "Damien Quartz"
#define PLUG_NAME "Evaluator"
#define PLUG_CLASS_NAME Evaluator
#define BUNDLE_DOMAIN "net"
#define BUNDLE_MFR "compartmental"
#define BUNDLE_NAME "Evaluator"
#define PLUG_ENTRY Evaluator_Entry
#define PLUG_VIEW_ENTRY Evaluator_ViewEntry
#define PLUG_ENTRY_STR "Evaluator_Entry"
#define PLUG_VIEW_ENTRY_STR "Evaluator_ViewEntry"
#define VIEW_CLASS Evaluator_View
#define VIEW_CLASS_STR "Evaluator_View"
// Format 0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105
#define PLUG_VER 0x00010100
#define VST3_VER_STR "1.1.0"
// http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
// 4 chars, single quotes. At least one capital letter
#define PLUG_UNIQUE_ID 'Eval'
// make sure this is not the same as BUNDLE_MFR
#define PLUG_MFR_ID 'Cmpt'
// ProTools stuff
#if (defined(AAX_API) || defined(RTAS_API)) && !defined(_PIDS_)
#define _PIDS_
const int PLUG_TYPE_IDS[2] = {'EFN1', 'EFN2'};
const int PLUG_TYPE_IDS_AS[2] = {'EFA1', 'EFA2'}; // AudioSuite
#endif
#define PLUG_MFR_PT "Damien Quartz\nDamien Quartz\nCompartmental"
#define PLUG_NAME_PT "Evaluator\nEVAL"
#define PLUG_TYPE_PT "Effect"
#define PLUG_DOES_AUDIOSUITE 1
/* PLUG_TYPE_PT can be "None", "EQ", "Dynamics", "PitchShift", "Reverb", "Delay", "Modulation",
"Harmonic" "NoiseReduction" "Dither" "SoundField" "Effect"
instrument determined by PLUG _IS _INST
*/
#define PLUG_CHANNEL_IO "1-1 2-2"
#define PLUG_LATENCY 0
#define PLUG_IS_INST 1
// if this is 0 RTAS can't get tempo info
#define PLUG_DOES_MIDI 1
#define PLUG_DOES_STATE_CHUNKS 1
// Unique IDs for each image resource.
#define BACKGROUND_ID 101
#define SLIDER_BACK_ID 102
#define SLIDER_KNOB_ID 103
#define NUMBERBOX_ARROW_UP_ID 104
#define NUMBERBOX_ARROW_DOWN_ID 105
#define NUMBERBOX_BACK_ID 106
#define RADIO_BUTTON_ID 107
#define BUTTON_BACK_ID 108
// Image resource locations for this plug.
#define BACKGROUND_FN "resources/img/background.png"
#define SLIDER_BACK_FN "resources/img/vslider_background.png"
#define SLIDER_KNOB_FN "resources/img/vslider_handle.png"
#define NUMBERBOX_ARROW_UP_FN "resources/img/numberbox_arrow_up.png"
#define NUMBERBOX_ARROW_DOWN_FN "resources/img/numberbox_arrow_down.png"
#define NUMBERBOX_BACK_FN "resources/img/numberbox_background.png"
#define RADIO_BUTTON_FN "resources/img/radio_button.png"
#define BUTTON_BACK_FN "resources/img/button_background.png"
// GUI default dimensions
#define GUI_WIDTH 640
#define GUI_HEIGHT 640
// on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones
#if defined(SA_API)
#include "app_wrapper/app_resource.h"
#endif
// vst3 stuff
#define MFR_URL "www.compartmental.net"
#define MFR_EMAIL "[email protected]"
#define EFFECT_TYPE_VST3 "Fx|Instrument"
/* "Fx|Analyzer"", "Fx|Delay", "Fx|Distortion", "Fx|Dynamics", "Fx|EQ", "Fx|Filter",
"Fx", "Fx|Instrument", "Fx|InstrumentExternal", "Fx|Spatial", "Fx|Generator",
"Fx|Mastering", "Fx|Modulation", "Fx|PitchShift", "Fx|Restoration", "Fx|Reverb",
"Fx|Surround", "Fx|Tools", "Instrument", "Instrument|Drum", "Instrument|Sampler",
"Instrument|Synth", "Instrument|Synth|Sampler", "Instrument|External", "Spatial",
"Spatial|Fx", "OnlyRT", "OnlyOfflineProcess", "Mono", "Stereo",
"Surround"
*/