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, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "lp_active", "LP Active" }, \
61 { 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "LP Freq" }, \
62 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "LP Mode" }, \
64 #define SHELF_PARAMS \
65 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "ls_active", "LS Active" }, \
66 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level L" }, \
67 { 100, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq L" }, \
68 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hs_active", "HS Active" }, \
69 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level H" }, \
70 { 5000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq H" },
72 #define EQ_BAND_PARAMS(band, frequency) \
73 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "p" #band "_active", "F" #band " Active" }, \
74 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p" #band "_level", "Level " #band }, \
75 { frequency, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p" #band "_freq", "Freq " #band }, \
76 { 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p" #band "_q", "Q " #band },
78 #define EQ_DISPLAY_PARAMS \
79 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "individuals", "Individual Filters" }, \
80 { 0.25, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_FADER | PF_UNIT_DB, NULL, "zoom", "Zoom" }, \
81 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "analyzer", "Analyzer Active" }, \
82 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, eq_analyzer_mode_names, "analyzer_mode", "Analyzer Mode" }, \
85 ////////////////////////////////////////////////////////////////////////////
87 CALF_PORT_NAMES(flanger
) = {"In L", "In R", "Out L", "Out R"};
89 CALF_PORT_PROPS(flanger
) = {
90 { 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" },
91 { 1.0, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "mod_depth", "Mod depth" },
92 { 0.2, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
93 { 0.90, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
94 { 90, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
95 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
96 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
97 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
101 CALF_PLUGIN_INFO(flanger
) = { 0x847d, "Flanger", "Calf Flanger", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
103 ////////////////////////////////////////////////////////////////////////////
105 CALF_PORT_NAMES(phaser
) = {"In L", "In R", "Out L", "Out R"};
107 CALF_PORT_PROPS(phaser
) = {
108 { 1000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "base_freq", "Center Freq" },
109 { 4000, 0, 10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "mod_depth", "Mod depth" },
110 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
111 { 0.25, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
112 { 6, 1, 12, 12, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "stages", "# Stages" },
113 { 180, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
114 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
115 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
116 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
119 CALF_PLUGIN_INFO(phaser
) = { 0x8484, "Phaser", "Calf Phaser", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
121 ////////////////////////////////////////////////////////////////////////////
123 CALF_PORT_NAMES(reverb
) = {"In L", "In R", "Out L", "Out R"};
125 const char *reverb_room_sizes
[] = { "Small", "Medium", "Large", "Tunnel-like", "Large/smooth", "Experimental" };
127 CALF_PORT_PROPS(reverb
) = {
128 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip", "0dB" },
129 { 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" },
130 { 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" },
131 { 1.5, 0.4, 15.0, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "decay_time", "Decay time" },
132 { 5000, 2000,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hf_damp", "High Frq Damp" },
133 { 2, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, reverb_room_sizes
, "room_size", "Room size", },
134 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "diffusion", "Diffusion" },
135 { 0.25, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Wet Amount" },
136 { 1.0, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
137 { 0, 0, 500, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "predelay", "Pre Delay" },
138 { 300, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_cut", "Bass Cut" },
139 { 5000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_cut", "Treble Cut" },
143 CALF_PLUGIN_INFO(reverb
) = { 0x847e, "Reverb", "Calf Reverb", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ReverbPlugin" };
145 ////////////////////////////////////////////////////////////////////////////
147 CALF_PORT_NAMES(filter
) = {"In L", "In R", "Out L", "Out R"};
149 const char *filter_choices
[] = {
159 "6dB/oct Bandreject",
160 "12dB/oct Bandreject",
161 "18dB/oct Bandreject",
164 CALF_PORT_PROPS(filter
) = {
165 { 2000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Frequency" },
166 { 0.707, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "res", "Resonance" },
167 { biquad_filter_module::mode_12db_lp
,
168 biquad_filter_module::mode_12db_lp
,
169 biquad_filter_module::mode_count
- 1,
170 1, PF_ENUM
| PF_CTL_COMBO
, filter_choices
, "mode", "Mode" },
171 { 20, 5, 100, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Inertia"},
174 CALF_PLUGIN_INFO(filter
) = { 0x847f, "Filter", "Calf Filter", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "FilterPlugin" };
176 ////////////////////////////////////////////////////////////////////////////
178 CALF_PORT_NAMES(filterclavier
) = {"In L", "In R", "Out L", "Out R"};
180 CALF_PORT_PROPS(filterclavier
) = {
181 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
182 { 0, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
183 { 32, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "maxres", "Max. Resonance" },
184 { biquad_filter_module::mode_6db_bp
,
185 biquad_filter_module::mode_12db_lp
,
186 biquad_filter_module::mode_count
- 1,
187 1, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, filter_choices
, "mode", "Mode" },
188 { 20, 1, 2000, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Portamento time"},
192 CALF_PLUGIN_INFO(filterclavier
) = { 0x849f, "Filterclavier", "Calf Filterclavier", "Calf Studio Gear / Krzysztof Foltman / Hans Baier", calf_plugins::calf_copyright_info
, "FilterPlugin" };
194 ////////////////////////////////////////////////////////////////////////////
196 CALF_PORT_NAMES(envelopefilter
) = {"In L", "In R", "Out L", "Out R"};
198 CALF_PORT_PROPS(envelopefilter
) = {
199 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
200 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input Gain" },
201 { 2, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output Gain" },
203 { 0.85, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
204 { 2, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "res", "Resonance" },
205 { biquad_filter_module::mode_12db_bp
,
206 biquad_filter_module::mode_12db_lp
,
207 biquad_filter_module::mode_count
- 1,
208 1, PF_ENUM
| PF_CTL_COMBO
, filter_choices
, "mode", "Mode" },
209 { 20.f
, 1.0f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
210 { 200.f
,10.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
211 { 3000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "upper", "Upper" },
212 { 80, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "lower", "Lower" },
213 { 1,0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "gain", "Activation" },
214 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sidechain", "Sidechain" },
215 { 0., -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "response", "Response" },
219 CALF_PLUGIN_INFO(envelopefilter
) = { 0x8432, "EnvelopeFilter", "Calf Envelope Filter", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "FilterPlugin" };
221 ////////////////////////////////////////////////////////////////////////////
223 CALF_PORT_NAMES(vintage_delay
) = {"In L", "In R", "Out L", "Out R"};
225 const char *vintage_delay_mixmodes
[] = {
232 const char *vintage_delay_fbmodes
[] = {
238 CALF_PORT_PROPS(vintage_delay
) = {
239 { 120, 30, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
, NULL
, "bpm", "Tempo" },
240 { 120, 1, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
| PF_SYNC_BPM
, NULL
, "bpm_host", "Host BPM" },
241 { 4, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "subdiv", "Subdivide"},
242 { 3, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_l", "Time L"},
243 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_r", "Time R"},
244 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "feedback", "Feedback" },
245 { 0.25, 0, 4, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "amount", "Amount" },
246 { 1, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_mixmodes
, "mix_mode", "Mix mode" },
247 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_fbmodes
, "medium", "Medium" },
248 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
249 { 1.0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "width", "Stereo Width" },
250 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sync", "Sync BPM" },
254 CALF_PLUGIN_INFO(vintage_delay
) = { 0x8482, "VintageDelay", "Calf Vintage Delay", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DelayPlugin" };
256 ////////////////////////////////////////////////////////////////////////////
257 CALF_PORT_NAMES(comp_delay
) = { "In L", "In R", "Out L", "Out R" };
259 CALF_PORT_PROPS(comp_delay
) = {
260 { 0, 0, 10, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_mm", "Distance (mm)"},
261 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_cm", "Distance (cm)"},
262 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_m", "Distance (m)"},
263 { 0.000244140625, 0.000244140625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
264 { 1.0, 0.000244140625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "wet", "Wet Amount" },
265 { 20, -50, 50, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "temp", "Temperature °C"},
266 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
269 CALF_PLUGIN_INFO(comp_delay
) = { 0x8485, "CompensationDelay", "Calf Compensation Delay Line", "Calf Studio Gear / Vladimir Sadovnikov", calf_plugins::calf_copyright_info
, "DelayPlugin" };
271 ////////////////////////////////////////////////////////////////////////////
273 CALF_PORT_NAMES(reverse_delay
) = {"In L", "In R", "Out L", "Out R"};
275 CALF_PORT_PROPS(reverse_delay
) = {
276 { 120, 30, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
, NULL
, "bpm", "Tempo" },
277 { 120, 1, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
| PF_SYNC_BPM
, NULL
, "bpm_host", "Host BPM" },
278 { 4, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "subdiv", "Subdivide"},
279 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_l", "Time L"},
280 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_r", "Time R"},
281 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "feedback", "Feedback" },
282 { 0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Dry/Wet" },
283 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "width", "Stereo Width" },
284 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sync", "Sync BPM" },
285 { 0, 0, 1, 0, PF_INT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "sync_led_l", "Left" },
286 { 0, 0, 1, 0, PF_INT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "sync_led_r", "Right" },
287 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
288 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "window", "Window" },
292 CALF_PLUGIN_INFO(reverse_delay
) = { 0x8482, "ReverseDelay", "Calf Reverse Delay", "Calf Studio Gear / drgreenthumb", calf_plugins::calf_copyright_info
, "DelayPlugin" };
294 ////////////////////////////////////////////////////////////////////////////
296 CALF_PORT_NAMES(rotary_speaker
) = {"In L", "In R", "Out L", "Out R"};
298 const char *rotary_speaker_speed_names
[] = { "Off", "Chorale", "Tremolo", "HoldPedal", "ModWheel", "Manual" };
300 CALF_PORT_PROPS(rotary_speaker
) = {
301 { 5, 0, 5, 1.01, PF_ENUM
| PF_CTL_COMBO
, rotary_speaker_speed_names
, "vib_speed", "Speed Mode" },
302 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "spacing", "Tap Spacing" },
303 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "shift", "Tap Offset" },
304 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mod_depth", "FM Depth" },
305 { 36, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "treble_speed", "Treble Motor" },
306 { 30, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "bass_speed", "Bass Motor" },
307 { 0.7, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mic_distance", "Mic Distance" },
308 { 0.3, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "reflection", "Reflection" },
309 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "am_depth", "AM Depth" },
310 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "test", "Test" },
311 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_l", "Low rotor" },
312 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_h", "High rotor" },
316 CALF_PLUGIN_INFO(rotary_speaker
) = { 0x8483, "RotarySpeaker", "Calf Rotary Speaker", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SimulatorPlugin" };
318 ////////////////////////////////////////////////////////////////////////////
320 CALF_PORT_NAMES(multichorus
) = {"In L", "In R", "Out L", "Out R"};
322 CALF_PORT_PROPS(multichorus
) = {
323 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "min_delay", "Min delay" },
324 { 6, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "mod_depth", "Mod depth" },
325 { 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" },
326 { 180, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
327 { 4, 1, 8, 8, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "voices", "Voices"},
328 { 64, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vphase", "Inter-voice phase" },
329 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
330 { 0.5, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
331 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Center Frq 1" },
332 { 5000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Center Frq 2" },
333 { 0.125, 0.125, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "q", "Q" },
334 { 0.75, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "overlap", "Overlap" },
337 CALF_PLUGIN_INFO(multichorus
) = { 0x8501, "MultiChorus", "Calf Multi Chorus", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
339 ////////////////////////////////////////////////////////////////////////////
341 CALF_PORT_NAMES(monocompressor
) = {"In", "Out"};
343 const char *monocompressor_detection_names
[] = { "RMS", "Peak" };
344 const char *monocompressor_stereo_link_names
[] = { "Average", "Maximum" };
346 CALF_PORT_PROPS(monocompressor
) = {
347 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
348 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
349 { 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" },
350 { 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" },
351 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
352 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
353 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
354 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
355 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
356 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
357 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
358 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
359 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_detection_names, "detection", "Detection" },
360 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_stereo_link_names, "stereo_link", "Stereo Link" },
361 { 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" },
362 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
366 CALF_PLUGIN_INFO(monocompressor
) = { 0x8577, "MonoCompressor", "Calf Mono Compressor", "Calf Studio Gear / Damien Zammit", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
368 ////////////////////////////////////////////////////////////////////////////
370 CALF_PORT_NAMES(compressor
) = {"In L", "In R", "Out L", "Out R"};
372 const char *compressor_detection_names
[] = { "RMS", "Peak" };
373 const char *compressor_stereo_link_names
[] = { "Average", "Maximum" };
375 CALF_PORT_PROPS(compressor
) = {
376 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
377 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
378 { 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" },
379 { 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" },
380 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
381 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
382 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
383 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
384 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
385 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
386 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
387 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
388 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_detection_names
, "detection", "Detection" },
389 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_stereo_link_names
, "stereo_link", "Stereo Link" },
390 { 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" },
391 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
395 CALF_PLUGIN_INFO(compressor
) = { 0x8502, "Compressor", "Calf Compressor", "Calf Studio Gear / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
397 ////////////////////////////////////////////////////////////////////////////
399 CALF_PORT_NAMES(sidechaincompressor
) = {"In L", "In R", "Out L", "Out R"};
401 const char *sidechaincompressor_detection_names
[] = { "RMS", "Peak" };
402 const char *sidechaincompressor_stereo_link_names
[] = { "Average", "Maximum" };
403 const char *sidechaincompressor_mode_names
[] = {"Wideband (F1:off / F2:off)",
404 "Deesser wide (F1:Bell / F2:HP)",
405 "Deesser split (F1:off / F2:HP)",
406 "Derumbler wide (F1:LP / F2:Bell)",
407 "Derumbler split (F1:LP / F2:off)",
408 "Weighted #1 (F1:Shelf / F2:Shelf)",
409 "Weighted #2 (F1:Shelf / F2:Bell)",
410 "Weighted #3 (F1:Bell / F2:Shelf)",
411 "Bandpass #1 (F1:BP / F2:off)",
412 "Bandpass #2 (F1:HP / F2:LP)"};
413 const char *sidechaincompressor_filter_choices
[] = { "12dB", "24dB", "36dB"};
416 CALF_PORT_PROPS(sidechaincompressor
) = {
417 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
418 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
419 { 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" },
420 { 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" },
421 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
422 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
423 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
424 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
425 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
426 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
427 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
428 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
429 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_detection_names
, "detection", "Detection" },
430 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_stereo_link_names
, "stereo_link", "Stereo Link" },
431 { 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" },
432 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_mode_names
, "sc_mode", "S/C Mode" },
433 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
434 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
435 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
436 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
437 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
438 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
439 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
440 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_route", "S/C Route" },
441 { 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" },
442 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
446 CALF_PLUGIN_INFO(sidechaincompressor
) = { 0x8517, "SidechainCompressor", "Calf Sidechain Compressor", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
448 ////////////////////////////////////////////////////////////////////////////
449 #define MULTI_BAND_COMP_PARAMS(band1, band2) \
450 { 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold" #band1, "Threshold " #band2 }, \
451 { 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
452 { 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
453 { 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
454 { 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
455 { 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
456 { 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
457 { 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 }, \
458 { 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 }, \
459 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
460 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
462 CALF_PORT_NAMES(multibandcompressor
) = {"In L", "In R", "Out L", "Out R"};
464 const char *multibandcompressor_detection_names
[] = { "RMS", "Peak" };
466 CALF_PORT_PROPS(multibandcompressor
) = {
467 BYPASS_AND_LEVEL_PARAMS
469 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
470 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
471 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
472 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
473 MULTI_BAND_COMP_PARAMS(0,1)
474 MULTI_BAND_COMP_PARAMS(1,2)
475 MULTI_BAND_COMP_PARAMS(2,3)
476 MULTI_BAND_COMP_PARAMS(3,4)
477 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
, NULL
, "notebook", "Notebook" },
481 CALF_PLUGIN_INFO(multibandcompressor
) = { 0x8516, "MultibandCompressor", "Calf Multiband Compressor", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
483 ////////////////////////////////////////////////////////////////////////////
485 CALF_PORT_NAMES(deesser
) = {"In L", "In R", "Out L", "Out R"};
487 const char *deesser_detection_names
[] = { "RMS", "Peak" };
488 const char *deesser_mode_names
[] = { "Wide", "Split" };
491 CALF_PORT_PROPS(deesser
) = {
492 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
493 { 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" },
494 { 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" },
495 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "detected_led", "Active" },
496 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "Out" },
497 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_detection_names
, "detection", "Detection" },
498 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_mode_names
, "mode", "Mode" },
499 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
500 { 3, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
501 { 15, 1, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "laxity", "Laxity" },
502 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup" },
504 { 6000, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "Split" },
505 { 4500, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "Peak" },
506 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "Gain" },
507 { 4, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "Level" },
508 { 1, 0.1, 100,1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "f2_q", "Peak Q" },
509 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
513 CALF_PLUGIN_INFO(deesser
) = { 0x8515, "Deesser", "Calf Deesser", "Calf Studio Gear / Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
515 ////////////////////////////////////////////////////////////////////////////
517 CALF_PORT_NAMES(gate
) = {"In L", "In R", "Out L", "Out R"};
519 const char *gate_detection_names
[] = { "RMS", "Peak" };
520 const char *gate_stereo_link_names
[] = { "Average", "Maximum" };
522 CALF_PORT_PROPS(gate
) = {
523 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
524 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
525 { 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" },
526 { 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" },
527 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
528 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
529 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
530 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
531 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
532 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
533 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
534 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
535 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
536 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_detection_names
, "detection", "Detection" },
537 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_stereo_link_names
, "stereo_link", "Stereo Link" },
538 { 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" },
542 CALF_PLUGIN_INFO(gate
) = { 0x8503, "Gate", "Calf Gate", "Calf Studio Gear / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
544 ////////////////////////////////////////////////////////////////////////////
546 CALF_PORT_NAMES(sidechaingate
) = {"In L", "In R", "Out L", "Out R"};
548 const char *sidechaingate_detection_names
[] = { "RMS", "Peak" };
549 const char *sidechaingate_stereo_link_names
[] = { "Average", "Maximum" };
550 const char *sidechaingate_mode_names
[] = {"Wideband (F1:off / F2:off)",
551 "High gate wide (F1:Bell / F2:HP)",
552 "High gate split (F1:off / F2:HP)",
553 "Low Gate wide (F1:LP / F2:Bell)",
554 "Low gate split (F1:LP / F2:off)",
555 "Weighted #1 (F1:Shelf / F2:Shelf)",
556 "Weighted #2 (F1:Shelf / F2:Bell)",
557 "Weighted #3 (F1:Bell / F2:Shelf)",
558 "Bandpass #1 (F1:BP / F2:off)",
559 "Bandpass #2 (F1:HP / F2:LP)"};
560 const char *sidechaingate_filter_choices
[] = { "12dB", "24dB", "36dB"};
563 CALF_PORT_PROPS(sidechaingate
) = {
564 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
565 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
566 { 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" },
567 { 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" },
568 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
569 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
570 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
571 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
572 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
573 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
574 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
575 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
576 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
577 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_detection_names
, "detection", "Detection" },
578 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_stereo_link_names
, "stereo_link", "Stereo Link" },
579 { 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" },
580 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_mode_names
, "sc_mode", "S/C Mode" },
581 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
582 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
583 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
584 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
585 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
586 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
587 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
588 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_route", "S/C Route" },
589 { 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" },
593 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" };
595 ////////////////////////////////////////////////////////////////////////////
596 #define MULTI_BAND_GATE_PARAMS(band1, band2) \
597 { 0.06125, 0.000015849, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "range" #band1, "Reduction " #band2 }, \
598 { 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "threshold" #band1, "Threshold " #band2 }, \
599 { 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
600 { 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
601 { 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
602 { 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
603 { 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
604 { 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
605 { 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 }, \
606 { 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 }, \
607 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
608 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
610 CALF_PORT_NAMES(multibandgate
) = {"In L", "In R", "Out L", "Out R"};
612 const char *multibandgate_detection_names
[] = { "RMS", "Peak" };
614 CALF_PORT_PROPS(multibandgate
) = {
615 BYPASS_AND_LEVEL_PARAMS
617 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
618 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
619 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
620 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
621 MULTI_BAND_GATE_PARAMS(0,1)
622 MULTI_BAND_GATE_PARAMS(1,2)
623 MULTI_BAND_GATE_PARAMS(2,3)
624 MULTI_BAND_GATE_PARAMS(3,4)
625 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "notebook", "Notebook" },
629 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" };
631 ////////////////////////////////////////////////////////////////////////////
633 CALF_PORT_NAMES(limiter
) = {"In L", "In R", "Out L", "Out R"};
635 CALF_PORT_PROPS(limiter
) = {
636 BYPASS_AND_LEVEL_PARAMS
638 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
639 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
640 { 50, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
642 { 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" },
644 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
646 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
648 { 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" },
649 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
653 CALF_PLUGIN_INFO(limiter
) = { 0x8521, "Limiter", "Calf Limiter", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
655 ////////////////////////////////////////////////////////////////////////////
657 CALF_PORT_NAMES(multibandlimiter
) = {"In L", "In R", "Out L", "Out R"};
659 CALF_PORT_PROPS(multibandlimiter
) = {
660 BYPASS_AND_LEVEL_PARAMS
662 { 100, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
663 { 750, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
664 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
666 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
668 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
669 { 4, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
670 { 30, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
671 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "minrel", "Min Release" },
673 { 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" },
674 { 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" },
675 { 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" },
676 { 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" },
678 { 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" },
679 { 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" },
680 { 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" },
681 { 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" },
683 { 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" },
684 { 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" },
685 { -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" },
686 { -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" },
688 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
689 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
690 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
691 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
693 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease0", "Effectively Release 1" },
694 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease1", "Effectively Release 2" },
695 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease2", "Effectively Release 3" },
696 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease3", "Effectively Release 4" },
698 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
700 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
702 { 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" },
704 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
709 CALF_PLUGIN_INFO(multibandlimiter
) = { 0x8520, "MultibandLimiter", "Calf Multiband Limiter", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
711 ////////////////////////////////////////////////////////////////////////////
713 CALF_PORT_NAMES(sidechainlimiter
) = {"In L", "In R", "Side L", "Side R", "Out L", "Out R"};
715 CALF_PORT_PROPS(sidechainlimiter
) = {
716 BYPASS_AND_LEVEL_PARAMS
718 { 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 R" },
719 { 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" },
720 { 100, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
721 { 750, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
722 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
724 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
726 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
727 { 4, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
728 { 30, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
729 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "minrel", "Min Release" },
731 { 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" },
732 { 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" },
733 { 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" },
734 { 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" },
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
, "att_sc", "S/C" },
737 { 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" },
738 { 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" },
739 { 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" },
740 { 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" },
741 { 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" },
743 { 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" },
744 { 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" },
745 { -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" },
746 { -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" },
747 { -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" },
749 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
750 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
751 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
752 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
753 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo_sc", "Solo S/C" },
755 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease0", "Effectively Release 1" },
756 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease1", "Effectively Release 2" },
757 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease2", "Effectively Release 3" },
758 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease3", "Effectively Release 4" },
759 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease_sc", "Effectively Release S/C" },
761 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
763 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
765 { 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" },
767 { 1, 1, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "oversampling", "Oversampling" },
768 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_sc", "Level S/C"},
772 CALF_PLUGIN_INFO(sidechainlimiter
) = { 0x8522, "SidechainLimiter", "Calf Sidechain Limiter", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
775 ////////////////////////////////////////////////////////////////////////////
777 CALF_PORT_NAMES(emphasis
) = {"In L", "In R", "Out L", "Out R"};
779 const char *emphasis_filter_modes
[] = { "Reproduction", "Production"};
780 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)", };
782 CALF_PORT_PROPS(emphasis
) = {
783 BYPASS_AND_LEVEL_PARAMS
785 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_modes
, "mode", "Filter Mode" },
786 { 4, 0, 8, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_types
, "type", "Filter Type" },
789 CALF_PLUGIN_INFO(emphasis
) = { 0x8599, "Emphasis", "Calf Emphasis", "Calf Studio Gear / Damien Zammit", calf_plugins::calf_copyright_info
, "FilterPlugin" };
791 ////////////////////////////////////////////////////////////////////////////
792 const char *active_mode_names
[] = { " ", "ON", "Left", "Right", "Mid", "Side" };
794 CALF_PORT_NAMES(equalizer5band
) = {"In L", "In R", "Out L", "Out R"};
796 CALF_PORT_PROPS(equalizer5band
) = {
797 BYPASS_AND_LEVEL_PARAMS
800 EQ_BAND_PARAMS(1, 250)
801 EQ_BAND_PARAMS(2, 1000)
802 EQ_BAND_PARAMS(3, 4000)
807 CALF_PLUGIN_INFO(equalizer5band
) = { 0x8511, "Equalizer5Band", "Calf Equalizer 5 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
809 //////////////////////////////////////////////////////////////////////////////
812 CALF_PORT_NAMES(equalizer8band
) = {"In L", "In R", "Out L", "Out R"};
813 const char *rolloff_mode_names
[] = {"12dB/oct", "24dB/oct", "36dB/oct"};
815 CALF_PORT_PROPS(equalizer8band
) = {
816 BYPASS_AND_LEVEL_PARAMS
820 EQ_BAND_PARAMS(1, 100)
821 EQ_BAND_PARAMS(2, 500)
822 EQ_BAND_PARAMS(3, 2000)
823 EQ_BAND_PARAMS(4, 5000)
828 CALF_PLUGIN_INFO(equalizer8band
) = { 0x8512, "Equalizer8Band", "Calf Equalizer 8 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
830 ////////////////////////////////////////////////////////////////////////////
832 CALF_PORT_NAMES(equalizer12band
) = {"In L", "In R", "Out L", "Out R"};
834 CALF_PORT_PROPS(equalizer12band
) = {
835 BYPASS_AND_LEVEL_PARAMS
839 EQ_BAND_PARAMS(1, 60)
840 EQ_BAND_PARAMS(2, 120)
841 EQ_BAND_PARAMS(3, 250)
842 EQ_BAND_PARAMS(4, 500)
843 EQ_BAND_PARAMS(5, 1000)
844 EQ_BAND_PARAMS(6, 2000)
845 EQ_BAND_PARAMS(7, 4000)
846 EQ_BAND_PARAMS(8, 8000)
851 CALF_PLUGIN_INFO(equalizer12band
) = { 0x8513, "Equalizer12Band", "Calf Equalizer 12 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "EQPlugin" };
853 ////////////////////////////////////////////////////////////////////////////
855 #define GRAPHICEQ_BAND_PARAMS(band) \
856 { 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 },\
857 { 33, 10, 25000, 0, PF_INT | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "freq" #band, "Freq " #band },\
858 { 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 },
860 #define GRAPHICEQ_GAIN_PARAMS(band) \
861 { 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 },\
862 { 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 },
864 const char *equalizer30band_filters_modes
[] = {"Butterworth", "Chebyshev 1", "Chebyshev 2"};
866 const char *equalizer30band_gainscale_modes1
[] = {"6 dB", "12 dB", "18 dB", "24 dB", "30 dB"};
868 CALF_PORT_NAMES(equalizer30band
) = {"In L", "In R", "Out L", "Out R"};
870 CALF_PORT_PROPS(equalizer30band
) = {
872 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_in", "In Level" },
873 { 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" },
874 { 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" },
875 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_clipL", "Level Clip In L" },
876 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_in_clipR", "Level Clip In R" },
878 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
879 { 0, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, equalizer30band_filters_modes
, "filters", "Filters Type" },
881 { 18, 6, 30, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "gainscale1", "Gain scale 1" },
882 { 18, 6, 30, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "gainscale2", "Gain scale 2" },
884 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "level_out", "Out Level" },
885 { 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" },
886 { 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" },
887 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_clipL", "Level Clip Out L" },
888 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "level_out_clipR", "Level Clip Out R" },
891 GRAPHICEQ_GAIN_PARAMS(10)
892 GRAPHICEQ_BAND_PARAMS(11)
893 GRAPHICEQ_BAND_PARAMS(12)
894 GRAPHICEQ_BAND_PARAMS(13)
895 GRAPHICEQ_BAND_PARAMS(14)
896 GRAPHICEQ_BAND_PARAMS(15)
897 GRAPHICEQ_BAND_PARAMS(16)
898 GRAPHICEQ_BAND_PARAMS(17)
899 GRAPHICEQ_BAND_PARAMS(18)
900 GRAPHICEQ_BAND_PARAMS(19)
901 GRAPHICEQ_BAND_PARAMS(110)
902 GRAPHICEQ_BAND_PARAMS(111)
903 GRAPHICEQ_BAND_PARAMS(112)
904 GRAPHICEQ_BAND_PARAMS(113)
905 GRAPHICEQ_BAND_PARAMS(114)
906 GRAPHICEQ_BAND_PARAMS(115)
907 GRAPHICEQ_BAND_PARAMS(116)
908 GRAPHICEQ_BAND_PARAMS(117)
909 GRAPHICEQ_BAND_PARAMS(118)
910 GRAPHICEQ_BAND_PARAMS(119)
911 GRAPHICEQ_BAND_PARAMS(120)
912 GRAPHICEQ_BAND_PARAMS(121)
913 GRAPHICEQ_BAND_PARAMS(122)
914 GRAPHICEQ_BAND_PARAMS(123)
915 GRAPHICEQ_BAND_PARAMS(124)
916 GRAPHICEQ_BAND_PARAMS(125)
917 GRAPHICEQ_BAND_PARAMS(126)
918 GRAPHICEQ_BAND_PARAMS(127)
919 GRAPHICEQ_BAND_PARAMS(128)
920 GRAPHICEQ_BAND_PARAMS(129)
921 GRAPHICEQ_BAND_PARAMS(130)
924 GRAPHICEQ_GAIN_PARAMS(20)
925 GRAPHICEQ_BAND_PARAMS(21)
926 GRAPHICEQ_BAND_PARAMS(22)
927 GRAPHICEQ_BAND_PARAMS(23)
928 GRAPHICEQ_BAND_PARAMS(24)
929 GRAPHICEQ_BAND_PARAMS(25)
930 GRAPHICEQ_BAND_PARAMS(26)
931 GRAPHICEQ_BAND_PARAMS(27)
932 GRAPHICEQ_BAND_PARAMS(28)
933 GRAPHICEQ_BAND_PARAMS(29)
934 GRAPHICEQ_BAND_PARAMS(210)
935 GRAPHICEQ_BAND_PARAMS(211)
936 GRAPHICEQ_BAND_PARAMS(212)
937 GRAPHICEQ_BAND_PARAMS(213)
938 GRAPHICEQ_BAND_PARAMS(214)
939 GRAPHICEQ_BAND_PARAMS(215)
940 GRAPHICEQ_BAND_PARAMS(216)
941 GRAPHICEQ_BAND_PARAMS(217)
942 GRAPHICEQ_BAND_PARAMS(218)
943 GRAPHICEQ_BAND_PARAMS(219)
944 GRAPHICEQ_BAND_PARAMS(220)
945 GRAPHICEQ_BAND_PARAMS(221)
946 GRAPHICEQ_BAND_PARAMS(222)
947 GRAPHICEQ_BAND_PARAMS(223)
948 GRAPHICEQ_BAND_PARAMS(224)
949 GRAPHICEQ_BAND_PARAMS(225)
950 GRAPHICEQ_BAND_PARAMS(226)
951 GRAPHICEQ_BAND_PARAMS(227)
952 GRAPHICEQ_BAND_PARAMS(228)
953 GRAPHICEQ_BAND_PARAMS(229)
954 GRAPHICEQ_BAND_PARAMS(230)
959 CALF_PLUGIN_INFO(equalizer30band
) = { 0x8514, "Equalizer30Band", "Calf Equalizer 30 Band", "Calf Studio Gear / drgreenthumb", calf_plugins::calf_copyright_info
, "EQPlugin" };
961 ////////////////////////////////////////////////////////////////////////////
963 #define XOVER_BAND_PARAMS(band) \
964 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "level" #band, "Gain " #band }, \
965 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "active" #band, "Active " #band }, \
966 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "phase" #band, "Phase " #band }, \
967 { 0.0, 0.0, 20.0, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "delay" #band, "Delay " #band }, \
968 { 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 }, \
969 { 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 },
971 ////////////////////////////////////////////////////////////////////////////
973 CALF_PORT_NAMES(xover2
) = {"In L", "In R", "Out 1 L", "Out 1 R", "Out 2 L", "Out 2 R"};
975 CALF_PORT_PROPS(xover2
) = {
976 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
977 { 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" },
978 { 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" },
979 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
980 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
985 CALF_PLUGIN_INFO(xover2
) = { 0x8515, "XOver2Band", "Calf X-Over 2 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
987 ////////////////////////////////////////////////////////////////////////////
989 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"};
991 CALF_PORT_PROPS(xover3
) = {
992 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
993 { 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" },
994 { 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" },
995 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
996 { 150, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
997 { 3000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
1000 XOVER_BAND_PARAMS(3)
1003 CALF_PLUGIN_INFO(xover3
) = { 0x8515, "XOver3Band", "Calf X-Over 3 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1005 ////////////////////////////////////////////////////////////////////////////
1007 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"};
1009 CALF_PORT_PROPS(xover4
) = {
1010 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
1011 { 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" },
1012 { 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" },
1013 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
1014 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
1015 { 500, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
1016 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq2", "Transition 3" },
1017 XOVER_BAND_PARAMS(1)
1018 XOVER_BAND_PARAMS(2)
1019 XOVER_BAND_PARAMS(3)
1020 XOVER_BAND_PARAMS(4)
1023 CALF_PLUGIN_INFO(xover4
) = { 0x8515, "XOver4Band", "Calf X-Over 4 Band", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1025 ////////////////////////////////////////////////////////////////////////////
1027 #define VOCODER_BAND_PARAMS(band) \
1028 { 1, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "volume" #band, "Vol " #band }, \
1029 { 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "pan" #band, "Pan " #band }, \
1030 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "noise" #band, "Noise " #band }, \
1031 { 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "mod" #band, "Dry " #band }, \
1032 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band, "Solo " #band }, \
1033 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "level" #band, "Level " #band },
1035 const char *vocoder_analyzer_modes
[] = {"Off", "Carrier", "Modulator", "Processed", "Output"};
1037 CALF_PORT_NAMES(vocoder
) = {"In L", "In R", "Out L", "Out R"};
1039 CALF_PORT_PROPS(vocoder
) = {
1040 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1041 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "link", "Link" },
1042 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "detectors", "Detectors" },
1044 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "carrier_in", "Carrier In" },
1045 { 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" },
1046 { 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" },
1047 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_clip_inL", "Carrier Clip In L" },
1048 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "carrier_clip_inR", "Carrier Clip In R" },
1050 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "mod_in", "Modulator In" },
1051 { 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" },
1052 { 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" },
1053 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_clip_inL", "Modulator Clip In L" },
1054 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "mod_clip_inR", "Modulator Clip In R" },
1056 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "out", "Out" },
1057 { 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" },
1058 { 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" },
1059 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "Clip Out L" },
1060 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "Clip Out R" },
1062 { 0, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "carrier", "Carrier" },
1063 { 0, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "modulator", "Modulator" },
1064 { 1, 0.000015849, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "processed", "Processed" },
1066 { 4, 2, 9, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "order", "Isolation" },
1067 { 2, 0, 4, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "bands", "Bands" },
1068 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "hiq", "High-Q" },
1070 { 5.f
, 0.1f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
1071 { 50.f
, 0.1f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
1073 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, vocoder_analyzer_modes
, "analyzer", "Analyzer" },
1075 VOCODER_BAND_PARAMS(1)
1076 VOCODER_BAND_PARAMS(2)
1077 VOCODER_BAND_PARAMS(3)
1078 VOCODER_BAND_PARAMS(4)
1079 VOCODER_BAND_PARAMS(5)
1080 VOCODER_BAND_PARAMS(6)
1081 VOCODER_BAND_PARAMS(7)
1082 VOCODER_BAND_PARAMS(8)
1083 VOCODER_BAND_PARAMS(9)
1084 VOCODER_BAND_PARAMS(10)
1085 VOCODER_BAND_PARAMS(11)
1086 VOCODER_BAND_PARAMS(12)
1087 VOCODER_BAND_PARAMS(13)
1088 VOCODER_BAND_PARAMS(14)
1089 VOCODER_BAND_PARAMS(15)
1090 VOCODER_BAND_PARAMS(16)
1091 VOCODER_BAND_PARAMS(17)
1092 VOCODER_BAND_PARAMS(18)
1093 VOCODER_BAND_PARAMS(19)
1094 VOCODER_BAND_PARAMS(20)
1095 VOCODER_BAND_PARAMS(21)
1096 VOCODER_BAND_PARAMS(22)
1097 VOCODER_BAND_PARAMS(23)
1098 VOCODER_BAND_PARAMS(24)
1099 VOCODER_BAND_PARAMS(25)
1100 VOCODER_BAND_PARAMS(26)
1101 VOCODER_BAND_PARAMS(27)
1102 VOCODER_BAND_PARAMS(28)
1103 VOCODER_BAND_PARAMS(29)
1104 VOCODER_BAND_PARAMS(30)
1105 VOCODER_BAND_PARAMS(31)
1106 VOCODER_BAND_PARAMS(32)
1111 CALF_PLUGIN_INFO(vocoder
) = { 0x8514, "Vocoder", "Calf Vocoder", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "FilterPlugin" };
1114 ////////////////////////////////////////////////////////////////////////////
1116 CALF_PORT_NAMES(pulsator
) = {"In L", "In R", "Out L", "Out R"};
1118 const char *pulsator_mode_names
[] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" };
1120 CALF_PORT_PROPS(pulsator
) = {
1121 BYPASS_AND_LEVEL_PARAMS
1123 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, pulsator_mode_names
, "mode", "Mode" },
1124 { 1, 0.01, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Frequency" },
1125 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "amount", "Modulation" },
1126 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "offset", "Offset L/R" },
1127 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mono", "Mono-in" },
1128 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
1132 CALF_PLUGIN_INFO(pulsator
) = { 0x8514, "Pulsator", "Calf Pulsator", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
1134 ////////////////////////////////////////////////////////////////////////////
1136 CALF_PORT_NAMES(ringmodulator
) = {"In L", "In R", "Out L", "Out R"};
1138 const char *ringmod_mode_names
[] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" };
1140 CALF_PORT_PROPS(ringmodulator
) = {
1141 BYPASS_AND_LEVEL_PARAMS
1143 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "mod_mode", "Modulator" },
1144 { 1000, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_freq", "Mod Freq" },
1145 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "mod_amount", "Mod Amount" },
1146 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "mod_phase", "Mod Phase" },
1147 { 0, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "mod_detune", "Mod Detune" },
1148 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mod_listen", "Listen" },
1150 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "lfo1_mode", "LFO 1" },
1151 { 0.1, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_freq", "LFO 1 Freq" },
1152 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "lfo1_reset", "Reset 1" },
1153 { 100, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_mod_freq_lo", "Mod Freq LO" },
1154 { 10000, 1, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_mod_freq_hi", "Mod Freq HI" },
1155 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo1_mod_freq_active", "Mod Freq Active" },
1156 { -100, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo1_mod_detune_lo", "Mod Detune LO" },
1157 { 100, -200, 200, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo1_mod_detune_hi", "Mod Detune HI" },
1158 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo1_mod_detune_active", "Mod Detune Active" },
1159 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "lfo1_activity", "Activity 1" },
1161 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, ringmod_mode_names
, "lfo2_mode", "LFO 2" },
1162 { 0.2, 0.01, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_freq", "LFO 2 Freq" },
1163 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "lfo2_reset", "Reset 2" },
1164 { 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" },
1165 { 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" },
1166 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo2_lfo1_freq_active", "LFO 1 Freq Active" },
1167 { 0.3, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "lfo2_mod_amount_lo", "Mod Amount LO" },
1168 { 0.6, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "lfo2_mod_amount_hi", "Mod Amount HI" },
1169 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo2_mod_amount_active", "Mod Amount Active" },
1170 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "lfo2_activity", "Activity 2" },
1175 CALF_PLUGIN_INFO(ringmodulator
) = { 0x8514, "RingModulator", "Calf Ring Modulator", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "ModulatorPlugin" };
1178 ////////////////////////////////////////////////////////////////////////////
1180 CALF_PORT_NAMES(saturator
) = {"In L", "In R", "Out L", "Out R"};
1182 CALF_PORT_PROPS(saturator
) = {
1183 BYPASS_AND_LEVEL_PARAMS
1185 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
1187 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Saturation" },
1188 { 10, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend" },
1190 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_pre_freq", "Lowpass" },
1191 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_pre_freq", "Highpass" },
1193 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_post_freq", "Lowpass" },
1194 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_post_freq", "Highpass" },
1196 { 2000, 80, 8000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "p_freq", "Tone" },
1197 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "p_level", "Amount" },
1198 { 1, 0.1, 10, 1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "p_q", "Gradient" },
1202 CALF_PLUGIN_INFO(saturator
) = { 0x8530, "Saturator", "Calf Saturator", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1204 ////////////////////////////////////////////////////////////////////////////
1206 CALF_PORT_NAMES(exciter
) = {"In L", "In R", "Out L", "Out R"};
1208 CALF_PORT_PROPS(exciter
) = {
1209 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1210 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1211 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1212 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
1213 { 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" },
1214 { 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" },
1215 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
1216 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
1218 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
1219 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
1220 { 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" },
1222 { 7500, 2000, 12000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
1223 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1224 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "ceil_active", "Ceiling active" },
1225 { 16000, 10000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "ceil", "Ceiling" },
1229 CALF_PLUGIN_INFO(exciter
) = { 0x8531, "Exciter", "Calf Exciter", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SpectralPlugin" };
1231 ////////////////////////////////////////////////////////////////////////////
1233 CALF_PORT_NAMES(bassenhancer
) = {"In L", "In R", "Out L", "Out R"};
1235 CALF_PORT_PROPS(bassenhancer
) = {
1236 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1237 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1238 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1239 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
1240 { 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" },
1241 { 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" },
1242 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
1243 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
1245 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
1246 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
1247 { 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" },
1249 { 100, 10, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
1250 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1251 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "floor_active", "Floor active" },
1252 { 20, 10, 120, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "floor", "Floor" },
1256 CALF_PLUGIN_INFO(bassenhancer
) = { 0x8532, "BassEnhancer", "Calf Bass Enhancer", "Calf Studio Gear / Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SpectralPlugin" };
1258 ////////////////////////////////////////////////////////////////////////////
1260 CALF_PORT_NAMES(stereo
) = {"In L", "In R", "Out L", "Out R"};
1261 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)" };
1262 CALF_PORT_PROPS(stereo
) = {
1263 BYPASS_AND_LEVEL_PARAMS
1266 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "balance_in", "Balance In" },
1267 { 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 Out" },
1269 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1270 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1271 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1272 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1273 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1275 { 0, 0, 6, 0, PF_ENUM
| PF_CTL_COMBO
, stereo_mode_names
, "mode", "Mode" },
1277 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "slev", "S Level" },
1278 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "sbal", "S Balance" },
1279 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mlev", "M Level" },
1280 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mpan", "M Panorama" },
1282 { 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" },
1283 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "delay", "Delay" },
1285 { 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" },
1287 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1288 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1292 CALF_PLUGIN_INFO(stereo
) = { 0x8588, "StereoTools", "Calf Stereo Tools", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "SpatialPlugin" };
1294 ////////////////////////////////////////////////////////////////////////////
1296 CALF_PORT_NAMES(haas_enhancer
) = {"In L", "In R", "Out L", "Out R"};
1298 const char *haas_enhancer_source
[] = {
1306 CALF_PORT_PROPS(haas_enhancer
) = {
1307 BYPASS_AND_LEVEL_PARAMS
1308 { 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" },
1310 { 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" },
1311 { 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" },
1313 { 2, 0, 4, 1, PF_ENUM
| PF_CTL_COMBO
, haas_enhancer_source
, "m_source", "Middle source" },
1314 { 0.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "m_phase", "Middle phase" },
1316 { 2.05, 0.0, 10.0, 0.01, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "s_delay1", "Left Delay" },
1317 { 0.0, -1.0, 1.0, 0.01, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "s_balance1", "Left Balance" },
1318 { 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" },
1319 { 0.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "s_phase1", "Left Phase" },
1321 { 2.12, 0.0, 10.0, 0.01, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "s_delay2", "Right Delay" },
1322 { 0.0, -1.0, 1.0, 0.01, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "s_balance2", "Right Balance" },
1323 { 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" },
1324 { 1.0, 0.0, 1.0, 1.0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "s_phase2", "Right Phase" },
1328 CALF_PLUGIN_INFO(haas_enhancer
) = { 0x8486, "HaasEnhancer", "Calf Haas Stereo Enhancer", "Calf Studio Gear / Vladimir Sadovnikov", calf_plugins::calf_copyright_info
, "SpatialPlugin" };
1330 ////////////////////////////////////////////////////////////////////////////
1332 CALF_PORT_NAMES(mono
) = {"In", "Out L", "Out R"};
1333 CALF_PORT_PROPS(mono
) = {
1334 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1335 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1336 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1337 { 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" },
1338 { 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" },
1339 { 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" },
1340 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
1341 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
1342 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
1344 { 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" },
1346 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1347 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1348 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1349 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1350 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1352 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "delay", "Delay" },
1353 { 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" },
1354 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1355 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1359 CALF_PLUGIN_INFO(mono
) = { 0x8589, "MonoInput", "Calf Mono Input", "Calf Studio Gear / Markus Schmidt", calf_plugins::calf_copyright_info
, "UtilityPlugin" };
1362 ////////////////////////////////////////////////////////////////////////////
1364 CALF_PORT_NAMES(analyzer
) = {"In L", "In R", "Out L", "Out R"};
1365 const char *gonio_mode_names
[] = { "Small Dots", "Medium Dots", "Big Dots", "Fields", "Lines (High CPU)" };
1366 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" };
1367 const char *analyzer_smooth_names
[] = { "Off", "Falling", "Transition" };
1368 const char *analyzer_post_names
[] = { "Normalized", "Average", "Additive", "Denoised Peaks" };
1369 const char *analyzer_view_names
[] = { "Bars", "Lines", "Cubic Splines" };
1370 const char *analyzer_scale_names
[] = { "Logarithmic", "Linear" };
1371 const char *analyzer_windowing_names
[] = { "Rectangular", "Hamming", "von Hann", "Blackman", "Blackman-Harris", "Blackman-Nuttall", "Sine", "Lanczos", "Gauß", "Bartlett", "Triangular", "Bartlett-Hann" };
1372 CALF_PORT_PROPS(analyzer
) = {
1373 { 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" },
1374 { 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" },
1375 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_L", "Clip L" },
1376 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_R", "Clip R" },
1378 { 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" },
1379 { 0, 0, 10, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_mode_names
, "analyzer_mode", "Analyzer Mode" },
1380 { 0, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_scale_names
, "analyzer_scale", "Analyzer Scale" },
1381 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_post_names
, "analyzer_post", "Analyzer Post FFT" },
1382 { 1, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_view_names
, "analyzer_view", "Analyzer View" },
1383 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_smooth_names
, "analyzer_smoothing", "Analyzer Smoothing" },
1384 { 2, 0, 11, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_windowing_names
, "analyzer_windowing", "Analyzer Windowing" },
1385 { 7, 2, 8, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_accuracy", "Analyzer Accuracy" },
1386 { 15, 1, 15, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_speed", "Analyzer Speed" },
1387 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_display", "Analyzer Display" },
1388 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_hold", "Analyzer Hold" },
1389 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_freeze", "Analyzer Freeze" },
1391 { 1, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, gonio_mode_names
, "gonio_mode", "Gonio Mode" },
1392 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_use_fade", "Gonio Fade Active" },
1393 { 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" },
1394 { 4, 1, 5, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "gonio_accuracy", "Gonio Accuracy" },
1395 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_display", "Gonio Display" },
1400 CALF_PLUGIN_INFO(analyzer
) = { 0x8588, "Analyzer", "Calf Analyzer", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "AnalyserPlugin" };
1402 ////////////////////////////////////////////////////////////////////////////
1403 const char *transientdesigner_view_names
[] = { "Output", "Envelope", "Attack", "Release" };
1404 const char *transientdesigner_filter_modes
[] = { "Off", "12dB", "24dB", "36dB" };
1405 CALF_PORT_NAMES(transientdesigner
) = {"In L", "In R", "Out L", "Out R"};
1406 CALF_PORT_PROPS(transientdesigner
) = {
1407 BYPASS_AND_LEVEL_PARAMS
1409 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mix", "Mix" },
1410 { 30.f
, 1.f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack_time", "Attack Time" },
1411 { 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" },
1412 { 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" },
1413 { 300.f
, 1.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release_time", "Release Time" },
1414 { 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" },
1415 { 2000.f
, 50.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "display", "Display" },
1416 { 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" },
1417 { 0, 0, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SAMPLES
, NULL
, "lookahead", "Lookahead" },
1418 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_view_names
, "view", "View Mode" },
1419 { 100, 20,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "hipass", "Highpass" },
1420 { 5000, 20,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lopass", "Lowpass" },
1421 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_filter_modes
, "hp_mode", "HP-Mode" },
1422 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, transientdesigner_filter_modes
, "lp_mode", "LP-Mode" },
1423 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
1427 CALF_PLUGIN_INFO(transientdesigner
) = { 0x8588, "TransientDesigner", "Calf Transient Designer", "Calf Studio Gear / Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "EnvelopePlugin" };
1429 ////////////////////////////////////////////////////////////////////////////
1431 CALF_PORT_NAMES(tapesimulator
) = {"In L", "In R", "Out L", "Out R"};
1432 const char *tapesimulator_speed_names
[] = { "Slow", "Fast" };
1433 CALF_PORT_PROPS(tapesimulator
) = {
1434 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1435 { 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" },
1436 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output Gain" },
1438 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "mix", "Mix" },
1439 { 12500, 1000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lowpass", "Filter" },
1440 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, tapesimulator_speed_names
, "speed", "Speed Simulation" },
1441 { 0.10, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "noise", "Noise" },
1442 { 0.20, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "mechanical", "Mechanical" },
1443 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "magnetical", "Magnetical" },
1444 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "post", "Post-Filter" },
1448 CALF_PLUGIN_INFO(tapesimulator
) = { 0x8588, "TapeSimulator", "Calf Tape Simulator", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "SimulatorPlugin" };
1450 ////////////////////////////////////////////////////////////////////////////
1452 CALF_PORT_NAMES(crusher
) = {"In L", "In R", "Out L", "Out R"};
1453 const char *crusher_mode_names
[] = { "Linear", "Logarithmic" };
1454 CALF_PORT_PROPS(crusher
) = {
1455 BYPASS_AND_LEVEL_PARAMS
1457 { 4, 1, 16, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_COEF
, NULL
, "bits", "Bit Reduction" },
1458 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "morph", "Morph" },
1459 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, crusher_mode_names
, "mode", "Mode" },
1460 { 1, 0.25, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "dc", "DC" },
1461 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "anti_aliasing", "Anti-Aliasing" },
1462 { 1, 1, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "samples", "Sample Reduction" },
1463 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "lfo", "LFO Active" },
1464 { 20, 1, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "lforange", "LFO Depth" },
1465 { 0.3, 0.01, 200, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lforate", "LFO Rate" },
1469 CALF_PLUGIN_INFO(crusher
) = { 0x8587, "Crusher", "Calf Crusher", "Calf Studio Gear / Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1471 ////////////////////////////////////////////////////////////////////////////
1473 CALF_PORT_NAMES(monosynth
) = {
1477 const char *monosynth_waveform_names
[] = { "Sawtooth", "Square", "Pulse", "Sine", "Triangle", "Varistep", "Skewed Saw", "Skewed Square",
1478 "Smooth Brass", "Bass", "Dark FM", "Multiwave", "Bell FM", "Dark Pad", "DCO Saw", "DCO Maze" };
1479 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" };
1480 const char *monosynth_legato_names
[] = { "Retrig", "Legato", "Fng Retrig", "Fng Legato" };
1481 const char *monosynth_lfotrig_names
[] = { "Retrig", "Free" };
1483 const char *monosynth_filter_choices
[] = {
1486 "2x12dB/oct Lowpass",
1487 "12dB/oct Highpass",
1491 "2x6dB/oct Bandpass",
1494 CALF_PLUGIN_INFO(monosynth
) = { 0x8480, "Monosynth", "Calf Monosynth", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1496 CALF_PORT_PROPS(monosynth
) = {
1497 { 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" },
1498 { 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" },
1500 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_pw", "Osc1 PW" },
1501 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o2_pw", "Osc2 PW" },
1503 { 10, 0, 100, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o12_detune", "O1<>2 Detune" },
1504 { 12, -24, 24, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2_xpose", "Osc2 Transpose" },
1505 { 0, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_mode_names
, "phase_mode", "Phase mode" },
1506 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "o12_mix", "O1<>2 Mix" },
1507 { 1, 0, 7, 0, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, monosynth_filter_choices
, "filter", "Filter" },
1508 { 33, 10,16000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "cutoff", "Cutoff" },
1509 { 3, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "res", "Resonance" },
1510 { 0, -2400, 2400, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "filter_sep", "Separation" },
1511 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "env2cutoff", "Env->Cutoff" },
1512 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "env2res", "Env->Res" },
1513 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "env2amp", "Env->Amp" },
1515 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1516 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1517 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1518 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1519 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1521 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "key_follow", "Key Follow" },
1522 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_legato_names
, "legato", "Legato Mode" },
1523 { 1, 1, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "portamento", "Portamento" },
1525 { 0.5, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2filter", "Vel->Filter" },
1526 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2amp", "Vel->Amp" },
1528 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1530 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1532 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo_rate", "LFO1 Rate" },
1533 { 0.5, 0, 5, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo_delay", "LFO1 Delay" },
1534 { 0, -4800, 4800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2filter", "LFO1->Filter" },
1535 { 100, 0, 1200, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2pitch", "LFO1->Pitch" },
1536 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "lfo2pw", "LFO1->PW" },
1537 { 1, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mwhl2lfo", "ModWheel->LFO1" },
1539 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "scale_detune", "Scale Detune" },
1541 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "adsr2_cutoff", "EG2->Cutoff" },
1542 { 0.3, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "adsr2_res", "EG2->Res" },
1543 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "adsr2_amp", "EG2->Amp" },
1545 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1546 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1547 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1548 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1549 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "Release" },
1551 { 1, 1, 16, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "o1_stretch", "Osc1 Stretch" },
1552 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_window", "Osc1 Window" },
1554 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo1_trig", "LFO1 Trigger Mode" },
1555 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo2_trig", "LFO2 Trigger Mode" },
1556 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO1 Rate" },
1557 { 0.5, 0.1, 5, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo2_delay", "LFO1 Delay" },
1558 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "o2_unison", "Osc2 Unison" },
1559 { 2, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "o2_unisonfrq", "Osc2 Unison Detune" },
1560 { 0, -24, 24, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o1_xpose", "Osc1 Transpose" },
1564 static const char *monosynth_mod_src_names
[] = {
1576 static const char *monosynth_mod_dest_names
[] = {
1579 "Osc Mix Ratio (%)",
1587 "O2: Unison Amt (%)",
1588 "O2: Unison Detune (log2)",
1592 monosynth_metadata::monosynth_metadata()
1593 : mm_metadata(mod_matrix_slots
, monosynth_mod_src_names
, monosynth_mod_dest_names
)
1597 void monosynth_metadata::get_configure_vars(vector
<string
> &names
) const
1599 mm_metadata
.get_configure_vars(names
);
1602 ////////////////////////////////////////////////////////////////////////////
1604 CALF_PLUGIN_INFO(organ
) = { 0x8481, "Organ", "Calf Organ", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1606 plugin_command_info
*organ_metadata::get_commands() const
1608 static plugin_command_info cmds
[] = {
1609 { "cmd_panic", "Panic!", "Stop all sounds and reset all controllers" },
1615 CALF_PORT_NAMES(organ
) = {"Out L", "Out R"};
1617 const char *organ_percussion_trigger_names
[] = { "First note", "Each note", "Each, no retrig", "Polyphonic" };
1619 const char *organ_wave_names
[] = {
1621 "S0", "S00", "S000",
1622 "SSaw", "SSqr", "SPls",
1623 "Saw", "Sqr", "Pls",
1624 "S(", "Sq(", "S+", "Clvg",
1626 "W1", "W2", "W3", "W4", "W5", "W6", "W7", "W8", "W9",
1627 "DSaw", "DSqr", "DPls",
1628 "P:SynS","P:WideS","P:Sine","P:Bell","P:Space","P:Voice","P:Hiss","P:Chant",
1631 const char *organ_routing_names
[] = { "Out", "Flt 1", "Flt 2" };
1633 const char *organ_ampctl_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "All" };
1635 const char *organ_vibrato_mode_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "Voice", "Global" };
1637 const char *organ_vibrato_type_names
[] = { "Allpass", "Scanner (V1/C1)", "Scanner (V2/C2)", "Scanner (V3/C3)", "Scanner (Full)" };
1639 const char *organ_filter_type_names
[] = { "12dB/oct LP", "12dB/oct HP" };
1641 const char *organ_filter_send_names
[] = { "Output", "Filter 2" };
1643 CALF_PORT_PROPS(organ
) = {
1644 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l1", "16'" },
1645 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l2", "5 1/3'" },
1646 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l3", "8'" },
1647 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l4", "4'" },
1648 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l5", "2 2/3'" },
1649 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l6", "2'" },
1650 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l7", "1 3/5'" },
1651 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l8", "1 1/3'" },
1652 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l9", "1'" },
1654 { 1, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f1", "Freq 1" },
1655 { 3, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f2", "Freq 2" },
1656 { 2, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f3", "Freq 3" },
1657 { 4, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f4", "Freq 4" },
1658 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f5", "Freq 5" },
1659 { 8, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f6", "Freq 6" },
1660 { 10, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f7", "Freq 7" },
1661 { 12, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f8", "Freq 8" },
1662 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f9", "Freq 9" },
1664 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w1", "Wave 1" },
1665 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w2", "Wave 2" },
1666 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w3", "Wave 3" },
1667 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w4", "Wave 4" },
1668 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w5", "Wave 5" },
1669 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w6", "Wave 6" },
1670 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w7", "Wave 7" },
1671 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w8", "Wave 8" },
1672 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w9", "Wave 9" },
1674 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune1", "Detune 1" },
1675 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune2", "Detune 2" },
1676 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune3", "Detune 3" },
1677 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune4", "Detune 4" },
1678 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune5", "Detune 5" },
1679 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune6", "Detune 6" },
1680 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune7", "Detune 7" },
1681 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune8", "Detune 8" },
1682 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune9", "Detune 9" },
1684 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase1", "Phase 1" },
1685 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase2", "Phase 2" },
1686 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase3", "Phase 3" },
1687 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase4", "Phase 4" },
1688 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase5", "Phase 5" },
1689 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase6", "Phase 6" },
1690 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase7", "Phase 7" },
1691 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase8", "Phase 8" },
1692 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase9", "Phase 9" },
1694 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan1", "Pan 1" },
1695 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan2", "Pan 2" },
1696 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan3", "Pan 3" },
1697 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan4", "Pan 4" },
1698 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan5", "Pan 5" },
1699 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan6", "Pan 6" },
1700 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan7", "Pan 7" },
1701 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan8", "Pan 8" },
1702 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan9", "Pan 9" },
1704 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing1", "Routing 1" },
1705 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing2", "Routing 2" },
1706 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing3", "Routing 3" },
1707 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing4", "Routing 4" },
1708 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing5", "Routing 5" },
1709 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing6", "Routing 6" },
1710 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing7", "Routing 7" },
1711 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing8", "Routing 8" },
1712 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing9", "Routing 9" },
1714 { 96 + 12, 0, 127, 128, PF_INT
| PF_CTL_KNOB
| PF_UNIT_NOTE
, NULL
, "foldnote", "Foldover" },
1716 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_decay", "P: Carrier Decay" },
1717 { 0.25, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "perc_level", "P: Level" },
1718 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_waveform", "P: Carrier Wave" },
1719 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_harmonic", "P: Carrier Frq" },
1720 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2amp", "P: Vel->Amp" },
1722 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_fm_decay", "P: Modulator Decay" },
1723 { 0, 0, 4, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_fm_depth", "P: FM Depth" },
1724 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_fm_waveform", "P: Modulator Wave" },
1725 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_fm_harmonic", "P: Modulator Frq" },
1726 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2fm", "P: Vel->FM" },
1728 { 0, 0, organ_enums::perctrig_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_percussion_trigger_names
, "perc_trigger", "P: Trigger" },
1729 { 90, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "perc_stereo", "P: Stereo Phase" },
1731 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_send_names
, "filter_chain", "Filter 1 To" },
1732 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_type_names
, "filter1_type", "Filter 1 Type" },
1733 { 0.1, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
| PF_PROP_GRAPH
, NULL
, "master", "Volume" },
1735 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f1_cutoff", "F1 Cutoff" },
1736 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f1_res", "F1 Res" },
1737 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env1", "F1 Env1" },
1738 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env2", "F1 Env2" },
1739 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env3", "F1 Env3" },
1740 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f1_keyf", "F1 KeyFollow" },
1742 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f2_cutoff", "F2 Cutoff" },
1743 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f2_res", "F2 Res" },
1744 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env1", "F2 Env1" },
1745 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env2", "F2 Env2" },
1746 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env3", "F2 Env3" },
1747 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f2_keyf", "F2 KeyFollow" },
1749 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1750 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1751 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1752 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1753 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1754 { 0, 0, organ_enums::ampctl_count
- 1,
1755 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg1_amp_ctl", "EG1 To Amp"},
1757 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1758 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1759 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1760 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1761 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1762 { 0, 0, organ_enums::ampctl_count
- 1,
1763 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg2_amp_ctl", "EG2 To Amp"},
1765 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1766 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1767 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1768 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1769 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1770 { 0, 0, organ_enums::ampctl_count
- 1,
1771 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg3_amp_ctl", "EG3 To Amp"},
1773 { 6.6, 0.01, 240, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "vib_rate", "Vib Rate" },
1774 { 1.0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_amt", "Vib Mod Amt" },
1775 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_wet", "Vib Wet" },
1776 { 180, 0, 360, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vib_phase", "Vib Stereo" },
1777 { organ_enums::lfomode_global
, 0, organ_enums::lfomode_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_mode_names
, "vib_mode", "Vib Mode" },
1778 { organ_enums::lfotype_cv3
, 0, organ_enums::lfotype_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_type_names
, "vib_type", "Vib Type" },
1779 // { 0, 0, organ_enums::ampctl_count - 1,
1780 // 0, PF_INT | PF_CTL_COMBO, organ_ampctl_names, "vel_amp_ctl", "Vel To Amp"},
1782 { -12, -24, 24, 49, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
1783 { 0, -100, 100, 201, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
1785 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "polyphony", "Polyphony" },
1787 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "quad_env", "Quadratic AmpEnv" },
1789 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1791 { 80, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_freq", "Bass Freq" },
1792 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "bass_gain", "Bass Gain" },
1793 { 12000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_freq", "Treble Freq" },
1794 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "treble_gain", "Treble Gain" },
1797 void organ_metadata::get_configure_vars(vector
<string
> &names
) const
1799 names
.push_back("map_curve");
1802 ////////////////////////////////////////////////////////////////////////////
1804 const char *fluidsynth_interpolation_names
[] = { "None (zero-hold)", "Linear", "Cubic", "7-point" };
1806 CALF_PORT_NAMES(fluidsynth
) = {
1810 CALF_PLUGIN_INFO(fluidsynth
) = { 0x8700, "Fluidsynth", "Calf Fluidsynth", "Calf Studio Gear / FluidSynth Team / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1812 CALF_PORT_PROPS(fluidsynth
) = {
1813 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1814 { 2, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, fluidsynth_interpolation_names
, "interpolation", "Interpolation" },
1815 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "reverb", "Reverb" },
1816 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "chorus", "Chorus" },
1819 void fluidsynth_metadata::get_configure_vars(vector
<string
> &names
) const
1821 names
.push_back("soundfont");
1822 names
.push_back("preset_key_set");
1823 for (int i
= 1; i
< 16; i
++)
1824 names
.push_back("preset_key_set" + calf_utils::i2s(i
+ 1));
1827 ////////////////////////////////////////////////////////////////////////////
1829 const char *wavetable_names
[] = {
1861 static const char *wavetable_mod_src_names
[] = {
1875 static const char *wavetable_mod_dest_names
[] = {
1878 "Osc Mix Ratio (%)",
1889 CALF_PORT_NAMES(wavetable
) = {
1893 CALF_PLUGIN_INFO(wavetable
) = { 0x8701, "Wavetable", "Calf Wavetable", "Calf Studio Gear / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "InstrumentPlugin" };
1895 CALF_PORT_PROPS(wavetable
) = {
1896 { 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" },
1897 { 0.2, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o1offset", "Osc1 Ctl"},
1898 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o1trans", "Osc1 Transpose" },
1899 { 6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o1detune", "Osc1 Detune" },
1900 { 0.1, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o1level", "Osc1 Level" },
1902 { 0, 0, wavetable_metadata::wt_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, wavetable_names
, "o2wave", "Osc2 Wave" },
1903 { 0.4, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o2offset", "Osc2 Ctl"},
1904 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2trans", "Osc2 Transpose" },
1905 { -6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o2detune", "Osc2 Detune" },
1906 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o2level", "Osc2 Level" },
1908 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1909 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1910 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1911 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1912 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1913 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1915 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1916 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1917 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1918 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1919 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1920 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1922 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1923 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1924 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1925 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_f", "EG3 Fade" },
1926 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1927 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1929 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1930 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "eg1amp", "EG1->Amp" },
1931 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_rate", "LFO1 Rate" },
1932 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO2 Rate" },
1936 wavetable_metadata::wavetable_metadata()
1937 : mm_metadata(mod_matrix_slots
, wavetable_mod_src_names
, wavetable_mod_dest_names
)
1941 void wavetable_metadata::get_configure_vars(std::vector
<std::string
> &names
) const
1943 mm_metadata
.get_configure_vars(names
);
1946 ////////////////////////////////////////////////////////////////////////////
1948 CALF_PORT_NAMES(pitch
) = {"In L", "In R", "Out L", "Out R"};
1949 CALF_PORT_PROPS(pitch
) = {
1950 { 0.9, 0.1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pd_threshold", "Pitch Det:Peak Threshold" },
1951 { 1, 1, 8, 3, PF_INT
| PF_CTL_KNOB
, NULL
, "pd_subdivide", "Pitch Det:Subdiv" },
1952 { 440, 427, 453, 0.1, PF_FLOAT
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "tune", "Tune" },
1953 { 0, 0, 127, 1, PF_INT
| PF_PROP_OUTPUT
, NULL
, "note", "MIDI Note" },
1954 { 0, -100, 100, 1, PF_FLOAT
| PF_PROP_OUTPUT
, NULL
, "cents", "Cents" },
1955 { 0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_PROP_OUTPUT
, NULL
, "clarity", "Clarity" },
1956 { 1, 1, 20000, 1, PF_FLOAT
| PF_PROP_OUTPUT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Frequency" },
1960 CALF_PLUGIN_INFO(pitch
) = { 0x85AA, "Pitch", "Calf Pitch Tols", "Calf Studio Gear", calf_plugins::calf_copyright_info
, "PitchPlugin" };
1962 ////////////////////////////////////////////////////////////////////////////
1964 calf_plugins::plugin_registry::plugin_registry()
1966 #define PER_MODULE_ITEM(name, isSynth, jackname) plugins.push_back((new name##_metadata));
1967 #include <calf/modulelist.h>