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