-
Notifications
You must be signed in to change notification settings - Fork 1
/
resource.h
101 lines (79 loc) · 3.04 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
99
100
101
#define PLUG_MFR "Will"
#define PLUG_NAME "PancakeHouse"
#define PLUG_CLASS_NAME PancakeHouse
#define BUNDLE_MFR "Will"
#define BUNDLE_NAME "PancakeHouse"
#define PLUG_ENTRY PancakeHouse_Entry
#define PLUG_VIEW_ENTRY PancakeHouse_ViewEntry
#define PLUG_ENTRY_STR "PancakeHouse_Entry"
#define PLUG_VIEW_ENTRY_STR "PancakeHouse_ViewEntry"
#define VIEW_CLASS PancakeHouse_View
#define VIEW_CLASS_STR "PancakeHouse_View"
// Format 0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105
#define PLUG_VER 0x00010000
#define VST3_VER_STR "1.0.0"
// http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
// 4 chars, single quotes. At least one capital letter
#define PLUG_UNIQUE_ID 'Ipef'
// make sure this is not the same as BUNDLE_MFR
#define PLUG_MFR_ID 'Acme'
// 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 "Will\nWill\nAcme"
#define PLUG_NAME_PT "PancakeHouse\nIPEF"
#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"
#if (defined(AAX_API) || defined(RTAS_API))
#define PLUG_CHANNEL_IO "1-1 2-2"
#else
//no audo input. mono or seteo output
#define PLUG_CHANNEL_IO "0-1 0-2"
#endif
#define PLUG_LATENCY 0
#define PLUG_IS_INST 1
#define PLUG_DOES_MIDI 1
// if this is 0 RTAS can't get tempo info
#define PLUG_DOES_MIDI 1
#define PLUG_DOES_STATE_CHUNKS 0
// Unique IDs for each image resource.
#define BG_ID 101
#define WHITE_KEY_ID 102
#define BLACK_KEY_ID 103
#define WAVEFORM_ID 104
#define KNOB_ID 105
#define FILTERMODE_ID 106
// Image resource locations for this plug.
#define BG_FN "resources/img/bg.png"
#define WHITE_KEY_FN "resources/img/whitekey.png"
#define BLACK_KEY_FN "resources/img/blackkey.png"
#define WAVEFORM_FN "resources/img/waveform.png"
#define KNOB_FN "resources/img/knob.png"
#define FILTERMODE_FN "resources/img/filtermode.png"
// GUI default dimensions
#define GUI_WIDTH 571
#define GUI_HEIGHT 500
// on MSVC, you must define SA_API in the resource editor preprocessor macros as well as the c++ ones
#if defined(SA_API) && !defined(OS_IOS)
#include "app_wrapper/app_resource.h"
#endif
// vst3 stuff
#define MFR_URL "www.olilarkin.co.uk"
#define MFR_EMAIL "[email protected]"
#define EFFECT_TYPE_VST3 "Instrument|Synth"
/* "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"
*/