-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPluginSettings.h
30 lines (24 loc) · 1.18 KB
/
PluginSettings.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
#pragma once
#include "Versioning.h" // this file is generated by CMAKE during build process
// ------------Audio -----------------
const float g_desired_blocksize_ms(2); // its in ms to be independent from the sampling rate
const bool g_forcePowerOf2(false); // should be true for FFT Processing
// -------------- GUI -----------------
// global GUI setting for YourPluginName
const int g_minGuiSize_x(400);
const int g_maxGuiSize_x(1200);
const int g_minGuiSize_y(200);
const float g_guiratio = float(g_minGuiSize_y)/g_minGuiSize_x;
// ---------- presethandler ----------
//const StringArray g_PresetCategories("Unknown", "Lead", "Brass", "Template", "Bass",
// "Key", "Organ" , "Pad", "Drums_Perc", "SpecialEffect","Sequence", "String" );
const juce::StringArray g_PresetCategories(""); // keep empty for "no categories"
const int g_minPresetHandlerHeight(30); // in pixels
#define MIN_COMBO_WITH_PRESET 120
#define MIN_ELEMENT_DIST_PRESET 10
#define MIN_BUTTON_WIDTH_PRESET 40
#define MIN_ELEMENT_HEIGHT_PRESET 20
// ------- Midi Keyboard display-------
const float g_midikeyboardratio(0.13f); // in percent of height()
const float g_wheelstokeyboardratio(0.1f);
// -------Your defines for GUI --------