2 * Example audio modules - parameters and LADSPA wrapper instantiation
4 * Copyright (C) 2001-2008 Krzysztof Foltman
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General
17 * Public License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #include <calf/giface.h>
23 #include <calf/metadata.h>
24 #include <calf/audio_fx.h>
25 #include <calf/modmatrix.h>
26 #include <calf/utils.h>
29 using namespace calf_plugins
;
32 const char *calf_plugins::calf_copyright_info
= "(C) 2001-2013 Krzysztof Foltman, Thor Harald Johanssen, Markus Schmidt and others; license: LGPL";
33 const char *crossover_filter_choices
[] = { "LR2", "LR4", "LR8" };
34 const char *mb_crossover_filter_choices
[] = { "LR4", "LR8" };
36 ////////////////////////////////////////////////////////////////////////////
37 // A few macros to make
38 const char *eq_analyzer_mode_names
[] = { "Input", "Output", "Difference" };
41 #define BYPASS_AND_LEVEL_PARAMS \
42 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" }, \
43 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_in", "Input Gain" }, \
44 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_out", "Output Gain" },
46 #define METERING_PARAMS \
47 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inL", "Meter-InL" }, \
48 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_inR", "Meter-InR" }, \
49 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outL", "Meter-OutL" }, \
50 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_outR", "Meter-OutR" }, \
51 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB-InL" }, \
52 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB-InR" }, \
53 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB-OutL" }, \
54 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB-OutR" },
57 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hp_active", "HP Active" }, \
58 { 30, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hp_freq", "HP Freq" }, \
59 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "hp_mode", "HP Mode" }, \
60 { 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "hp_q", "HP Q" }, \
61 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "lp_active", "LP Active" }, \
62 { 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "LP Freq" }, \
63 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "LP Mode" }, \
64 { 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "lp_q", "LP Q" }, \
66 #define SHELF_PARAMS \
67 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "ls_active", "LS Active" }, \
68 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level L" }, \
69 { 100, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq L" }, \
70 { 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ls_q", "LS Q" }, \
71 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hs_active", "HS Active" }, \
72 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level H" }, \
73 { 5000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq H" }, \
74 { 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "hs_q", "HS Q" },
76 #define EQ_BAND_PARAMS(band, frequency) \
77 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "p" #band "_active", "F" #band " Active" }, \
78 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p" #band "_level", "Level " #band }, \
79 { frequency, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p" #band "_freq", "Freq " #band }, \
80 { 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p" #band "_q", "Q " #band },
82 #define EQ_DISPLAY_PARAMS \
83 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "individuals", "Individual Filters" }, \
84 { 0.25, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_FADER | PF_UNIT_DB, NULL, "zoom", "Zoom" }, \
85 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "analyzer", "Analyzer Active" }, \
86 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, eq_analyzer_mode_names, "analyzer_mode", "Analyzer Mode" }, \
89 ////////////////////////////////////////////////////////////////////////////
91 CALF_PORT_NAMES(flanger
) = {"In L", "In R", "Out L", "Out R"};
93 CALF_PORT_PROPS(flanger
) = {
94 { 0.1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "min_delay", "Min delay" },
95 { 1.0, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "mod_depth", "Mod depth" },
96 { 0.2, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
97 { 0.90, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
98 { 90, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
99 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
100 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
101 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
105 CALF_PLUGIN_INFO(flanger
) = { 0x847d, "Flanger", "Calf Flanger", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
107 ////////////////////////////////////////////////////////////////////////////
109 CALF_PORT_NAMES(phaser
) = {"In L", "In R", "Out L", "Out R"};
111 CALF_PORT_PROPS(phaser
) = {
112 { 1000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "base_freq", "Center Freq" },
113 { 4000, 0, 10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "mod_depth", "Mod depth" },
114 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
115 { 0.25, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
116 { 6, 1, 12, 12, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "stages", "# Stages" },
117 { 180, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
118 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
119 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
120 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
123 CALF_PLUGIN_INFO(phaser
) = { 0x8484, "Phaser", "Calf Phaser", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
125 ////////////////////////////////////////////////////////////////////////////
127 CALF_PORT_NAMES(reverb
) = {"In L", "In R", "Out L", "Out R"};
129 const char *reverb_room_sizes
[] = { "Small", "Medium", "Large", "Tunnel-like", "Large/smooth", "Experimental" };
131 CALF_PORT_PROPS(reverb
) = {
132 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip", "0dB" },
133 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_wet", "Wet amount" },
134 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
135 { 1.5, 0.4, 15.0, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "decay_time", "Decay time" },
136 { 5000, 2000,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hf_damp", "High Frq Damp" },
137 { 2, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, reverb_room_sizes
, "room_size", "Room size", },
138 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "diffusion", "Diffusion" },
139 { 0.25, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Wet Amount" },
140 { 1.0, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
141 { 0, 0, 500, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "predelay", "Pre Delay" },
142 { 300, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_cut", "Bass Cut" },
143 { 5000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_cut", "Treble Cut" },
147 CALF_PLUGIN_INFO(reverb
) = { 0x847e, "Reverb", "Calf Reverb", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ReverbPlugin" };
149 ////////////////////////////////////////////////////////////////////////////
151 CALF_PORT_NAMES(filter
) = {"In L", "In R", "Out L", "Out R"};
153 const char *filter_choices
[] = {
163 "6dB/oct Bandreject",
164 "12dB/oct Bandreject",
165 "18dB/oct Bandreject",
168 CALF_PORT_PROPS(filter
) = {
169 { 2000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Frequency" },
170 { 0.707, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "res", "Resonance" },
171 { biquad_filter_module::mode_12db_lp
,
172 biquad_filter_module::mode_12db_lp
,
173 biquad_filter_module::mode_count
- 1,
174 1, PF_ENUM
| PF_CTL_COMBO
, filter_choices
, "mode", "Mode" },
175 { 20, 5, 100, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Inertia"},
178 CALF_PLUGIN_INFO(filter
) = { 0x847f, "Filter", "Calf Filter", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "FilterPlugin" };
180 ////////////////////////////////////////////////////////////////////////////
182 CALF_PORT_NAMES(filterclavier
) = {"In L", "In R", "Out L", "Out R"};
184 CALF_PORT_PROPS(filterclavier
) = {
185 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
186 { 0, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
187 { 32, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "maxres", "Max. Resonance" },
188 { biquad_filter_module::mode_6db_bp
,
189 biquad_filter_module::mode_12db_lp
,
190 biquad_filter_module::mode_count
- 1,
191 1, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, filter_choices
, "mode", "Mode" },
192 { 20, 1, 2000, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Portamento time"},
196 CALF_PLUGIN_INFO(filterclavier
) = { 0x849f, "Filterclavier", "Calf Filterclavier", "Calf Studio Gear / Krzysztof Foltman / Hans Baier", calf_plugins::calf_copyright_info
, "FilterPlugin" };
198 ////////////////////////////////////////////////////////////////////////////
200 CALF_PORT_NAMES(envelopefilter
) = {"In L", "In R", "Out L", "Out R"};
202 CALF_PORT_PROPS(envelopefilter
) = {
203 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
204 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input Gain" },
205 { 2, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output Gain" },
207 { 0.85, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
208 { 2, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "res", "Resonance" },
209 { biquad_filter_module::mode_12db_bp
,
210 biquad_filter_module::mode_12db_lp
,
211 biquad_filter_module::mode_count
- 1,
212 1, PF_ENUM
| PF_CTL_COMBO
, filter_choices
, "mode", "Mode" },
213 { 20.f
, 1.0f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
214 { 200.f
,10.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
215 { 3000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "upper", "Upper" },
216 { 80, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "lower", "Lower" },
217 { 1,0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "gain", "Activation" },
218 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sidechain_enable", "Sidechain" },
219 { 0., -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "response", "Response" },
223 CALF_PLUGIN_INFO(envelopefilter
) = { 0x8432, "EnvelopeFilter", "Calf Envelope Filter", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "FilterPlugin" };
225 ////////////////////////////////////////////////////////////////////////////
227 CALF_PORT_NAMES(vintage_delay
) = {"In L", "In R", "Out L", "Out R"};
229 const char *vintage_delay_mixmodes
[] = {
236 const char *vintage_delay_fbmodes
[] = {
242 CALF_PORT_PROPS(vintage_delay
) = {
243 { 120, 30, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
, NULL
, "bpm", "Tempo" },
244 { 120, 1, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
| PF_SYNC_BPM
, NULL
, "bpm_host", "Host BPM" },
245 { 4, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "subdiv", "Subdivide"},
246 { 3, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_l", "Time L"},
247 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_r", "Time R"},
248 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "feedback", "Feedback" },
249 { 0.25, 0, 4, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "amount", "Amount" },
250 { 1, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_mixmodes
, "mix_mode", "Mix mode" },
251 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_fbmodes
, "medium", "Medium" },
252 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
253 { 1.0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "width", "Stereo Width" },
254 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sync", "Sync BPM" },
258 CALF_PLUGIN_INFO(vintage_delay
) = { 0x8482, "VintageDelay", "Calf Vintage Delay", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DelayPlugin" };
260 ////////////////////////////////////////////////////////////////////////////
261 CALF_PORT_NAMES(comp_delay
) = { "In L", "In R", "Out L", "Out R" };
263 CALF_PORT_PROPS(comp_delay
) = {
264 { 0, 0, 10, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_mm", "Distance (mm)"},
265 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_cm", "Distance (cm)"},
266 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_m", "Distance (m)"},
267 { 0.000244140625, 0.000244140625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
268 { 1.0, 0.000244140625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "wet", "Wet Amount" },
269 { 20, -50, 50, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "temp", "Temperature °C"},
270 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
273 CALF_PLUGIN_INFO(comp_delay
) = { 0x8485, "CompensationDelay", "Calf Compensation Delay Line", "Calf Studio Gear / Vladimir Sadovnikov", calf_plugins::calf_copyright_info
, "DelayPlugin" };
275 ////////////////////////////////////////////////////////////////////////////
277 CALF_PORT_NAMES(reverse_delay
) = {"In L", "In R", "Out L", "Out R"};
279 CALF_PORT_PROPS(reverse_delay
) = {
280 { 120, 30, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
, NULL
, "bpm", "Tempo" },
281 { 120, 1, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
| PF_SYNC_BPM
, NULL
, "bpm_host", "Host BPM" },
282 { 4, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "subdiv", "Subdivide"},
283 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_l", "Time L"},
284 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_r", "Time R"},
285 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "feedback", "Feedback" },
286 { 0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Dry/Wet" },
287 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "width", "Stereo Width" },
288 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sync", "Sync BPM" },
289 { 0, 0, 1, 0, PF_INT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "sync_led_l", "Left" },
290 { 0, 0, 1, 0, PF_INT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "sync_led_r", "Right" },
291 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
292 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "window", "Window" },
296 CALF_PLUGIN_INFO(reverse_delay
) = { 0x8482, "ReverseDelay", "Calf Reverse Delay", "Calf Studio Gear / drgreenthumb", calf_plugins::calf_copyright_info
, "DelayPlugin" };
298 ////////////////////////////////////////////////////////////////////////////
300 CALF_PORT_NAMES(rotary_speaker
) = {"In L", "In R", "Out L", "Out R"};
302 const char *rotary_speaker_speed_names
[] = { "Off", "Chorale", "Tremolo", "HoldPedal", "ModWheel", "Manual" };
304 CALF_PORT_PROPS(rotary_speaker
) = {
305 { 5, 0, 5, 1.01, PF_ENUM
| PF_CTL_COMBO
, rotary_speaker_speed_names
, "vib_speed", "Speed Mode" },
306 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "spacing", "Tap Spacing" },
307 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "shift", "Tap Offset" },
308 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mod_depth", "FM Depth" },
309 { 36, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "treble_speed", "Treble Motor" },
310 { 30, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "bass_speed", "Bass Motor" },
311 { 0.7, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mic_distance", "Mic Distance" },
312 { 0.3, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "reflection", "Reflection" },
313 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "am_depth", "AM Depth" },
314 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "test", "Test" },
315 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_l", "Low rotor" },
316 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_h", "High rotor" },
320 CALF_PLUGIN_INFO(rotary_speaker
) = { 0x8483, "RotarySpeaker", "Calf Rotary Speaker", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SimulatorPlugin" };
322 ////////////////////////////////////////////////////////////////////////////
324 CALF_PORT_NAMES(multichorus
) = {"In L", "In R", "Out L", "Out R"};
326 CALF_PORT_PROPS(multichorus
) = {
327 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "min_delay", "Min delay" },
328 { 6, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "mod_depth", "Mod depth" },
329 { 0.5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "mod_rate", "Modulation rate" },
330 { 180, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
331 { 4, 1, 8, 8, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "voices", "Voices"},
332 { 64, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vphase", "Inter-voice phase" },
333 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
334 { 0.5, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
335 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Center Frq 1" },
336 { 5000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Center Frq 2" },
337 { 0.125, 0.125, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "q", "Q" },
338 { 0.75, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "overlap", "Overlap" },
341 CALF_PLUGIN_INFO(multichorus
) = { 0x8501, "MultiChorus", "Calf Multi Chorus", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
343 ////////////////////////////////////////////////////////////////////////////
345 CALF_PORT_NAMES(monocompressor
) = {"In", "Out"};
347 const char *monocompressor_detection_names
[] = { "RMS", "Peak" };
348 const char *monocompressor_stereo_link_names
[] = { "Average", "Maximum" };
350 CALF_PORT_PROPS(monocompressor
) = {
351 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
352 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
353 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
354 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
355 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
356 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
357 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
358 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
359 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
360 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
361 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
362 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
363 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_detection_names, "detection", "Detection" },
364 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_stereo_link_names, "stereo_link", "Stereo Link" },
365 { 0, 0.03125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "compression", "Reduction" },
366 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
370 CALF_PLUGIN_INFO(monocompressor
) = { 0x8577, "MonoCompressor", "Calf Mono Compressor", "Calf Studio Gear / Damien Zammit", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
372 ////////////////////////////////////////////////////////////////////////////
374 CALF_PORT_NAMES(compressor
) = {"In L", "In R", "Out L", "Out R"};
376 const char *compressor_detection_names
[] = { "RMS", "Peak" };
377 const char *compressor_stereo_link_names
[] = { "Average", "Maximum" };
379 CALF_PORT_PROPS(compressor
) = {
380 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
381 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
382 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
383 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
384 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
385 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
386 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
387 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
388 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
389 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
390 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
391 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
392 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_detection_names
, "detection", "Detection" },
393 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_stereo_link_names
, "stereo_link", "Stereo Link" },
394 { 0, 0.03125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "compression", "Reduction" },
395 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
399 CALF_PLUGIN_INFO(compressor
) = { 0x8502, "Compressor", "Calf Compressor", "Calf Studio Gear / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
401 ////////////////////////////////////////////////////////////////////////////
403 CALF_PORT_NAMES(sidechaincompressor
) = {"In L", "In R", "Out L", "Out R"};
405 const char *sidechaincompressor_detection_names
[] = { "RMS", "Peak" };
406 const char *sidechaincompressor_stereo_link_names
[] = { "Average", "Maximum" };
407 const char *sidechaincompressor_mode_names
[] = {"Wideband (F1:off / F2:off)",
408 "Deesser wide (F1:Bell / F2:HP)",
409 "Deesser split (F1:off / F2:HP)",
410 "Derumbler wide (F1:LP / F2:Bell)",
411 "Derumbler split (F1:LP / F2:off)",
412 "Weighted #1 (F1:Shelf / F2:Shelf)",
413 "Weighted #2 (F1:Shelf / F2:Bell)",
414 "Weighted #3 (F1:Bell / F2:Shelf)",
415 "Bandpass #1 (F1:BP / F2:off)",
416 "Bandpass #2 (F1:HP / F2:LP)"};
417 const char *sidechaincompressor_filter_choices
[] = { "12dB", "24dB", "36dB"};
420 CALF_PORT_PROPS(sidechaincompressor
) = {
421 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
422 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
423 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
424 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
425 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
426 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
427 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
428 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
429 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
430 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
431 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
432 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
433 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_detection_names
, "detection", "Detection" },
434 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_stereo_link_names
, "stereo_link", "Stereo Link" },
435 { 0, 0.03125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "compression", "Gain Reduction" },
436 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_mode_names
, "sc_mode", "S/C Mode" },
437 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
438 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
439 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
440 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
441 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
442 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
443 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
444 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_route", "S/C Route" },
445 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
446 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
450 CALF_PLUGIN_INFO(sidechaincompressor
) = { 0x8517, "SidechainCompressor", "Calf Sidechain Compressor", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
452 ////////////////////////////////////////////////////////////////////////////
453 #define MULTI_BAND_COMP_PARAMS(band1, band2) \
454 { 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold" #band1, "Threshold " #band2 }, \
455 { 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
456 { 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
457 { 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
458 { 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
459 { 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
460 { 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
461 { 1, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "compression" #band1, "Gain Reduction " #band2 }, \
462 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "output" #band1, "Output " #band2 }, \
463 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
464 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
466 CALF_PORT_NAMES(multibandcompressor
) = {"In L", "In R", "Out L", "Out R"};
468 const char *multibandcompressor_detection_names
[] = { "RMS", "Peak" };
470 CALF_PORT_PROPS(multibandcompressor
) = {
471 BYPASS_AND_LEVEL_PARAMS
473 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
474 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
475 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
476 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
477 MULTI_BAND_COMP_PARAMS(0,1)
478 MULTI_BAND_COMP_PARAMS(1,2)
479 MULTI_BAND_COMP_PARAMS(2,3)
480 MULTI_BAND_COMP_PARAMS(3,4)
481 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
, NULL
, "notebook", "Notebook" },
485 CALF_PLUGIN_INFO(multibandcompressor
) = { 0x8516, "MultibandCompressor", "Calf Multiband Compressor", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
487 ////////////////////////////////////////////////////////////////////////////
489 CALF_PORT_NAMES(deesser
) = {"In L", "In R", "Out L", "Out R"};
491 const char *deesser_detection_names
[] = { "RMS", "Peak" };
492 const char *deesser_mode_names
[] = { "Wide", "Split" };
495 CALF_PORT_PROPS(deesser
) = {
496 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
497 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "detected", "Detected" },
498 { 0, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "compression", "Gain Reduction" },
499 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "detected_led", "Active" },
500 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "Out" },
501 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_detection_names
, "detection", "Detection" },
502 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_mode_names
, "mode", "Mode" },
503 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
504 { 3, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
505 { 15, 1, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "laxity", "Laxity" },
506 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup" },
508 { 6000, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "Split" },
509 { 4500, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "Peak" },
510 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "Gain" },
511 { 4, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "Level" },
512 { 1, 0.1, 100,1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "f2_q", "Peak Q" },
513 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
517 CALF_PLUGIN_INFO(deesser
) = { 0x8515, "Deesser", "Calf Deesser", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
519 ////////////////////////////////////////////////////////////////////////////
521 CALF_PORT_NAMES(gate
) = {"In L", "In R", "Out L", "Out R"};
523 const char *gate_detection_names
[] = { "RMS", "Peak" };
524 const char *gate_stereo_link_names
[] = { "Average", "Maximum" };
526 CALF_PORT_PROPS(gate
) = {
527 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
528 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
529 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
530 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
531 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
532 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
533 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
534 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
535 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
536 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
537 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
538 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
539 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
540 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_detection_names
, "detection", "Detection" },
541 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_stereo_link_names
, "stereo_link", "Stereo Link" },
542 { 0, 0.03125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "gating", "Gating" },
546 CALF_PLUGIN_INFO(gate
) = { 0x8503, "Gate", "Calf Gate", "Calf Studio Gear / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
548 ////////////////////////////////////////////////////////////////////////////
550 CALF_PORT_NAMES(sidechaingate
) = {"In L", "In R", "Out L", "Out R"};
552 const char *sidechaingate_detection_names
[] = { "RMS", "Peak" };
553 const char *sidechaingate_stereo_link_names
[] = { "Average", "Maximum" };
554 const char *sidechaingate_mode_names
[] = {"Wideband (F1:off / F2:off)",
555 "High gate wide (F1:Bell / F2:HP)",
556 "High gate split (F1:off / F2:HP)",
557 "Low Gate wide (F1:LP / F2:Bell)",
558 "Low gate split (F1:LP / F2:off)",
559 "Weighted #1 (F1:Shelf / F2:Shelf)",
560 "Weighted #2 (F1:Shelf / F2:Bell)",
561 "Weighted #3 (F1:Bell / F2:Shelf)",
562 "Bandpass #1 (F1:BP / F2:off)",
563 "Bandpass #2 (F1:HP / F2:LP)"};
564 const char *sidechaingate_filter_choices
[] = { "12dB", "24dB", "36dB"};
567 CALF_PORT_PROPS(sidechaingate
) = {
568 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
569 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
570 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
571 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
572 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
573 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
574 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
575 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
576 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
577 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
578 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
579 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
580 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
581 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_detection_names
, "detection", "Detection" },
582 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_stereo_link_names
, "stereo_link", "Stereo Link" },
583 { 0, 0.03125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "gating", "Gating" },
584 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_mode_names
, "sc_mode", "S/C Mode" },
585 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
586 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
587 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
588 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
589 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
590 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
591 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
592 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_route", "S/C Route" },
593 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
597 CALF_PLUGIN_INFO(sidechaingate
) = { 0x8504, "SidechainGate", "Calf Sidechain Gate", "Calf Studio Gear / Markus Schmidt / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
599 ////////////////////////////////////////////////////////////////////////////
600 #define MULTI_BAND_GATE_PARAMS(band1, band2) \
601 { 0.06125, 0.000015849, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "range" #band1, "Reduction " #band2 }, \
602 { 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold" #band1, "Threshold " #band2 }, \
603 { 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
604 { 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
605 { 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
606 { 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
607 { 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
608 { 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
609 { 1, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "gating" #band1, "Gating " #band2 }, \
610 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "output" #band1, "Output " #band2 }, \
611 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
612 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
614 CALF_PORT_NAMES(multibandgate
) = {"In L", "In R", "Out L", "Out R"};
616 const char *multibandgate_detection_names
[] = { "RMS", "Peak" };
618 CALF_PORT_PROPS(multibandgate
) = {
619 BYPASS_AND_LEVEL_PARAMS
621 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
622 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
623 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
624 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
625 MULTI_BAND_GATE_PARAMS(0,1)
626 MULTI_BAND_GATE_PARAMS(1,2)
627 MULTI_BAND_GATE_PARAMS(2,3)
628 MULTI_BAND_GATE_PARAMS(3,4)
629 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "notebook", "Notebook" },
633 CALF_PLUGIN_INFO(multibandgate
) = { 0x8505, "MultibandGate", "Calf Multiband Gate", "Calf Studio Gear / Markus Schmidt / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
635 ////////////////////////////////////////////////////////////////////////////
637 CALF_PORT_NAMES(limiter
) = {"In L", "In R", "Out L", "Out R"};
639 CALF_PORT_PROPS(limiter
) = {
640 BYPASS_AND_LEVEL_PARAMS
642 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
643 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
644 { 50, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
646 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att", "Attenuation" },
648 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
650 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
652 { 0.5f
, 0.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "asc_coeff", "ASC Level" },
653 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
657 CALF_PLUGIN_INFO(limiter
) = { 0x8521, "Limiter", "Calf Limiter", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
659 ////////////////////////////////////////////////////////////////////////////
661 CALF_PORT_NAMES(multibandlimiter
) = {"In L", "In R", "Out L", "Out R"};
663 CALF_PORT_PROPS(multibandlimiter
) = {
664 BYPASS_AND_LEVEL_PARAMS
666 { 100, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
667 { 750, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
668 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
670 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
672 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
673 { 4, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
674 { 30, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
675 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "minrel", "Min Release" },
677 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att0", "Low" },
678 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att1", "LMid" },
679 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att2", "HMid" },
680 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att3", "Hi" },
682 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight0", "Weight 1" },
683 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight1", "Weight 2" },
684 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight2", "Weight 3" },
685 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight3", "Weight 4" },
687 { 0.5f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release0", "Release 1" },
688 { 0.2f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release1", "Release 2" },
689 { -0.2f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release2", "Release 3" },
690 { -0.5f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release3", "Release 4" },
692 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
693 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
694 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
695 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
697 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease0", "Effectively Release 1" },
698 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease1", "Effectively Release 2" },
699 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease2", "Effectively Release 3" },
700 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease3", "Effectively Release 4" },
702 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
704 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
706 { 0.5f
, 0.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "asc_coeff", "ASC Level" },
708 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
713 CALF_PLUGIN_INFO(multibandlimiter
) = { 0x8520, "MultibandLimiter", "Calf Multiband Limiter", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
715 ////////////////////////////////////////////////////////////////////////////
717 CALF_PORT_NAMES(sidechainlimiter
) = {"In L", "In R", "Side L", "Side R", "Out L", "Out R"};
719 CALF_PORT_PROPS(sidechainlimiter
) = {
720 BYPASS_AND_LEVEL_PARAMS
722 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_scL", "Meter S/C L" },
723 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_scR", "Meter S/C R" },
724 { 100, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
725 { 750, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
726 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
728 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
730 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
731 { 4, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
732 { 30, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
733 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "minrel", "Min Release" },
735 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att0", "Low" },
736 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att1", "LMid" },
737 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att2", "HMid" },
738 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att3", "Hi" },
739 { 1, 0.125, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "att_sc", "S/C" },
741 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight0", "Weight 1" },
742 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight1", "Weight 2" },
743 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight2", "Weight 3" },
744 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight3", "Weight 4" },
745 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "weight_sc", "Weight S/C" },
747 { 0.5f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release0", "Release 1" },
748 { 0.2f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release1", "Release 2" },
749 { -0.2f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release2", "Release 3" },
750 { -0.5f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release3", "Release 4" },
751 { -0.5f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release_sc", "Release S/C" },
753 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
754 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
755 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
756 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
757 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo_sc", "Solo S/C" },
759 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease0", "Effectively Release 1" },
760 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease1", "Effectively Release 2" },
761 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease2", "Effectively Release 3" },
762 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease3", "Effectively Release 4" },
763 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease_sc", "Effectively Release S/C" },
765 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
767 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
769 { 0.5f
, 0.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "asc_coeff", "ASC Level" },
771 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
772 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_sc", "Level S/C"},
776 CALF_PLUGIN_INFO(sidechainlimiter
) = { 0x8522, "SidechainLimiter", "Calf Sidechain Limiter", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
779 ////////////////////////////////////////////////////////////////////////////
781 CALF_PORT_NAMES(emphasis
) = {"In L", "In R", "Out L", "Out R"};
783 const char *emphasis_filter_modes
[] = { "Reproduction", "Production"};
784 const char *emphasis_filter_types
[] = { "Columbia", "EMI", "BSI(78rpm)", "RIAA", "Compact Disc (CD)", "50µs (FM)", "75µs (FM)", "50µs (FM-KF)", "75µs (FM-KF)", };
786 CALF_PORT_PROPS(emphasis
) = {
787 BYPASS_AND_LEVEL_PARAMS
789 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_modes
, "mode", "Filter Mode" },
790 { 4, 0, 8, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_types
, "type", "Filter Type" },
793 CALF_PLUGIN_INFO(emphasis
) = { 0x8599, "Emphasis", "Calf Emphasis", "Calf Studio Gear / Damien Zammit", calf_plugins::calf_copyright_info
, "FilterPlugin" };
795 ////////////////////////////////////////////////////////////////////////////
796 const char *active_mode_names
[] = { " ", "ON", "Left", "Right", "Mid", "Side" };
798 CALF_PORT_NAMES(equalizer5band
) = {"In L", "In R", "Out L", "Out R"};
800 CALF_PORT_PROPS(equalizer5band
) = {
801 BYPASS_AND_LEVEL_PARAMS
804 EQ_BAND_PARAMS(1, 250)
805 EQ_BAND_PARAMS(2, 1000)
806 EQ_BAND_PARAMS(3, 4000)
811 CALF_PLUGIN_INFO(equalizer5band
) = { 0x8511, "Equalizer5Band", "Calf Equalizer 5 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
813 //////////////////////////////////////////////////////////////////////////////
816 CALF_PORT_NAMES(equalizer8band
) = {"In L", "In R", "Out L", "Out R"};
817 const char *rolloff_mode_names
[] = {"12dB/oct", "24dB/oct", "36dB/oct"};
819 CALF_PORT_PROPS(equalizer8band
) = {
820 BYPASS_AND_LEVEL_PARAMS
824 EQ_BAND_PARAMS(1, 100)
825 EQ_BAND_PARAMS(2, 500)
826 EQ_BAND_PARAMS(3, 2000)
827 EQ_BAND_PARAMS(4, 5000)
832 CALF_PLUGIN_INFO(equalizer8band
) = { 0x8512, "Equalizer8Band", "Calf Equalizer 8 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
834 ////////////////////////////////////////////////////////////////////////////
836 CALF_PORT_NAMES(equalizer12band
) = {"In L", "In R", "Out L", "Out R"};
838 CALF_PORT_PROPS(equalizer12band
) = {
839 BYPASS_AND_LEVEL_PARAMS
843 EQ_BAND_PARAMS(1, 60)
844 EQ_BAND_PARAMS(2, 120)
845 EQ_BAND_PARAMS(3, 250)
846 EQ_BAND_PARAMS(4, 500)
847 EQ_BAND_PARAMS(5, 1000)
848 EQ_BAND_PARAMS(6, 2000)
849 EQ_BAND_PARAMS(7, 4000)
850 EQ_BAND_PARAMS(8, 8000)
855 CALF_PLUGIN_INFO(equalizer12band
) = { 0x8513, "Equalizer12Band", "Calf Equalizer 12 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
857 ////////////////////////////////////////////////////////////////////////////
859 #define GRAPHICEQ_BAND_PARAMS(band) \
860 { 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain" #band, "Gain " #band },\
861 { 33, 10, 25000, 0, PF_INT | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "freq" #band, "Freq " #band },\
862 { 0, -32, 32, 0, PF_FLOAT | PF_DIGIT_1 | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain_scale" #band, "Gain Scale " #band },
864 #define GRAPHICEQ_GAIN_PARAMS(band) \
865 { 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain" #band, "Gain " #band },\
866 { 0, -32, 32, 0, PF_FLOAT | PF_UNIT_DB | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain_scale" #band, "Gain Scale " #band },
868 const char *equalizer30band_filters_modes
[] = {"Butterworth", "Chebyshev 1", "Chebyshev 2"};
870 const char *equalizer30band_gainscale_modes1
[] = {"6 dB", "12 dB", "18 dB", "24 dB", "30 dB"};
872 CALF_PORT_NAMES(equalizer30band
) = {"In L", "In R", "Out L", "Out R"};
874 CALF_PORT_PROPS(equalizer30band
) = {
876 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_in", "In Level" },
877 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_vuL", "Level In L" },
878 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_vuR", "Level In R" },
879 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_clipL", "Level Clip In L" },
880 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_clipR", "Level Clip In R" },
882 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
883 { 0, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, equalizer30band_filters_modes
, "filters", "Filters Type" },
885 { 18, 6, 30, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "gainscale1", "Gain scale 1" },
886 { 18, 6, 30, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "gainscale2", "Gain scale 2" },
888 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_out", "Out Level" },
889 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_vuL", "Level Out L" },
890 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_vuR", "Level Out R" },
891 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_clipL", "Level Clip Out L" },
892 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_clipR", "Level Clip Out R" },
895 GRAPHICEQ_GAIN_PARAMS(10)
896 GRAPHICEQ_BAND_PARAMS(11)
897 GRAPHICEQ_BAND_PARAMS(12)
898 GRAPHICEQ_BAND_PARAMS(13)
899 GRAPHICEQ_BAND_PARAMS(14)
900 GRAPHICEQ_BAND_PARAMS(15)
901 GRAPHICEQ_BAND_PARAMS(16)
902 GRAPHICEQ_BAND_PARAMS(17)
903 GRAPHICEQ_BAND_PARAMS(18)
904 GRAPHICEQ_BAND_PARAMS(19)
905 GRAPHICEQ_BAND_PARAMS(110)
906 GRAPHICEQ_BAND_PARAMS(111)
907 GRAPHICEQ_BAND_PARAMS(112)
908 GRAPHICEQ_BAND_PARAMS(113)
909 GRAPHICEQ_BAND_PARAMS(114)
910 GRAPHICEQ_BAND_PARAMS(115)
911 GRAPHICEQ_BAND_PARAMS(116)
912 GRAPHICEQ_BAND_PARAMS(117)
913 GRAPHICEQ_BAND_PARAMS(118)
914 GRAPHICEQ_BAND_PARAMS(119)
915 GRAPHICEQ_BAND_PARAMS(120)
916 GRAPHICEQ_BAND_PARAMS(121)
917 GRAPHICEQ_BAND_PARAMS(122)
918 GRAPHICEQ_BAND_PARAMS(123)
919 GRAPHICEQ_BAND_PARAMS(124)
920 GRAPHICEQ_BAND_PARAMS(125)
921 GRAPHICEQ_BAND_PARAMS(126)
922 GRAPHICEQ_BAND_PARAMS(127)
923 GRAPHICEQ_BAND_PARAMS(128)
924 GRAPHICEQ_BAND_PARAMS(129)
925 GRAPHICEQ_BAND_PARAMS(130)
928 GRAPHICEQ_GAIN_PARAMS(20)
929 GRAPHICEQ_BAND_PARAMS(21)
930 GRAPHICEQ_BAND_PARAMS(22)
931 GRAPHICEQ_BAND_PARAMS(23)
932 GRAPHICEQ_BAND_PARAMS(24)
933 GRAPHICEQ_BAND_PARAMS(25)
934 GRAPHICEQ_BAND_PARAMS(26)
935 GRAPHICEQ_BAND_PARAMS(27)
936 GRAPHICEQ_BAND_PARAMS(28)
937 GRAPHICEQ_BAND_PARAMS(29)
938 GRAPHICEQ_BAND_PARAMS(210)
939 GRAPHICEQ_BAND_PARAMS(211)
940 GRAPHICEQ_BAND_PARAMS(212)
941 GRAPHICEQ_BAND_PARAMS(213)
942 GRAPHICEQ_BAND_PARAMS(214)
943 GRAPHICEQ_BAND_PARAMS(215)
944 GRAPHICEQ_BAND_PARAMS(216)
945 GRAPHICEQ_BAND_PARAMS(217)
946 GRAPHICEQ_BAND_PARAMS(218)
947 GRAPHICEQ_BAND_PARAMS(219)
948 GRAPHICEQ_BAND_PARAMS(220)
949 GRAPHICEQ_BAND_PARAMS(221)
950 GRAPHICEQ_BAND_PARAMS(222)
951 GRAPHICEQ_BAND_PARAMS(223)
952 GRAPHICEQ_BAND_PARAMS(224)
953 GRAPHICEQ_BAND_PARAMS(225)
954 GRAPHICEQ_BAND_PARAMS(226)
955 GRAPHICEQ_BAND_PARAMS(227)
956 GRAPHICEQ_BAND_PARAMS(228)
957 GRAPHICEQ_BAND_PARAMS(229)
958 GRAPHICEQ_BAND_PARAMS(230)
963 CALF_PLUGIN_INFO(equalizer30band
) = { 0x8514, "Equalizer30Band", "Calf Equalizer 30 Band", "Calf Studio Gear / drgreenthumb", calf_plugins::calf_copyright_info
, "EQPlugin" };
965 ////////////////////////////////////////////////////////////////////////////
967 #define XOVER_BAND_PARAMS(band) \
968 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "level" #band, "Gain " #band }, \
969 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "active" #band, "Active " #band }, \
970 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "phase" #band, "Phase " #band }, \
971 { 0.0, 0.0, 20.0, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "delay" #band, "Delay " #band }, \
972 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_L" #band, "Level L " #band }, \
973 { 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "meter_R" #band, "Level R " #band },
975 ////////////////////////////////////////////////////////////////////////////
977 CALF_PORT_NAMES(xover2
) = {"In L", "In R", "Out 1 L", "Out 1 R", "Out 2 L", "Out 2 R"};
979 CALF_PORT_PROPS(xover2
) = {
980 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
981 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_L", "Input L" },
982 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_R", "Input R" },
983 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
984 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
989 CALF_PLUGIN_INFO(xover2
) = { 0x8515, "XOver2Band", "Calf X-Over 2 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
991 ////////////////////////////////////////////////////////////////////////////
993 CALF_PORT_NAMES(xover3
) = {"In L", "In R", "Out 1 L", "Out 1 R", "Out 2 L", "Out 2 R", "Out 3 L", "Out 3 R"};
995 CALF_PORT_PROPS(xover3
) = {
996 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
997 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_L", "Input L" },
998 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_R", "Input R" },
999 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
1000 { 150, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
1001 { 3000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
1002 XOVER_BAND_PARAMS(1)
1003 XOVER_BAND_PARAMS(2)
1004 XOVER_BAND_PARAMS(3)
1007 CALF_PLUGIN_INFO(xover3
) = { 0x8515, "XOver3Band", "Calf X-Over 3 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1009 ////////////////////////////////////////////////////////////////////////////
1011 CALF_PORT_NAMES(xover4
) = {"In L", "In R", "Out 1 L", "Out 1 R", "Out 2 L", "Out 2 R", "Out 3 L", "Out 3 R", "Out 4 L", "Out 4 R"};
1013 CALF_PORT_PROPS(xover4
) = {
1014 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
1015 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_L", "Input L" },
1016 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_R", "Input R" },
1017 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
1018 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
1019 { 500, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
1020 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq2", "Transition 3" },
1021 XOVER_BAND_PARAMS(1)
1022 XOVER_BAND_PARAMS(2)
1023 XOVER_BAND_PARAMS(3)
1024 XOVER_BAND_PARAMS(4)
1027 CALF_PLUGIN_INFO(xover4
) = { 0x8515, "XOver4Band", "Calf X-Over 4 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1029 ////////////////////////////////////////////////////////////////////////////
1031 #define VOCODER_BAND_PARAMS(band) \
1032 { 1, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "volume" #band, "Vol " #band }, \
1033 { 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "pan" #band, "Pan " #band }, \
1034 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "noise" #band, "Noise " #band }, \
1035 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "mod" #band, "Dry " #band }, \
1036 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band, "Solo " #band }, \
1037 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "level" #band, "Level " #band },
1039 const char *vocoder_analyzer_modes
[] = {"Off", "Carrier", "Modulator", "Processed", "Output"};
1041 CALF_PORT_NAMES(vocoder
) = {"In L", "In R", "Out L", "Out R"};
1043 CALF_PORT_PROPS(vocoder
) = {
1044 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1045 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "link", "Link" },
1046 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "detectors", "Detectors" },
1048 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "carrier_in", "Carrier In" },
1049 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_inL", "Carrier In L" },
1050 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_inR", "Carrier In R" },
1051 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_clip_inL", "Carrier Clip In L" },
1052 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_clip_inR", "Carrier Clip In R" },
1054 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "mod_in", "Modulator In" },
1055 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_inL", "Modulator In L" },
1056 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_inR", "Modulator In R" },
1057 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_clip_inL", "Modulator Clip In L" },
1058 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_clip_inR", "Modulator Clip In R" },
1060 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "out", "Out" },
1061 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "outL", "Out L" },
1062 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "outR", "Out R" },
1063 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "Clip Out L" },
1064 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "Clip Out R" },
1066 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "carrier", "Carrier" },
1067 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "modulator", "Modulator" },
1068 { 1, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "processed", "Processed" },
1070 { 4, 2, 9, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "order", "Isolation" },
1071 { 2, 0, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "bands", "Bands" },
1072 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "hiq", "High-Q" },
1074 { 5.f
, 0.1f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
1075 { 50.f
, 0.1f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
1077 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, vocoder_analyzer_modes
, "analyzer", "Analyzer" },
1079 VOCODER_BAND_PARAMS(1)
1080 VOCODER_BAND_PARAMS(2)
1081 VOCODER_BAND_PARAMS(3)
1082 VOCODER_BAND_PARAMS(4)
1083 VOCODER_BAND_PARAMS(5)
1084 VOCODER_BAND_PARAMS(6)
1085 VOCODER_BAND_PARAMS(7)
1086 VOCODER_BAND_PARAMS(8)
1087 VOCODER_BAND_PARAMS(9)
1088 VOCODER_BAND_PARAMS(10)
1089 VOCODER_BAND_PARAMS(11)
1090 VOCODER_BAND_PARAMS(12)
1091 VOCODER_BAND_PARAMS(13)
1092 VOCODER_BAND_PARAMS(14)
1093 VOCODER_BAND_PARAMS(15)
1094 VOCODER_BAND_PARAMS(16)
1095 VOCODER_BAND_PARAMS(17)
1096 VOCODER_BAND_PARAMS(18)
1097 VOCODER_BAND_PARAMS(19)
1098 VOCODER_BAND_PARAMS(20)
1099 VOCODER_BAND_PARAMS(21)
1100 VOCODER_BAND_PARAMS(22)
1101 VOCODER_BAND_PARAMS(23)
1102 VOCODER_BAND_PARAMS(24)
1103 VOCODER_BAND_PARAMS(25)
1104 VOCODER_BAND_PARAMS(26)
1105 VOCODER_BAND_PARAMS(27)
1106 VOCODER_BAND_PARAMS(28)
1107 VOCODER_BAND_PARAMS(29)
1108 VOCODER_BAND_PARAMS(30)
1109 VOCODER_BAND_PARAMS(31)
1110 VOCODER_BAND_PARAMS(32)
1115 CALF_PLUGIN_INFO(vocoder
) = { 0x8514, "Vocoder", "Calf Vocoder", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "FilterPlugin" };
1118 ////////////////////////////////////////////////////////////////////////////
1120 CALF_PORT_NAMES(pulsator
) = {"In L", "In R", "Out L", "Out R"};
1122 const char *pulsator_mode_names
[] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" };
1124 CALF_PORT_PROPS(pulsator
) = {
1125 BYPASS_AND_LEVEL_PARAMS
1127 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, pulsator_mode_names
, "mode", "Mode" },
1128 { 1, 0.01, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Frequency" },
1129 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "amount", "Modulation" },
1130 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "offset", "Offset L/R" },
1131 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mono", "Mono-in" },
1132 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
1136 CALF_PLUGIN_INFO(pulsator
) = { 0x8514, "Pulsator", "Calf Pulsator", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
1138 ////////////////////////////////////////////////////////////////////////////
1140 CALF_PORT_NAMES(ringmodulator
) = {"In L", "In R", "Out L", "Out R"};
1142 const char *ringmod_mode_names
[] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" };
1144 CALF_PORT_PROPS(ringmodulator
) = {
1145 BYPASS_AND_LEVEL_PARAMS
1147 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "mod_mode", "Modulator" },
1148 { 1000, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_freq", "Mod Freq" },
1149 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "mod_amount", "Mod Amount" },
1150 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "mod_phase", "Mod Phase" },
1151 { 0, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "mod_detune", "Mod Detune" },
1152 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mod_listen", "Listen" },
1154 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "lfo1_mode", "LFO 1" },
1155 { 0.1, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_freq", "LFO 1 Freq" },
1156 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "lfo1_reset", "Reset 1" },
1157 { 100, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_mod_freq_lo", "Mod Freq LO" },
1158 { 10000, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_mod_freq_hi", "Mod Freq HI" },
1159 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo1_mod_freq_active", "Mod Freq Active" },
1160 { -100, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo1_mod_detune_lo", "Mod Detune LO" },
1161 { 100, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo1_mod_detune_hi", "Mod Detune HI" },
1162 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo1_mod_detune_active", "Mod Detune Active" },
1163 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "lfo1_activity", "Activity 1" },
1165 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "lfo2_mode", "LFO 2" },
1166 { 0.2, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_freq", "LFO 2 Freq" },
1167 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "lfo2_reset", "Reset 2" },
1168 { 0.05, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_lfo1_freq_lo", "LFO Freq LO" },
1169 { 0.5, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_lfo1_freq_hi", "LFO Freq HI" },
1170 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo2_lfo1_freq_active", "LFO 1 Freq Active" },
1171 { 0.3, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "lfo2_mod_amount_lo", "Mod Amount LO" },
1172 { 0.6, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "lfo2_mod_amount_hi", "Mod Amount HI" },
1173 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo2_mod_amount_active", "Mod Amount Active" },
1174 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "lfo2_activity", "Activity 2" },
1179 CALF_PLUGIN_INFO(ringmodulator
) = { 0x8514, "RingModulator", "Calf Ring Modulator", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
1182 ////////////////////////////////////////////////////////////////////////////
1184 CALF_PORT_NAMES(saturator
) = {"In L", "In R", "Out L", "Out R"};
1186 CALF_PORT_PROPS(saturator
) = {
1187 BYPASS_AND_LEVEL_PARAMS
1189 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
1191 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Saturation" },
1192 { 10, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend" },
1194 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_pre_freq", "Lowpass" },
1195 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_pre_freq", "Highpass" },
1197 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_post_freq", "Lowpass" },
1198 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_post_freq", "Highpass" },
1200 { 2000, 80, 8000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "p_freq", "Tone" },
1201 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "p_level", "Amount" },
1202 { 1, 0.1, 10, 1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "p_q", "Gradient" },
1206 CALF_PLUGIN_INFO(saturator
) = { 0x8530, "Saturator", "Calf Saturator", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1208 ////////////////////////////////////////////////////////////////////////////
1210 CALF_PORT_NAMES(exciter
) = {"In L", "In R", "Out L", "Out R"};
1212 CALF_PORT_PROPS(exciter
) = {
1213 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1214 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1215 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1216 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
1217 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
1218 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
1219 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
1220 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
1222 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
1223 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
1224 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_drive", "Harmonics level" },
1226 { 7500, 2000, 12000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
1227 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1228 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "ceil_active", "Ceiling active" },
1229 { 16000, 10000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "ceil", "Ceiling" },
1233 CALF_PLUGIN_INFO(exciter
) = { 0x8531, "Exciter", "Calf Exciter", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SpectralPlugin" };
1235 ////////////////////////////////////////////////////////////////////////////
1237 CALF_PORT_NAMES(bassenhancer
) = {"In L", "In R", "Out L", "Out R"};
1239 CALF_PORT_PROPS(bassenhancer
) = {
1240 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1241 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1242 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1243 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
1244 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
1245 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_out", "Output" },
1246 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
1247 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
1249 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
1250 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
1251 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_drive", "Harmonics level" },
1253 { 100, 10, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
1254 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1255 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "floor_active", "Floor active" },
1256 { 20, 10, 120, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "floor", "Floor" },
1260 CALF_PLUGIN_INFO(bassenhancer
) = { 0x8532, "BassEnhancer", "Calf Bass Enhancer", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SpectralPlugin" };
1262 ////////////////////////////////////////////////////////////////////////////
1264 CALF_PORT_NAMES(stereo
) = {"In L", "In R", "Out L", "Out R"};
1265 const char *stereo_mode_names
[] = { "LR > LR (Stereo Default)", "LR > MS (Stereo to Mid-Side)", "MS > LR (Mid-Side to Stereo)", "LR > LL (Mono Left Channel)", "LR > RR (Mono Right Channel)", "LR > L+R (Mono Sum L+R)", "LR > RL (Stereo Flip Channels)" };
1266 CALF_PORT_PROPS(stereo
) = {
1267 BYPASS_AND_LEVEL_PARAMS
1270 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "balance_in", "Balance In" },
1271 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "balance_out", "Balance Out" },
1273 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1274 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1275 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1276 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1277 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1279 { 0, 0, 6, 0, PF_ENUM
| PF_CTL_COMBO
, stereo_mode_names
, "mode", "Mode" },
1281 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "slev", "S Level" },
1282 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_DIGIT_2
, NULL
, "sbal", "S Bal" },
1283 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "mlev", "M Level" },
1284 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_DIGIT_2
, NULL
, "mpan", "M Pan" },
1286 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
| PF_DIGIT_2
, NULL
, "stereo_base", "Stereo Base" },
1287 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "delay", "Delay" },
1289 { 0.f
, 0.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_COEF
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_phase", "Phase Correlation" },
1291 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1292 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1296 CALF_PLUGIN_INFO(stereo
) = { 0x8588, "StereoTools", "Calf Stereo Tools", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "SpatialPlugin" };
1298 ////////////////////////////////////////////////////////////////////////////
1300 CALF_PORT_NAMES(haas_enhancer
) = {"In L", "In R", "Out L", "Out R"};
1302 const char *haas_enhancer_source
[] = {
1310 CALF_PORT_PROPS(haas_enhancer
) = {
1311 BYPASS_AND_LEVEL_PARAMS
1312 { 1.0, 0.015625, 64.0, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "s_gain", "Side Gain" },
1314 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_sideL", "Side L" },
1315 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_sideR", "Side R" },
1317 { 2, 0, 4, 1, PF_ENUM
| PF_CTL_COMBO
, haas_enhancer_source
, "m_source", "Middle source" },
1318 { 0.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "m_phase", "Middle phase" },
1320 { 2.05, 0.0, 10.0, 0.01, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "s_delay1", "Left Delay" },
1321 { 0.0, -1.0, 1.0, 0.01, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "s_balance1", "Left Balance" },
1322 { 1.0, 0.015625, 64.0, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "s_gain1", "Left Gain" },
1323 { 0.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "s_phase1", "Left Phase" },
1325 { 2.12, 0.0, 10.0, 0.01, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "s_delay2", "Right Delay" },
1326 { 0.0, -1.0, 1.0, 0.01, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "s_balance2", "Right Balance" },
1327 { 1.0, 0.015625, 64.0, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "s_gain2", "Right Gain" },
1328 { 1.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "s_phase2", "Right Phase" },
1332 CALF_PLUGIN_INFO(haas_enhancer
) = { 0x8486, "HaasEnhancer", "Calf Haas Stereo Enhancer", "Calf Studio Gear / Vladimir Sadovnikov", calf_plugins::calf_copyright_info
, "SpatialPlugin" };
1334 ////////////////////////////////////////////////////////////////////////////
1336 CALF_PORT_NAMES(mono
) = {"In", "Out L", "Out R"};
1337 CALF_PORT_PROPS(mono
) = {
1338 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1339 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1340 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1341 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
1342 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_outL", "Output L" },
1343 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_outR", "Output R" },
1344 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
1345 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
1346 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
1348 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "balance_out", "Balance" },
1350 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1351 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1352 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1353 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1354 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1356 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "delay", "Delay" },
1357 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "stereo_base", "Stereo Base" },
1358 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1359 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1363 CALF_PLUGIN_INFO(mono
) = { 0x8589, "MonoInput", "Calf Mono Input", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1366 ////////////////////////////////////////////////////////////////////////////
1368 CALF_PORT_NAMES(analyzer
) = {"In L", "In R", "Out L", "Out R"};
1369 const char *gonio_mode_names
[] = { "Small Dots", "Medium Dots", "Big Dots", "Fields", "Lines (High CPU)" };
1370 const char *analyzer_mode_names
[] = { "Analyzer Average", "Analyzer Left", "Analyzer Right", "Analyzer Stereo", "Stereo Image", "Stereo Difference", "Spectralizer Average", "Spectralizer Left", "Spectralizer Right", "Spectralizer Colored Stereo", "Spectralizer Parallel Stereo" };
1371 const char *analyzer_smooth_names
[] = { "Off", "Falling", "Transition" };
1372 const char *analyzer_post_names
[] = { "Normalized", "Average", "Additive", "Denoised Peaks" };
1373 const char *analyzer_view_names
[] = { "Bars", "Lines", "Cubic Splines" };
1374 const char *analyzer_scale_names
[] = { "Logarithmic", "Linear" };
1375 const char *analyzer_windowing_names
[] = { "Rectangular", "Hamming", "von Hann", "Blackman", "Blackman-Harris", "Blackman-Nuttall", "Sine", "Lanczos", "Gauß", "Bartlett", "Triangular", "Bartlett-Hann" };
1376 CALF_PORT_PROPS(analyzer
) = {
1377 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_L", "Level L" },
1378 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_R", "Level R" },
1379 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_L", "Clip L" },
1380 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_R", "Clip R" },
1382 { 1.25, 0.5, 2, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "analyzer_level", "Analyzer Level" },
1383 { 0, 0, 10, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_mode_names
, "analyzer_mode", "Analyzer Mode" },
1384 { 0, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_scale_names
, "analyzer_scale", "Analyzer Scale" },
1385 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_post_names
, "analyzer_post", "Analyzer Post FFT" },
1386 { 1, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_view_names
, "analyzer_view", "Analyzer View" },
1387 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_smooth_names
, "analyzer_smoothing", "Analyzer Smoothing" },
1388 { 2, 0, 11, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_windowing_names
, "analyzer_windowing", "Analyzer Windowing" },
1389 { 7, 2, 8, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_accuracy", "Analyzer Accuracy" },
1390 { 15, 1, 15, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_speed", "Analyzer Speed" },
1391 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_display", "Analyzer Display" },
1392 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_hold", "Analyzer Hold" },
1393 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_freeze", "Analyzer Freeze" },
1395 { 1, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, gonio_mode_names
, "gonio_mode", "Gonio Mode" },
1396 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_use_fade", "Gonio Fade Active" },
1397 { 0.5f
, 0.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "gonio_fade", "Gonio Fade" },
1398 { 4, 1, 5, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "gonio_accuracy", "Gonio Accuracy" },
1399 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_display", "Gonio Display" },
1404 CALF_PLUGIN_INFO(analyzer
) = { 0x8588, "Analyzer", "Calf Analyzer", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "AnalyserPlugin" };
1406 ////////////////////////////////////////////////////////////////////////////
1407 const char *transientdesigner_view_names
[] = { "Output", "Envelope", "Attack", "Release" };
1408 const char *transientdesigner_filter_modes
[] = { "Off", "12dB", "24dB", "36dB" };
1409 CALF_PORT_NAMES(transientdesigner
) = {"In L", "In R", "Out L", "Out R"};
1410 CALF_PORT_PROPS(transientdesigner
) = {
1411 BYPASS_AND_LEVEL_PARAMS
1413 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mix", "Mix" },
1414 { 30.f
, 1.f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack_time", "Attack Time" },
1415 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "attack_boost", "Attack Boost" },
1416 { 1.f
, 0.0009765625f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_GRAPH
, NULL
, "sustain_threshold", "Sustain Threshold" },
1417 { 300.f
, 1.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release_time", "Release Time" },
1418 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "release_boost", "Release Boost" },
1419 { 2000.f
, 50.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "display", "Display" },
1420 { pow(2.0,-12.0), pow(2.0,-12.0),1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "display_threshold", "Threshold" },
1421 { 0, 0, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SAMPLES
, NULL
, "lookahead", "Lookahead" },
1422 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_view_names
, "view", "View Mode" },
1423 { 100, 20,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "hipass", "Highpass" },
1424 { 5000, 20,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lopass", "Lowpass" },
1425 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_filter_modes
, "hp_mode", "HP-Mode" },
1426 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_filter_modes
, "lp_mode", "LP-Mode" },
1427 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1431 CALF_PLUGIN_INFO(transientdesigner
) = { 0x8588, "TransientDesigner", "Calf Transient Designer", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "EnvelopePlugin" };
1433 ////////////////////////////////////////////////////////////////////////////
1435 CALF_PORT_NAMES(tapesimulator
) = {"In L", "In R", "Out L", "Out R"};
1436 const char *tapesimulator_speed_names
[] = { "Slow", "Fast" };
1437 CALF_PORT_PROPS(tapesimulator
) = {
1438 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1439 { 0.5, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input Gain" },
1440 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output Gain" },
1442 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "mix", "Mix" },
1443 { 12500, 1000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lowpass", "Filter" },
1444 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, tapesimulator_speed_names
, "speed", "Speed Simulation" },
1445 { 0.10, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "noise", "Noise" },
1446 { 0.20, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "mechanical", "Mechanical" },
1447 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "magnetical", "Magnetical" },
1448 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "post", "Post-Filter" },
1452 CALF_PLUGIN_INFO(tapesimulator
) = { 0x8588, "TapeSimulator", "Calf Tape Simulator", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "SimulatorPlugin" };
1454 ////////////////////////////////////////////////////////////////////////////
1456 CALF_PORT_NAMES(crusher
) = {"In L", "In R", "Out L", "Out R"};
1457 const char *crusher_mode_names
[] = { "Linear", "Logarithmic" };
1458 CALF_PORT_PROPS(crusher
) = {
1459 BYPASS_AND_LEVEL_PARAMS
1461 { 4, 1, 16, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_COEF
, NULL
, "bits", "Bit Reduction" },
1462 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "morph", "Morph" },
1463 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, crusher_mode_names
, "mode", "Mode" },
1464 { 1, 0.25, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "dc", "DC" },
1465 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "anti_aliasing", "Anti-Aliasing" },
1466 { 1, 1, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "samples", "Sample Reduction" },
1467 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo", "LFO Active" },
1468 { 20, 1, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "lforange", "LFO Depth" },
1469 { 0.3, 0.01, 200, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lforate", "LFO Rate" },
1473 CALF_PLUGIN_INFO(crusher
) = { 0x8587, "Crusher", "Calf Crusher", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1475 ////////////////////////////////////////////////////////////////////////////
1477 CALF_PORT_NAMES(monosynth
) = {
1481 const char *monosynth_waveform_names
[] = { "Sawtooth", "Square", "Pulse", "Sine", "Triangle", "Varistep", "Skewed Saw", "Skewed Square",
1482 "Smooth Brass", "Bass", "Dark FM", "Multiwave", "Bell FM", "Dark Pad", "DCO Saw", "DCO Maze" };
1483 const char *monosynth_mode_names
[] = { "0\xC2\xB0 : 0\xC2\xB0", "0\xC2\xB0 : 180\xC2\xB0", "0\xC2\xB0 : 90\xC2\xB0", "90\xC2\xB0 : 90\xC2\xB0", "90\xC2\xB0 : 270\xC2\xB0", "Random" };
1484 const char *monosynth_legato_names
[] = { "Retrig", "Legato", "Fng Retrig", "Fng Legato" };
1485 const char *monosynth_lfotrig_names
[] = { "Retrig", "Free" };
1487 const char *monosynth_filter_choices
[] = {
1490 "2x12dB/oct Lowpass",
1491 "12dB/oct Highpass",
1495 "2x6dB/oct Bandpass",
1498 CALF_PLUGIN_INFO(monosynth
) = { 0x8480, "Monosynth", "Calf Monosynth", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1500 CALF_PORT_PROPS(monosynth
) = {
1501 { monosynth_metadata::wave_saw
, 0, monosynth_metadata::wave_count
- 1, 1, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, monosynth_waveform_names
, "o1_wave", "Osc1 Wave" },
1502 { monosynth_metadata::wave_sqr
, 0, monosynth_metadata::wave_count
- 1, 1, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, monosynth_waveform_names
, "o2_wave", "Osc2 Wave" },
1504 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_pw", "Osc1 PW" },
1505 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o2_pw", "Osc2 PW" },
1507 { 10, 0, 100, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o12_detune", "O1<>2 Detune" },
1508 { 12, -24, 24, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2_xpose", "Osc2 Transpose" },
1509 { 0, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_mode_names
, "phase_mode", "Phase mode" },
1510 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "o12_mix", "O1<>2 Mix" },
1511 { 1, 0, 7, 0, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, monosynth_filter_choices
, "filter", "Filter" },
1512 { 33, 10,16000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "cutoff", "Cutoff" },
1513 { 3, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "res", "Resonance" },
1514 { 0, -2400, 2400, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "filter_sep", "Separation" },
1515 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "env2cutoff", "Env->Cutoff" },
1516 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "env2res", "Env->Res" },
1517 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "env2amp", "Env->Amp" },
1519 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1520 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1521 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1522 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1523 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1525 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "key_follow", "Key Follow" },
1526 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_legato_names
, "legato", "Legato Mode" },
1527 { 1, 1, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "portamento", "Portamento" },
1529 { 0.5, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2filter", "Vel->Filter" },
1530 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2amp", "Vel->Amp" },
1532 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1534 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1536 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo_rate", "LFO1 Rate" },
1537 { 0.5, 0, 5, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo_delay", "LFO1 Delay" },
1538 { 0, -4800, 4800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2filter", "LFO1->Filter" },
1539 { 100, 0, 1200, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2pitch", "LFO1->Pitch" },
1540 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "lfo2pw", "LFO1->PW" },
1541 { 1, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mwhl2lfo", "ModWheel->LFO1" },
1543 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "scale_detune", "Scale Detune" },
1545 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "adsr2_cutoff", "EG2->Cutoff" },
1546 { 0.3, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "adsr2_res", "EG2->Res" },
1547 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "adsr2_amp", "EG2->Amp" },
1549 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1550 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1551 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1552 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1553 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "Release" },
1555 { 1, 1, 16, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "o1_stretch", "Osc1 Stretch" },
1556 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_window", "Osc1 Window" },
1558 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo1_trig", "LFO1 Trigger Mode" },
1559 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo2_trig", "LFO2 Trigger Mode" },
1560 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO1 Rate" },
1561 { 0.5, 0.1, 5, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo2_delay", "LFO1 Delay" },
1562 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "o2_unison", "Osc2 Unison" },
1563 { 2, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "o2_unisonfrq", "Osc2 Unison Detune" },
1564 { 0, -24, 24, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o1_xpose", "Osc1 Transpose" },
1568 static const char *monosynth_mod_src_names
[] = {
1580 static const char *monosynth_mod_dest_names
[] = {
1583 "Osc Mix Ratio (%)",
1591 "O2: Unison Amt (%)",
1592 "O2: Unison Detune (log2)",
1596 monosynth_metadata::monosynth_metadata()
1597 : mm_metadata(mod_matrix_slots
, monosynth_mod_src_names
, monosynth_mod_dest_names
)
1601 void monosynth_metadata::get_configure_vars(vector
<string
> &names
) const
1603 mm_metadata
.get_configure_vars(names
);
1606 ////////////////////////////////////////////////////////////////////////////
1608 CALF_PLUGIN_INFO(organ
) = { 0x8481, "Organ", "Calf Organ", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1610 plugin_command_info
*organ_metadata::get_commands() const
1612 static plugin_command_info cmds
[] = {
1613 { "cmd_panic", "Panic!", "Stop all sounds and reset all controllers" },
1619 CALF_PORT_NAMES(organ
) = {"Out L", "Out R"};
1621 const char *organ_percussion_trigger_names
[] = { "First note", "Each note", "Each, no retrig", "Polyphonic" };
1623 const char *organ_wave_names
[] = {
1625 "S0", "S00", "S000",
1626 "SSaw", "SSqr", "SPls",
1627 "Saw", "Sqr", "Pls",
1628 "S(", "Sq(", "S+", "Clvg",
1630 "W1", "W2", "W3", "W4", "W5", "W6", "W7", "W8", "W9",
1631 "DSaw", "DSqr", "DPls",
1632 "P:SynS","P:WideS","P:Sine","P:Bell","P:Space","P:Voice","P:Hiss","P:Chant",
1635 const char *organ_routing_names
[] = { "Out", "Flt 1", "Flt 2" };
1637 const char *organ_ampctl_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "All" };
1639 const char *organ_vibrato_mode_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "Voice", "Global" };
1641 const char *organ_vibrato_type_names
[] = { "Allpass", "Scanner (V1/C1)", "Scanner (V2/C2)", "Scanner (V3/C3)", "Scanner (Full)" };
1643 const char *organ_filter_type_names
[] = { "12dB/oct LP", "12dB/oct HP" };
1645 const char *organ_filter_send_names
[] = { "Output", "Filter 2" };
1647 CALF_PORT_PROPS(organ
) = {
1648 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l1", "16'" },
1649 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l2", "5 1/3'" },
1650 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l3", "8'" },
1651 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l4", "4'" },
1652 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l5", "2 2/3'" },
1653 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l6", "2'" },
1654 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l7", "1 3/5'" },
1655 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l8", "1 1/3'" },
1656 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l9", "1'" },
1658 { 1, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f1", "Freq 1" },
1659 { 3, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f2", "Freq 2" },
1660 { 2, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f3", "Freq 3" },
1661 { 4, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f4", "Freq 4" },
1662 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f5", "Freq 5" },
1663 { 8, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f6", "Freq 6" },
1664 { 10, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f7", "Freq 7" },
1665 { 12, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f8", "Freq 8" },
1666 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f9", "Freq 9" },
1668 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w1", "Wave 1" },
1669 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w2", "Wave 2" },
1670 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w3", "Wave 3" },
1671 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w4", "Wave 4" },
1672 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w5", "Wave 5" },
1673 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w6", "Wave 6" },
1674 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w7", "Wave 7" },
1675 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w8", "Wave 8" },
1676 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w9", "Wave 9" },
1678 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune1", "Detune 1" },
1679 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune2", "Detune 2" },
1680 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune3", "Detune 3" },
1681 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune4", "Detune 4" },
1682 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune5", "Detune 5" },
1683 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune6", "Detune 6" },
1684 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune7", "Detune 7" },
1685 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune8", "Detune 8" },
1686 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune9", "Detune 9" },
1688 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase1", "Phase 1" },
1689 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase2", "Phase 2" },
1690 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase3", "Phase 3" },
1691 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase4", "Phase 4" },
1692 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase5", "Phase 5" },
1693 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase6", "Phase 6" },
1694 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase7", "Phase 7" },
1695 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase8", "Phase 8" },
1696 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase9", "Phase 9" },
1698 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan1", "Pan 1" },
1699 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan2", "Pan 2" },
1700 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan3", "Pan 3" },
1701 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan4", "Pan 4" },
1702 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan5", "Pan 5" },
1703 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan6", "Pan 6" },
1704 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan7", "Pan 7" },
1705 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan8", "Pan 8" },
1706 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan9", "Pan 9" },
1708 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing1", "Routing 1" },
1709 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing2", "Routing 2" },
1710 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing3", "Routing 3" },
1711 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing4", "Routing 4" },
1712 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing5", "Routing 5" },
1713 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing6", "Routing 6" },
1714 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing7", "Routing 7" },
1715 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing8", "Routing 8" },
1716 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing9", "Routing 9" },
1718 { 96 + 12, 0, 127, 128, PF_INT
| PF_CTL_KNOB
| PF_UNIT_NOTE
, NULL
, "foldnote", "Foldover" },
1720 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_decay", "P: Carrier Decay" },
1721 { 0.25, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "perc_level", "P: Level" },
1722 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_waveform", "P: Carrier Wave" },
1723 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_harmonic", "P: Carrier Frq" },
1724 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2amp", "P: Vel->Amp" },
1726 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_fm_decay", "P: Modulator Decay" },
1727 { 0, 0, 4, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_fm_depth", "P: FM Depth" },
1728 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_fm_waveform", "P: Modulator Wave" },
1729 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_fm_harmonic", "P: Modulator Frq" },
1730 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2fm", "P: Vel->FM" },
1732 { 0, 0, organ_enums::perctrig_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_percussion_trigger_names
, "perc_trigger", "P: Trigger" },
1733 { 90, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "perc_stereo", "P: Stereo Phase" },
1735 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_send_names
, "filter_chain", "Filter 1 To" },
1736 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_type_names
, "filter1_type", "Filter 1 Type" },
1737 { 0.1, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
| PF_PROP_GRAPH
, NULL
, "master", "Volume" },
1739 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f1_cutoff", "F1 Cutoff" },
1740 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f1_res", "F1 Res" },
1741 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env1", "F1 Env1" },
1742 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env2", "F1 Env2" },
1743 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env3", "F1 Env3" },
1744 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f1_keyf", "F1 KeyFollow" },
1746 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f2_cutoff", "F2 Cutoff" },
1747 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f2_res", "F2 Res" },
1748 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env1", "F2 Env1" },
1749 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env2", "F2 Env2" },
1750 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env3", "F2 Env3" },
1751 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f2_keyf", "F2 KeyFollow" },
1753 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1754 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1755 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1756 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1757 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1758 { 0, 0, organ_enums::ampctl_count
- 1,
1759 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg1_amp_ctl", "EG1 To Amp"},
1761 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1762 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1763 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1764 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1765 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1766 { 0, 0, organ_enums::ampctl_count
- 1,
1767 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg2_amp_ctl", "EG2 To Amp"},
1769 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1770 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1771 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1772 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1773 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1774 { 0, 0, organ_enums::ampctl_count
- 1,
1775 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg3_amp_ctl", "EG3 To Amp"},
1777 { 6.6, 0.01, 240, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "vib_rate", "Vib Rate" },
1778 { 1.0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_amt", "Vib Mod Amt" },
1779 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_wet", "Vib Wet" },
1780 { 180, 0, 360, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vib_phase", "Vib Stereo" },
1781 { organ_enums::lfomode_global
, 0, organ_enums::lfomode_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_mode_names
, "vib_mode", "Vib Mode" },
1782 { organ_enums::lfotype_cv3
, 0, organ_enums::lfotype_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_type_names
, "vib_type", "Vib Type" },
1783 // { 0, 0, organ_enums::ampctl_count - 1,
1784 // 0, PF_INT | PF_CTL_COMBO, organ_ampctl_names, "vel_amp_ctl", "Vel To Amp"},
1786 { -12, -24, 24, 49, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
1787 { 0, -100, 100, 201, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
1789 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "polyphony", "Polyphony" },
1791 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "quad_env", "Quadratic AmpEnv" },
1793 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1795 { 80, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_freq", "Bass Freq" },
1796 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "bass_gain", "Bass Gain" },
1797 { 12000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_freq", "Treble Freq" },
1798 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "treble_gain", "Treble Gain" },
1801 void organ_metadata::get_configure_vars(vector
<string
> &names
) const
1803 names
.push_back("map_curve");
1806 ////////////////////////////////////////////////////////////////////////////
1808 const char *fluidsynth_interpolation_names
[] = { "None (zero-hold)", "Linear", "Cubic", "7-point" };
1810 CALF_PORT_NAMES(fluidsynth
) = {
1814 CALF_PLUGIN_INFO(fluidsynth
) = { 0x8700, "Fluidsynth", "Calf Fluidsynth", "Calf Studio Gear / FluidSynth Team / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1816 CALF_PORT_PROPS(fluidsynth
) = {
1817 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1818 { 2, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, fluidsynth_interpolation_names
, "interpolation", "Interpolation" },
1819 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "reverb", "Reverb" },
1820 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "chorus", "Chorus" },
1823 void fluidsynth_metadata::get_configure_vars(vector
<string
> &names
) const
1825 names
.push_back("soundfont");
1826 names
.push_back("preset_key_set");
1827 for (int i
= 1; i
< 16; i
++)
1828 names
.push_back("preset_key_set" + calf_utils::i2s(i
+ 1));
1831 ////////////////////////////////////////////////////////////////////////////
1833 const char *wavetable_names
[] = {
1865 static const char *wavetable_mod_src_names
[] = {
1879 static const char *wavetable_mod_dest_names
[] = {
1882 "Osc Mix Ratio (%)",
1893 CALF_PORT_NAMES(wavetable
) = {
1897 CALF_PLUGIN_INFO(wavetable
) = { 0x8701, "Wavetable", "Calf Wavetable", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1899 CALF_PORT_PROPS(wavetable
) = {
1900 { wavetable_metadata::wt_count
- 1, 0, wavetable_metadata::wt_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, wavetable_names
, "o1wave", "Osc1 Wave" },
1901 { 0.2, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o1offset", "Osc1 Ctl"},
1902 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o1trans", "Osc1 Transpose" },
1903 { 6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o1detune", "Osc1 Detune" },
1904 { 0.1, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o1level", "Osc1 Level" },
1906 { 0, 0, wavetable_metadata::wt_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, wavetable_names
, "o2wave", "Osc2 Wave" },
1907 { 0.4, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o2offset", "Osc2 Ctl"},
1908 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2trans", "Osc2 Transpose" },
1909 { -6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o2detune", "Osc2 Detune" },
1910 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o2level", "Osc2 Level" },
1912 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1913 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1914 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1915 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1916 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1917 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1919 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1920 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1921 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1922 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1923 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1924 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1926 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1927 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1928 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1929 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_f", "EG3 Fade" },
1930 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1931 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1933 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1934 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "eg1amp", "EG1->Amp" },
1935 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_rate", "LFO1 Rate" },
1936 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO2 Rate" },
1940 wavetable_metadata::wavetable_metadata()
1941 : mm_metadata(mod_matrix_slots
, wavetable_mod_src_names
, wavetable_mod_dest_names
)
1945 void wavetable_metadata::get_configure_vars(std::vector
<std::string
> &names
) const
1947 mm_metadata
.get_configure_vars(names
);
1950 ////////////////////////////////////////////////////////////////////////////
1952 CALF_PORT_NAMES(pitch
) = {"In L", "In R", "Out L", "Out R"};
1953 CALF_PORT_PROPS(pitch
) = {
1954 { 0.9, 0.1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pd_threshold", "Pitch Det:Peak Threshold" },
1955 { 1, 1, 8, 3, PF_INT
| PF_CTL_KNOB
, NULL
, "pd_subdivide", "Pitch Det:Subdiv" },
1956 { 440, 427, 453, 0.1, PF_FLOAT
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "tune", "Tune" },
1957 { 0, 0, 127, 1, PF_INT
| PF_PROP_OUTPUT
, NULL
, "note", "MIDI Note" },
1958 { 0, -100, 100, 1, PF_FLOAT
| PF_PROP_OUTPUT
, NULL
, "cents", "Cents" },
1959 { 0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_PROP_OUTPUT
, NULL
, "clarity", "Clarity" },
1960 { 1, 1, 20000, 1, PF_FLOAT
| PF_PROP_OUTPUT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Frequency" },
1964 CALF_PLUGIN_INFO(pitch
) = { 0x85AA, "Pitch", "Calf Pitch Tols", "Calf Studio Gear", calf_plugins::calf_copyright_info
, "PitchPlugin" };
1966 ////////////////////////////////////////////////////////////////////////////
1968 CALF_PORT_NAMES(widgets
) = {"In L", "In R", "Out L", "Out R"};
1969 CALF_PORT_PROPS(widgets
) = {
1970 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_1", "Meter-1" },
1971 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_2", "Meter-2" },
1972 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_3", "Meter-3" },
1973 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_4", "Meter-4" },
1975 { 0, 100, 100, 0.1, PF_FLOAT
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "value_lin", "Value Linear" },
1976 { 0, 100, 100, 0.1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "value_log", "Value Logarithmic" },
1980 CALF_PLUGIN_INFO(widgets
) = { 0x85AB, "Widgets", "Calf Widget Test", "Calf Studio Gear", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1983 ////////////////////////////////////////////////////////////////////////////
1985 calf_plugins::plugin_registry::plugin_registry()
1987 #define PER_MODULE_ITEM(name, isSynth, jackname) plugins.push_back((new name##_metadata));
1988 #include <calf/modulelist.h>