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>
28 using namespace calf_plugins
;
30 const char *calf_plugins::calf_copyright_info
= "(C) 2001-2013 Krzysztof Foltman, Thor Harald Johanssen, Markus Schmidt and others; license: LGPL";
31 const char *crossover_filter_choices
[] = { "LR2", "LR4", "LR8" };
32 const char *mb_crossover_filter_choices
[] = { "LR4", "LR8" };
34 ////////////////////////////////////////////////////////////////////////////
35 // A few macros to make
36 const char *eq_analyzer_mode_names
[] = { "Input", "Output", "Difference" };
39 #define BYPASS_AND_LEVEL_PARAMS \
40 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" }, \
41 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_in", "Input Gain" }, \
42 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_out", "Output Gain" },
44 #define METERING_PARAMS \
45 { 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" }, \
46 { 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" }, \
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_outL", "Meter-OutL" }, \
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_outR", "Meter-OutR" }, \
49 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB-InL" }, \
50 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB-InR" }, \
51 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB-OutL" }, \
52 { 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB-OutR" },
55 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hp_active", "HP Active" }, \
56 { 30, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hp_freq", "HP Freq" }, \
57 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "hp_mode", "HP Mode" }, \
58 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "lp_active", "LP Active" }, \
59 { 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "LP Freq" }, \
60 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "LP Mode" }, \
62 #define SHELF_PARAMS \
63 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "ls_active", "LS Active" }, \
64 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level L" }, \
65 { 200, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq L" }, \
66 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hs_active", "HS Active" }, \
67 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level H" }, \
68 { 4000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq H" },
70 #define EQ_BAND_PARAMS(band, frequency) \
71 { 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "p" #band "_active", "F" #band " Active" }, \
72 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p" #band "_level", "Level " #band }, \
73 { frequency, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p" #band "_freq", "Freq " #band }, \
74 { 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p" #band "_q", "Q " #band },
76 #define EQ_DISPLAY_PARAMS \
77 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "individuals", "Individual Filters" }, \
78 { 0.25, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_FADER | PF_UNIT_DB, NULL, "zoom", "Zoom" }, \
79 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "analyzer", "Analyzer Active" }, \
80 { 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, eq_analyzer_mode_names, "analyzer_mode", "Analyzer Mode" }, \
83 ////////////////////////////////////////////////////////////////////////////
85 CALF_PORT_NAMES(flanger
) = {"In L", "In R", "Out L", "Out R"};
87 CALF_PORT_PROPS(flanger
) = {
88 { 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" },
89 { 1.0, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "mod_depth", "Mod depth" },
90 { 0.2, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
91 { 0.90, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
92 { 90, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
93 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
94 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
95 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
99 CALF_PLUGIN_INFO(flanger
) = { 0x847d, "Flanger", "Calf Flanger", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "FlangerPlugin" };
101 ////////////////////////////////////////////////////////////////////////////
103 CALF_PORT_NAMES(phaser
) = {"In L", "In R", "Out L", "Out R"};
105 CALF_PORT_PROPS(phaser
) = {
106 { 1000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "base_freq", "Center Freq" },
107 { 4000, 0, 10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "mod_depth", "Mod depth" },
108 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "mod_rate", "Mod rate" },
109 { 0.25, -0.99, 0.99, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "feedback", "Feedback" },
110 { 6, 1, 12, 12, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "stages", "# Stages" },
111 { 180, 0, 360, 9, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
112 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
113 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
114 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
117 CALF_PLUGIN_INFO(phaser
) = { 0x8484, "Phaser", "Calf Phaser", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "PhaserPlugin" };
119 ////////////////////////////////////////////////////////////////////////////
121 CALF_PORT_NAMES(reverb
) = {"In L", "In R", "Out L", "Out R"};
123 const char *reverb_room_sizes
[] = { "Small", "Medium", "Large", "Tunnel-like", "Large/smooth", "Experimental" };
125 CALF_PORT_PROPS(reverb
) = {
126 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip", "0dB" },
127 { 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" },
128 { 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" },
129 { 1.5, 0.4, 15.0, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "decay_time", "Decay time" },
130 { 5000, 2000,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hf_damp", "High Frq Damp" },
131 { 2, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, reverb_room_sizes
, "room_size", "Room size", },
132 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "diffusion", "Diffusion" },
133 { 0.25, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Wet Amount" },
134 { 1.0, 0, 2, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
135 { 0, 0, 500, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "predelay", "Pre Delay" },
136 { 300, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_cut", "Bass Cut" },
137 { 5000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_cut", "Treble Cut" },
141 CALF_PLUGIN_INFO(reverb
) = { 0x847e, "Reverb", "Calf Reverb", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ReverbPlugin" };
143 ////////////////////////////////////////////////////////////////////////////
145 CALF_PORT_NAMES(filter
) = {"In L", "In R", "Out L", "Out R"};
147 const char *filter_choices
[] = {
157 "6dB/oct Bandreject",
158 "12dB/oct Bandreject",
159 "18dB/oct Bandreject",
162 CALF_PORT_PROPS(filter
) = {
163 { 2000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Frequency" },
164 { 0.707, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "res", "Resonance" },
165 { biquad_filter_module::mode_12db_lp
,
166 biquad_filter_module::mode_12db_lp
,
167 biquad_filter_module::mode_count
- 1,
168 1, PF_ENUM
| PF_CTL_COMBO
, filter_choices
, "mode", "Mode" },
169 { 20, 5, 100, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Inertia"},
172 CALF_PLUGIN_INFO(filter
) = { 0x847f, "Filter", "Calf Filter", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "FilterPlugin" };
174 ////////////////////////////////////////////////////////////////////////////
176 CALF_PORT_NAMES(filterclavier
) = {"In L", "In R", "Out L", "Out R"};
178 CALF_PORT_PROPS(filterclavier
) = {
179 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
180 { 0, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
181 { 32, 0.707, 32, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "maxres", "Max. Resonance" },
182 { biquad_filter_module::mode_6db_bp
,
183 biquad_filter_module::mode_12db_lp
,
184 biquad_filter_module::mode_count
- 1,
185 1, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, filter_choices
, "mode", "Mode" },
186 { 20, 1, 2000, 20, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "inertia", "Portamento time"},
190 CALF_PLUGIN_INFO(filterclavier
) = { 0x849f, "Filterclavier", "Calf Filterclavier", "Krzysztof Foltman / Hans Baier", calf_plugins::calf_copyright_info
, "FilterclavierPlugin" };
192 ////////////////////////////////////////////////////////////////////////////
194 CALF_PORT_NAMES(vintage_delay
) = {"In L", "In R", "Out L", "Out R"};
196 const char *vintage_delay_mixmodes
[] = {
203 const char *vintage_delay_fbmodes
[] = {
209 CALF_PORT_PROPS(vintage_delay
) = {
210 { 120, 30, 300, 1, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_BPM
, NULL
, "bpm", "Tempo" },
211 { 4, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "subdiv", "Subdivide"},
212 { 3, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_l", "Time L"},
213 { 5, 1, 16, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "time_r", "Time R"},
214 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "feedback", "Feedback" },
215 { 0.25, 0, 4, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "amount", "Amount" },
216 { 1, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_mixmodes
, "mix_mode", "Mix mode" },
217 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, vintage_delay_fbmodes
, "medium", "Medium" },
218 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
219 { 1.0, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "width", "Stereo Width" },
220 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "tap", "Tap" },
221 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "waiting", "Waiting" },
225 CALF_PLUGIN_INFO(vintage_delay
) = { 0x8482, "VintageDelay", "Calf Vintage Delay", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DelayPlugin" };
227 ////////////////////////////////////////////////////////////////////////////
228 CALF_PORT_NAMES(comp_delay
) = { "In", "Out" };
230 CALF_PORT_PROPS(comp_delay
) = {
231 { 0, 0, 10, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_mm", "Distance (mm)"},
232 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_cm", "Distance (cm)"},
233 { 0, 0, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "distance_m", "Distance (m)"},
234 { 0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
235 { 1.0, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "wet", "Wet Amount" },
236 { 20, -50, 50, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "temp", "Temperature °C"},
237 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
240 CALF_PLUGIN_INFO(comp_delay
) = { 0x8485, "CompensationDelay", "Calf Compensation Delay Line", "Vladimir Sadovnikov", calf_plugins::calf_copyright_info
, "DelayPlugin" };
242 ////////////////////////////////////////////////////////////////////////////
244 CALF_PORT_NAMES(rotary_speaker
) = {"In L", "In R", "Out L", "Out R"};
246 const char *rotary_speaker_speed_names
[] = { "Off", "Chorale", "Tremolo", "HoldPedal", "ModWheel", "Manual" };
248 CALF_PORT_PROPS(rotary_speaker
) = {
249 { 5, 0, 5, 1.01, PF_ENUM
| PF_CTL_COMBO
, rotary_speaker_speed_names
, "vib_speed", "Speed Mode" },
250 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "spacing", "Tap Spacing" },
251 { 0.5, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "shift", "Tap Offset" },
252 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mod_depth", "FM Depth" },
253 { 36, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "treble_speed", "Treble Motor" },
254 { 30, 10, 600, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_LOG
| PF_UNIT_RPM
, NULL
, "bass_speed", "Bass Motor" },
255 { 0.7, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "mic_distance", "Mic Distance" },
256 { 0.3, 0, 1, 101, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "reflection", "Reflection" },
257 { 0.45, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "am_depth", "AM Depth" },
258 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_KNOB
| PF_SCALE_PERC
, NULL
, "test", "Test" },
259 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_l", "Low rotor" },
260 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_h", "High rotor" },
264 CALF_PLUGIN_INFO(rotary_speaker
) = { 0x8483, "RotarySpeaker", "Calf Rotary Speaker", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SimulatorPlugin" };
266 ////////////////////////////////////////////////////////////////////////////
268 CALF_PORT_NAMES(multichorus
) = {"In L", "In R", "Out L", "Out R"};
270 CALF_PORT_PROPS(multichorus
) = {
271 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "min_delay", "Min delay" },
272 { 6, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
| PF_PROP_GRAPH
, NULL
, "mod_depth", "Mod depth" },
273 { 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" },
274 { 180, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo", "Stereo phase" },
275 { 4, 1, 8, 8, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "voices", "Voices"},
276 { 64, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vphase", "Inter-voice phase" },
277 { 1, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
278 { 0.5, 0, 4, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "dry", "Dry Amount" },
279 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq", "Center Frq 1" },
280 { 5000, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Center Frq 2" },
281 { 0.125, 0.125, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "q", "Q" },
282 { 0.75, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "overlap", "Overlap" },
285 CALF_PLUGIN_INFO(multichorus
) = { 0x8501, "MultiChorus", "Calf Multi Chorus", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "ChorusPlugin" };
287 ////////////////////////////////////////////////////////////////////////////
289 CALF_PORT_NAMES(monocompressor
) = {"In", "Out"};
291 const char *monocompressor_detection_names
[] = { "RMS", "Peak" };
292 const char *monocompressor_stereo_link_names
[] = { "Average", "Maximum" };
294 CALF_PORT_PROPS(monocompressor
) = {
295 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
296 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
297 { 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" },
298 { 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" },
299 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
300 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
301 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
302 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
303 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
304 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
305 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
306 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
307 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_detection_names, "detection", "Detection" },
308 //{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, monocompressor_stereo_link_names, "stereo_link", "Stereo Link" },
309 { 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" },
310 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
314 CALF_PLUGIN_INFO(monocompressor
) = { 0x8577, "MonoCompressor", "Calf Mono Compressor", "Damien Zammit", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
316 ////////////////////////////////////////////////////////////////////////////
318 CALF_PORT_NAMES(compressor
) = {"In L", "In R", "Out L", "Out R"};
320 const char *compressor_detection_names
[] = { "RMS", "Peak" };
321 const char *compressor_stereo_link_names
[] = { "Average", "Maximum" };
323 CALF_PORT_PROPS(compressor
) = {
324 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
325 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
326 { 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" },
327 { 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" },
328 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
329 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
330 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
331 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
332 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
333 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
334 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
335 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
336 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_detection_names
, "detection", "Detection" },
337 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, compressor_stereo_link_names
, "stereo_link", "Stereo Link" },
338 { 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" },
339 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
343 CALF_PLUGIN_INFO(compressor
) = { 0x8502, "Compressor", "Calf Compressor", "Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
345 ////////////////////////////////////////////////////////////////////////////
347 CALF_PORT_NAMES(sidechaincompressor
) = {"In L", "In R", "Out L", "Out R"};
349 const char *sidechaincompressor_detection_names
[] = { "RMS", "Peak" };
350 const char *sidechaincompressor_stereo_link_names
[] = { "Average", "Maximum" };
351 const char *sidechaincompressor_mode_names
[] = {"Wideband (F1:off / F2:off)",
352 "Deesser wide (F1:Bell / F2:HP)",
353 "Deesser split (F1:off / F2:HP)",
354 "Derumbler wide (F1:LP / F2:Bell)",
355 "Derumbler split (F1:LP / F2:off)",
356 "Weighted #1 (F1:Shelf / F2:Shelf)",
357 "Weighted #2 (F1:Shelf / F2:Bell)",
358 "Weighted #3 (F1:Bell / F2:Shelf)",
359 "Bandpass #1 (F1:BP / F2:off)",
360 "Bandpass #2 (F1:HP / F2:LP)"};
361 const char *sidechaincompressor_route_names
[] = {"Stereo Input (Default)",
362 "R â–¸ L (L: Signal / R: S/C)",
363 "L â–¸ R (L: S/C / R: Signal)"};
364 const char *sidechaincompressor_filter_choices
[] = { "12dB", "24dB", "36dB"};
367 CALF_PORT_PROPS(sidechaincompressor
) = {
368 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
369 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
370 { 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" },
371 { 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" },
372 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
373 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
374 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
375 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
376 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
377 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
378 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
379 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
380 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_detection_names
, "detection", "Detection" },
381 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_stereo_link_names
, "stereo_link", "Stereo Link" },
382 { 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" },
383 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_mode_names
, "sc_mode", "S/C Mode" },
384 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
385 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
386 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
387 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
388 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
389 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
390 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
391 { 0, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaincompressor_route_names
, "sc_route", "S/C Route" },
392 { 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" },
393 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
397 CALF_PLUGIN_INFO(sidechaincompressor
) = { 0x8517, "SidechainCompressor", "Calf Sidechain Compressor", "Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
399 ////////////////////////////////////////////////////////////////////////////
401 CALF_PORT_NAMES(multibandcompressor
) = {"In L", "In R", "Out L", "Out R"};
403 const char *multibandcompressor_detection_names
[] = { "RMS", "Peak" };
405 CALF_PORT_PROPS(multibandcompressor
) = {
406 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
407 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
408 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
409 { 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", "Input L" },
410 { 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", "Input R" },
411 { 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" },
412 { 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" },
413 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inL", "0dB-InL" },
414 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inR", "0dB-InR" },
415 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
416 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
418 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
419 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
420 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
422 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
424 { 0.25, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold0", "Threshold 1" },
425 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio0", "Ratio 1" },
426 { 150, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack0", "Attack 1" },
427 { 300, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release0", "Release 1" },
428 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup0", "Makeup 1" },
429 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee0", "Knee 1" },
430 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection0", "Detection 1" },
431 { 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
, "compression0", "Gain Reduction 1" },
432 { 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
, "output0", "Output 1" },
433 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass0", "Bypass 1" },
434 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
437 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold1", "Threshold 2" },
438 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio1", "Ratio 2" },
439 { 100, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack1", "Attack 2" },
440 { 200, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release1", "Release 2" },
441 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup1", "Makeup 2" },
442 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee1", "Knee 2" },
443 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection1", "Detection 2" },
444 { 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
, "compression1", "Gain Reduction 2" },
445 { 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
, "output1", "Output 2" },
446 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass1", "Bypass 2" },
447 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
450 { 0.0625, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold2", "Threshold 3" },
451 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio2", "Ratio 3" },
452 { 50, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack2", "Attack 3" },
453 { 100, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release2", "Release 3" },
454 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup2", "Makeup 3" },
455 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee2", "Knee 3" },
456 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection2", "Detection 3" },
457 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_CTLO_REVERSE
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
| PF_PROP_GRAPH
, NULL
, "compression2", "Gain Reduction 3" },
458 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "output2", "Output 3" },
459 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass2", "Bypass 3" },
460 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
463 { 0.03125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold3", "Threshold 4" },
464 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio3", "Ratio 4" },
465 { 25, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack3", "Attack 4" },
466 { 50, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release3", "Release 4" },
467 { 2, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup3", "Makeup 4" },
468 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee3", "Knee 4" },
469 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection3", "Detection 4" },
470 { 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
, "compression3", "Gain Reduction 4" },
471 { 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
, "output3", "Output 4" },
472 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass3", "Bypass 4" },
473 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
475 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
, NULL
, "notebook", "Notebook" },
479 CALF_PLUGIN_INFO(multibandcompressor
) = { 0x8516, "MultibandCompressor", "Calf Multiband Compressor", "Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
481 ////////////////////////////////////////////////////////////////////////////
483 CALF_PORT_NAMES(deesser
) = {"In L", "In R", "Out L", "Out R"};
485 const char *deesser_detection_names
[] = { "RMS", "Peak" };
486 const char *deesser_mode_names
[] = { "Wide", "Split" };
489 CALF_PORT_PROPS(deesser
) = {
490 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
491 { 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" },
492 { 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" },
493 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "detected_led", "Active" },
494 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "Out" },
495 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_detection_names
, "detection", "Detection" },
496 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, deesser_mode_names
, "mode", "Mode" },
497 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
498 { 3, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
499 { 15, 1, 100, 1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "laxity", "Laxity" },
500 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup" },
502 { 6000, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "Split" },
503 { 4500, 10, 18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "Peak" },
504 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "Gain" },
505 { 4, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "Level" },
506 { 1, 0.1, 100,1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "f2_q", "Peak Q" },
507 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
511 CALF_PLUGIN_INFO(deesser
) = { 0x8515, "Deesser", "Calf Deesser", "Markus Schmidt / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "CompressorPlugin" };
513 ////////////////////////////////////////////////////////////////////////////
515 CALF_PORT_NAMES(gate
) = {"In L", "In R", "Out L", "Out R"};
517 const char *gate_detection_names
[] = { "RMS", "Peak" };
518 const char *gate_stereo_link_names
[] = { "Average", "Maximum" };
520 CALF_PORT_PROPS(gate
) = {
521 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
522 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
523 { 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" },
524 { 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" },
525 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
526 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
527 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
528 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
529 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
530 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
531 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
532 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
533 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
534 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_detection_names
, "detection", "Detection" },
535 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, gate_stereo_link_names
, "stereo_link", "Stereo Link" },
536 { 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" },
540 CALF_PLUGIN_INFO(gate
) = { 0x8503, "Gate", "Calf Gate", "Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
542 ////////////////////////////////////////////////////////////////////////////
544 CALF_PORT_NAMES(sidechaingate
) = {"In L", "In R", "Out L", "Out R"};
546 const char *sidechaingate_detection_names
[] = { "RMS", "Peak" };
547 const char *sidechaingate_stereo_link_names
[] = { "Average", "Maximum" };
548 const char *sidechaingate_mode_names
[] = {"Wideband (F1:off / F2:off)",
549 "High gate wide (F1:Bell / F2:HP)",
550 "High gate split (F1:off / F2:HP)",
551 "Low Gate wide (F1:LP / F2:Bell)",
552 "Low gate split (F1:LP / F2:off)",
553 "Weighted #1 (F1:Shelf / F2:Shelf)",
554 "Weighted #2 (F1:Shelf / F2:Bell)",
555 "Weighted #3 (F1:Bell / F2:Shelf)",
556 "Bandpass #1 (F1:BP / F2:off)",
557 "Bandpass #2 (F1:HP / F2:LP)"};
558 const char *sidechaingate_route_names
[] = {"Stereo Input (Default)",
559 "R â–¸ L (L: Signal / R: S/C)",
560 "L â–¸ R (L: S/C / R: Signal)"};
561 const char *sidechaingate_filter_choices
[] = { "12dB", "24dB", "36dB"};
564 CALF_PORT_PROPS(sidechaingate
) = {
565 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
566 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
567 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_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_out", "Output" },
569 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
570 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB-Out" },
571 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range", "Max Gain Reduction" },
572 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold", "Threshold" },
573 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio", "Ratio" },
574 { 20, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Attack" },
575 { 250, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
576 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup", "Makeup Gain" },
577 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee", "Knee" },
578 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_detection_names
, "detection", "Detection" },
579 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_stereo_link_names
, "stereo_link", "Stereo Link" },
580 { 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" },
581 { 0, 0, 9, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_mode_names
, "sc_mode", "S/C Mode" },
582 { 250, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "f1_freq", "F1 Freq" },
583 { 4500, 10,18000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "f2_freq", "F2 Freq" },
584 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f1_level", "F1 Level" },
585 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "f2_level", "F2 Level" },
586 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "sc_listen", "S/C-Listen" },
587 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f1_active", "F1 Active" },
588 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "f2_active", "F2 Active" },
589 { 0, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, sidechaingate_route_names
, "sc_route", "S/C Route" },
590 { 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" },
594 CALF_PLUGIN_INFO(sidechaingate
) = { 0x8504, "SidechainGate", "Calf Sidechain Gate", "Markus Schmidt / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
596 ////////////////////////////////////////////////////////////////////////////
598 CALF_PORT_NAMES(multibandgate
) = {"In L", "In R", "Out L", "Out R"};
600 const char *multibandgate_detection_names
[] = { "RMS", "Peak" };
602 CALF_PORT_PROPS(multibandgate
) = {
603 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
604 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
605 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
606 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_inL", "Input L" },
607 { 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", "Input R" },
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
, "meter_outL", "Output L" },
609 { 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" },
610 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inL", "0dB-InL" },
611 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inR", "0dB-InR" },
612 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
613 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
615 { 120, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
616 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
617 { 6000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
619 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
621 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range0", "Reduction 1" },
622 { 0.25, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold0", "Threshold 1" },
623 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio0", "Ratio 1" },
624 { 150, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack0", "Attack 1" },
625 { 300, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release0", "Release 1" },
626 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup0", "Makeup 1" },
627 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee0", "Knee 1" },
628 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection0", "Detection 1" },
629 { 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
, "gating0", "Gating 1" },
630 { 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
, "output0", "Output 1" },
631 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass0", "Bypass 1" },
632 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
634 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range1", "Reduction 2" },
635 { 0.125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold1", "Threshold 2" },
636 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio1", "Ratio 2" },
637 { 100, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack1", "Attack 2" },
638 { 200, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release1", "Release 2" },
639 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup1", "Makeup 2" },
640 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee1", "Knee 2" },
641 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection1", "Detection 2" },
642 { 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
, "gating1", "Gating 2" },
643 { 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
, "output1", "Output 2" },
644 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass1", "Bypass 2" },
645 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
647 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range2", "Reduction 3" },
648 { 0.0625, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold2", "Threshold 3" },
649 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio2", "Ratio 3" },
650 { 50, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack2", "Attack 3" },
651 { 100, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release2", "Release 3" },
652 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup2", "Makeup 3" },
653 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee2", "Knee 3" },
654 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection2", "Detection 3" },
655 { 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
, "gating2", "Gating 3" },
656 { 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
, "output2", "Output 3" },
657 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass2", "Bypass 3" },
658 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
660 { 0.06125, 0.000015849, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "range3", "Reduction 4" },
661 { 0.03125, 0.000976563, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "threshold3", "Threshold 4" },
662 { 2, 1, 20, 21, PF_FLOAT
| PF_SCALE_LOG_INF
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "ratio3", "Ratio 4" },
663 { 25, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack3", "Attack 4" },
664 { 50, 0.01, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release3", "Release 4" },
665 { 1, 1, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "makeup3", "Makeup 4" },
666 { 2.828427125, 1, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "knee3", "Knee 4" },
667 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, multibandcompressor_detection_names
, "detection3", "Detection 4" },
668 { 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
, "gating3", "Gating 4" },
669 { 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
, "output3", "Output 4" },
670 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass3", "Bypass 4" },
671 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
673 { 0, 0, 3, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "notebook", "Notebook" },
677 CALF_PLUGIN_INFO(multibandgate
) = { 0x8505, "MultibandGate", "Calf Multiband Gate", "Markus Schmidt / Damien Zammit / Thor Harald Johansen", calf_plugins::calf_copyright_info
, "ExpanderPlugin" };
679 ////////////////////////////////////////////////////////////////////////////
681 CALF_PORT_NAMES(limiter
) = {"In L", "In R", "Out L", "Out R"};
683 CALF_PORT_PROPS(limiter
) = {
684 BYPASS_AND_LEVEL_PARAMS
686 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
687 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
688 { 50, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
690 { 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" },
692 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
694 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
696 { 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" },
701 CALF_PLUGIN_INFO(limiter
) = { 0x8521, "Limiter", "Calf Limiter", "Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
703 ////////////////////////////////////////////////////////////////////////////
705 CALF_PORT_NAMES(multibandlimiter
) = {"In L", "In R", "Out L", "Out R"};
707 CALF_PORT_PROPS(multibandlimiter
) = {
708 BYPASS_AND_LEVEL_PARAMS
710 { 100, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq0", "Split 1/2" },
711 { 750, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq1", "Split 2/3" },
712 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
| PF_PROP_GRAPH
, NULL
, "freq2", "Split 3/4" },
714 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, mb_crossover_filter_choices
, "mode", "Filter Mode" },
716 { 1, 0.0625, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "limit", "Limit" },
717 { 4, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack", "Lookahead" },
718 { 30, 1, 1000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release", "Release" },
719 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "minrel", "Min Release" },
721 { 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" },
722 { 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" },
723 { 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" },
724 { 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" },
726 { 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" },
727 { 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" },
728 { 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" },
729 { 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" },
731 { 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" },
732 { 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" },
733 { -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" },
734 { -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" },
736 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo0", "Solo 1" },
737 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo1", "Solo 2" },
738 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo2", "Solo 3" },
739 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "solo3", "Solo 4" },
741 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease0", "Effectively Release 1" },
742 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease1", "Effectively Release 2" },
743 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease2", "Effectively Release 3" },
744 { 1, 0.f
, 1000, 0, PF_FLOAT
| PF_UNIT_MSEC
| PF_PROP_OUTPUT
, NULL
, "effrelease3", "Effectively Release 4" },
746 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "asc", "ASC" },
748 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "asc_led", "asc active" },
750 { 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" },
755 CALF_PLUGIN_INFO(multibandlimiter
) = { 0x8520, "MultibandLimiter", "Calf Multiband Limiter", "Markus Schmidt / Christian Holschuh", calf_plugins::calf_copyright_info
, "LimiterPlugin" };
757 ////////////////////////////////////////////////////////////////////////////
759 CALF_PORT_NAMES(emphasis
) = {"In L", "In R", "Out L", "Out R"};
761 const char *emphasis_filter_modes
[] = { "Reproduction", "Production"};
762 const char *emphasis_filter_types
[] = { "Columbia", "EMI", "BSI(78rpm)", "RIAA", "Compact Disc (CD)"};
764 CALF_PORT_PROPS(emphasis
) = {
765 BYPASS_AND_LEVEL_PARAMS
767 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_modes
, "mode", "Filter Mode" },
768 { 4, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, emphasis_filter_types
, "type", "Filter Type" },
771 CALF_PLUGIN_INFO(emphasis
) = { 0x8599, "Emphasis", "Calf Emphasis", "Damien Zammit", calf_plugins::calf_copyright_info
, "EmphasisPlugin" };
773 ////////////////////////////////////////////////////////////////////////////
774 const char *active_mode_names
[] = { " ", "ON", "Left", "Right", "Mid", "Side" };
776 CALF_PORT_NAMES(equalizer5band
) = {"In L", "In R", "Out L", "Out R"};
778 CALF_PORT_PROPS(equalizer5band
) = {
779 BYPASS_AND_LEVEL_PARAMS
782 EQ_BAND_PARAMS(1, 250)
783 EQ_BAND_PARAMS(2, 1000)
784 EQ_BAND_PARAMS(3, 2500)
789 CALF_PLUGIN_INFO(equalizer5band
) = { 0x8511, "Equalizer5Band", "Calf Equalizer 5 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "EqualizerPlugin" };
791 //////////////////////////////////////////////////////////////////////////////
794 CALF_PORT_NAMES(equalizer8band
) = {"In L", "In R", "Out L", "Out R"};
795 const char *rolloff_mode_names
[] = {"12dB/oct", "24dB/oct", "36dB/oct"};
797 CALF_PORT_PROPS(equalizer8band
) = {
798 BYPASS_AND_LEVEL_PARAMS
802 EQ_BAND_PARAMS(1, 250)
803 EQ_BAND_PARAMS(2, 1000)
804 EQ_BAND_PARAMS(3, 2500)
805 EQ_BAND_PARAMS(4, 5000)
810 CALF_PLUGIN_INFO(equalizer8band
) = { 0x8512, "Equalizer8Band", "Calf Equalizer 8 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "EqualizerPlugin" };
812 ////////////////////////////////////////////////////////////////////////////
814 CALF_PORT_NAMES(equalizer12band
) = {"In L", "In R", "Out L", "Out R"};
816 CALF_PORT_PROPS(equalizer12band
) = {
817 BYPASS_AND_LEVEL_PARAMS
821 EQ_BAND_PARAMS(1, 60)
822 EQ_BAND_PARAMS(2, 120)
823 EQ_BAND_PARAMS(3, 250)
824 EQ_BAND_PARAMS(4, 500)
825 EQ_BAND_PARAMS(5, 1000)
826 EQ_BAND_PARAMS(6, 2500)
827 EQ_BAND_PARAMS(7, 4000)
828 EQ_BAND_PARAMS(8, 6000)
833 CALF_PLUGIN_INFO(equalizer12band
) = { 0x8513, "Equalizer12Band", "Calf Equalizer 12 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "EqualizerPlugin" };
835 ////////////////////////////////////////////////////////////////////////////
837 #define XOVER_BAND_PARAMS(band) \
838 { 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "level" #band, "Gain " #band }, \
839 { 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "active" #band, "Active " #band }, \
840 { 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "phase" #band, "Phase " #band }, \
841 { 0.0, 0.0, 20.0, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "delay" #band, "Delay " #band }, \
842 { 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 }, \
843 { 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 },
845 ////////////////////////////////////////////////////////////////////////////
847 CALF_PORT_NAMES(xover2
) = {"In L", "In R", "Out 1 L", "Out 1 R", "Out 2 L", "Out 2 R"};
849 CALF_PORT_PROPS(xover2
) = {
850 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
851 { 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" },
852 { 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" },
853 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
854 { 1000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
859 CALF_PLUGIN_INFO(xover2
) = { 0x8515, "XOver2Band", "Calf X-Over 2 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "CrossoverPlugin" };
861 ////////////////////////////////////////////////////////////////////////////
863 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"};
865 CALF_PORT_PROPS(xover3
) = {
866 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
867 { 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" },
868 { 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" },
869 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
870 { 150, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
871 { 3000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
877 CALF_PLUGIN_INFO(xover3
) = { 0x8515, "XOver3Band", "Calf X-Over 3 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "CrossoverPlugin" };
879 ////////////////////////////////////////////////////////////////////////////
881 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"};
883 CALF_PORT_PROPS(xover4
) = {
884 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level", "Gain" },
885 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_L", "Input L" },
886 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_R", "Input R" },
887 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, crossover_filter_choices
, "mode", "Filter Mode" },
888 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq0", "Transition 1" },
889 { 500, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq1", "Transition 2" },
890 { 5000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq2", "Transition 3" },
897 CALF_PLUGIN_INFO(xover4
) = { 0x8515, "XOver4Band", "Calf X-Over 4 Band", "Markus Schmidt", calf_plugins::calf_copyright_info
, "CrossoverPlugin" };
899 ////////////////////////////////////////////////////////////////////////////
901 CALF_PORT_NAMES(pulsator
) = {"In L", "In R", "Out L", "Out R"};
903 const char *pulsator_mode_names
[] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" };
905 CALF_PORT_PROPS(pulsator
) = {
906 BYPASS_AND_LEVEL_PARAMS
908 { 0, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, pulsator_mode_names
, "mode", "Mode" },
909 { 1, 0.01, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Frequency" },
910 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "amount", "Modulation" },
911 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "offset", "Offset L/R" },
912 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mono", "Mono-in" },
913 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_BUTTON
, NULL
, "reset", "Reset" },
917 CALF_PLUGIN_INFO(pulsator
) = { 0x8514, "Pulsator", "Calf Pulsator", "Markus Schmidt", calf_plugins::calf_copyright_info
, "ModulationPlugin" };
919 ////////////////////////////////////////////////////////////////////////////
921 CALF_PORT_NAMES(saturator
) = {"In L", "In R", "Out L", "Out R"};
923 CALF_PORT_PROPS(saturator
) = {
924 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
925 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Activation" },
926 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Master" },
927 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mix", "Mix" },
928 { 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" },
929 { 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" },
930 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
931 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
933 { 5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Saturation" },
934 { 10, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend" },
935 { 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", "Drive" },
937 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_pre_freq", "Lowpass" },
938 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_pre_freq", "Highpass" },
940 { 20000, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lp_post_freq", "Lowpass" },
941 { 10, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "hp_post_freq", "Highpass" },
943 { 2000, 80, 8000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "p_freq", "Tone" },
944 { 1, 0.0625, 16, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
, NULL
, "p_level", "Amount" },
945 { 1, 0.1, 10, 1, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "p_q", "Gradient" },
949 CALF_PLUGIN_INFO(saturator
) = { 0x8530, "Saturator", "Calf Saturator", "Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
951 ////////////////////////////////////////////////////////////////////////////
953 CALF_PORT_NAMES(exciter
) = {"In L", "In R", "Out L", "Out R"};
955 CALF_PORT_PROPS(exciter
) = {
956 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
957 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
958 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
959 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
960 { 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" },
961 { 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" },
962 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
963 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
965 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
966 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
967 { 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" },
969 { 6000, 2000, 12000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
970 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
971 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "ceil_active", "Ceiling active" },
972 { 16000, 10000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "ceil", "Ceiling" },
976 CALF_PLUGIN_INFO(exciter
) = { 0x8531, "Exciter", "Calf Exciter", "Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
978 ////////////////////////////////////////////////////////////////////////////
980 CALF_PORT_NAMES(bassenhancer
) = {"In L", "In R", "Out L", "Out R"};
982 CALF_PORT_PROPS(bassenhancer
) = {
983 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
984 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
985 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
986 { 1, 0, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "amount", "Amount" },
987 { 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" },
988 { 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" },
989 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB" },
990 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_out", "0dB" },
992 { 8.5, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "drive", "Harmonics" },
993 { 0, -10, 10, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_COEF
, NULL
, "blend", "Blend harmonics" },
994 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_drive", "Harmonics level" },
996 { 120, 10, 250, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "freq", "Scope" },
997 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "listen", "Listen" },
998 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "floor_active", "Floor active" },
999 { 30, 10, 120, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "floor", "Floor" },
1003 CALF_PLUGIN_INFO(bassenhancer
) = { 0x8532, "BassEnhancer", "Calf Bass Enhancer", "Markus Schmidt / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1005 ////////////////////////////////////////////////////////////////////////////
1007 CALF_PORT_NAMES(mono
) = {"In", "Out L", "Out R"};
1008 CALF_PORT_PROPS(mono
) = {
1009 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1010 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1011 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1012 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_in", "Input" },
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_outL", "Output 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_outR", "Output R" },
1015 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_in", "0dB-In" },
1016 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
1017 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
1019 { 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" },
1021 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1022 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1023 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1024 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1025 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1027 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "delay", "Delay" },
1028 { 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" },
1029 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1030 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1034 CALF_PLUGIN_INFO(mono
) = { 0x8589, "MonoInput", "Calf Mono Input", "Markus Schmidt", calf_plugins::calf_copyright_info
, "Utility" };
1037 ////////////////////////////////////////////////////////////////////////////
1039 CALF_PORT_NAMES(stereo
) = {"In L", "In R", "Out L", "Out R"};
1040 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)" };
1041 CALF_PORT_PROPS(stereo
) = {
1042 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1043 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_in", "Input" },
1044 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output" },
1045 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_inL", "Input L" },
1046 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_METER
| PF_CTLO_LABEL
| PF_UNIT_DB
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "meter_inR", "Input R" },
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
, "meter_outL", "Output 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
, "meter_outR", "Output R" },
1049 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inL", "0dB-InL" },
1050 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_inR", "0dB-InR" },
1051 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outL", "0dB-OutL" },
1052 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_outR", "0dB-OutR" },
1054 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "balance_in", "Balance In" },
1055 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "balance_out", "Balance Out" },
1057 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "softclip", "Softclip" },
1058 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "mutel", "Mute L" },
1059 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "muter", "Mute R" },
1060 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phasel", "Phase L" },
1061 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "phaser", "Phase R" },
1063 { 0, 0, 6, 0, PF_ENUM
| PF_CTL_COMBO
, stereo_mode_names
, "mode", "Mode" },
1065 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "slev", "S Level" },
1066 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "sbal", "S Balance" },
1067 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mlev", "M Level" },
1068 { 0.f
, -1.f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mpan", "M Panorama" },
1070 { 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" },
1071 { 0.f
, -20.f
, 20.f
, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "delay", "Delay" },
1073 { 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" },
1075 { 1, 1, 100, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "sc_level", "S/C Level" },
1076 { 0, 0, 360, 91, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "stereo_phase", "Stereo Phase" },
1080 CALF_PLUGIN_INFO(stereo
) = { 0x8588, "StereoTools", "Calf Stereo Tools", "Markus Schmidt", calf_plugins::calf_copyright_info
, "Utility" };
1082 ////////////////////////////////////////////////////////////////////////////
1084 CALF_PORT_NAMES(analyzer
) = {"In L", "In R", "Out L", "Out R"};
1085 const char *gonio_mode_names
[] = { "Small Dots", "Medium Dots", "Big Dots", "Fields", "Lines (High CPU)" };
1086 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" };
1087 const char *analyzer_smooth_names
[] = { "Off", "Falling", "Transition" };
1088 const char *analyzer_post_names
[] = { "Normalized", "Average", "Additive", "Denoised Peaks" };
1089 const char *analyzer_view_names
[] = { "Bars", "Lines", "Cubic Splines" };
1090 const char *analyzer_scale_names
[] = { "Logarithmic", "Linear" };
1091 const char *analyzer_windowing_names
[] = { "Rectangular", "Hamming", "von Hann", "Blackman", "Blackman-Harris", "Blackman-Nuttall", "Sine", "Lanczos", "Gauß", "Bartlett", "Triangular", "Bartlett-Hann" };
1092 CALF_PORT_PROPS(analyzer
) = {
1093 { 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" },
1094 { 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" },
1095 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_L", "Clip L" },
1096 { 0, 0, 1, 0, PF_FLOAT
| PF_CTL_LED
| PF_PROP_OUTPUT
| PF_PROP_OPTIONAL
, NULL
, "clip_R", "Clip R" },
1098 { 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" },
1099 { 0, 0, 10, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_mode_names
, "analyzer_mode", "Analyzer Mode" },
1100 { 0, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_scale_names
, "analyzer_scale", "Analyzer Scale" },
1101 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_post_names
, "analyzer_post", "Analyzer Post FFT" },
1102 { 1, 0, 1, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_view_names
, "analyzer_view", "Analyzer View" },
1103 { 1, 0, 2, 0, PF_ENUM
| PF_CTL_COMBO
, analyzer_smooth_names
, "analyzer_smoothing", "Analyzer Smoothing" },
1104 { 2, 0, 11, 2, PF_ENUM
| PF_CTL_COMBO
, analyzer_windowing_names
, "analyzer_windowing", "Analyzer Windowing" },
1105 { 7, 2, 8, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_accuracy", "Analyzer Accuracy" },
1106 { 15, 1, 15, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "analyzer_speed", "Analyzer Speed" },
1107 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_display", "Analyzer Display" },
1108 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_hold", "Analyzer Hold" },
1109 { 0, 0, 1, 2, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "analyzer_freeze", "Analyzer Freeze" },
1111 { 1, 0, 4, 0, PF_ENUM
| PF_CTL_COMBO
, gonio_mode_names
, "gonio_mode", "Gonio Mode" },
1112 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_use_fade", "Gonio Fade Active" },
1113 { 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" },
1114 { 4, 1, 5, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "gonio_accuracy", "Gonio Accuracy" },
1115 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "gonio_display", "Gonio Display" },
1120 CALF_PLUGIN_INFO(analyzer
) = { 0x8588, "Analyzer", "Calf Analyzer", "Christian Holschuh / Markus Schmidt", calf_plugins::calf_copyright_info
, "Analyzer" };
1122 ////////////////////////////////////////////////////////////////////////////
1124 CALF_PORT_NAMES(transientdesigner
) = {"In L", "In R", "Out L", "Out R"};
1125 CALF_PORT_PROPS(transientdesigner
) = {
1126 BYPASS_AND_LEVEL_PARAMS
1128 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mix", "Mix" },
1129 { 100.f
, 1.f
, 500.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "attack_time", "Attack Time (ms)" },
1130 { 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" },
1131 { 0.9f
, 0.01f
, 1.f
, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "sustain_threshold", "Sustain Threshold" },
1132 { 300.f
, 1.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "release_time", "Release Time (ms)" },
1133 { 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" },
1134 { 2000.f
, 50.f
, 5000.f
, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "display", "Display (ms)" },
1135 { pow(2,-12), pow(2,-12),1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "display_threshold", "Threshold" },
1136 { 0, 0, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "lookahead", "Lookahead (Samples)" },
1140 CALF_PLUGIN_INFO(transientdesigner
) = { 0x8588, "TransientDesigner", "Calf Transient Designer", "Christian Holschuh, Markus Schmidt", calf_plugins::calf_copyright_info
, "Utility" };
1142 ////////////////////////////////////////////////////////////////////////////
1144 CALF_PORT_NAMES(tapesimulator
) = {"In L", "In R", "Out L", "Out R"};
1145 const char *tapesimulator_speed_names
[] = { "Slow", "Fast" };
1146 CALF_PORT_PROPS(tapesimulator
) = {
1147 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "bypass", "Bypass" },
1148 { 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" },
1149 { 1, 0.015625, 64, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_DB
| PF_PROP_NOBOUNDS
, NULL
, "level_out", "Output Gain" },
1151 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mix", "Mix" },
1152 { 12500, 1000, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lowpass", "Filter" },
1153 { 1, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, tapesimulator_speed_names
, "speed", "Speed Simulation" },
1154 { 0.10, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "noise", "Noise" },
1155 { 0.20, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_GRAPH
, NULL
, "mechanical", "Mechanical" },
1156 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "magnetical", "Magnetical" },
1157 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "post", "Post-Filter" },
1161 CALF_PLUGIN_INFO(tapesimulator
) = { 0x8588, "TapeSimulator", "Calf Tape Simulator", "Markus Schmidt, Christian Holschuh", calf_plugins::calf_copyright_info
, "DistortionPlugin" };
1164 ////////////////////////////////////////////////////////////////////////////
1166 CALF_PORT_NAMES(monosynth
) = {
1170 const char *monosynth_waveform_names
[] = { "Sawtooth", "Square", "Pulse", "Sine", "Triangle", "Varistep", "Skewed Saw", "Skewed Square",
1171 "Smooth Brass", "Bass", "Dark FM", "Multiwave", "Bell FM", "Dark Pad", "DCO Saw", "DCO Maze" };
1172 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" };
1173 const char *monosynth_legato_names
[] = { "Retrig", "Legato", "Fng Retrig", "Fng Legato" };
1174 const char *monosynth_lfotrig_names
[] = { "Retrig", "Free" };
1176 const char *monosynth_filter_choices
[] = {
1179 "2x12dB/oct Lowpass",
1180 "12dB/oct Highpass",
1184 "2x6dB/oct Bandpass",
1187 CALF_PLUGIN_INFO(monosynth
) = { 0x8480, "Monosynth", "Calf Monosynth", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SynthesizerPlugin" };
1189 CALF_PORT_PROPS(monosynth
) = {
1190 { 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" },
1191 { 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" },
1193 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_pw", "Osc1 PW" },
1194 { 0, -1, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o2_pw", "Osc2 PW" },
1196 { 10, 0, 100, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o12_detune", "O1<>2 Detune" },
1197 { 12, -24, 24, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2_xpose", "Osc2 transpose" },
1198 { 0, 0, 5, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_mode_names
, "phase_mode", "Phase mode" },
1199 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "o12_mix", "O1<>2 Mix" },
1200 { 1, 0, 7, 0, PF_ENUM
| PF_CTL_COMBO
| PF_PROP_GRAPH
, monosynth_filter_choices
, "filter", "Filter" },
1201 { 33, 10,16000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "cutoff", "Cutoff" },
1202 { 3, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "res", "Resonance" },
1203 { 0, -2400, 2400, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "filter_sep", "Separation" },
1204 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "env2cutoff", "Env->Cutoff" },
1205 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "env2res", "Env->Res" },
1206 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "env2amp", "Env->Amp" },
1208 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1209 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1210 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1211 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1212 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1214 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "key_follow", "Key Follow" },
1215 { 0, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_legato_names
, "legato", "Legato Mode" },
1216 { 1, 1, 2000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "portamento", "Portamento" },
1218 { 0.5, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2filter", "Vel->Filter" },
1219 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vel2amp", "Vel->Amp" },
1221 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1223 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1225 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo_rate", "LFO1 Rate" },
1226 { 0.5, 0, 5, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo_delay", "LFO1 Delay" },
1227 { 0, -4800, 4800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2filter", "LFO1->Filter" },
1228 { 100, 0, 1200, 0, PF_FLOAT
| PF_SCALE_QUAD
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "lfo2pitch", "LFO1->Pitch" },
1229 { 0, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "lfo2pw", "LFO1->PW" },
1230 { 1, 0, 1, 0.1, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "mwhl2lfo", "ModWheel->LFO1" },
1232 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "scale_detune", "Scale Detune" },
1234 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "adsr2_cutoff", "EG2->Cutoff" },
1235 { 0.3, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "adsr2_res", "EG2->Res" },
1236 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "adsr2_amp", "EG2->Amp" },
1238 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1239 { 100, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1240 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1241 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1242 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_FADER
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "Release" },
1244 { 1, 1, 16, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_COEF
| PF_CTL_KNOB
, NULL
, "o1_stretch", "Osc1 Stretch" },
1245 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "o1_window", "Osc1 Window" },
1247 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo1_trig", "LFO1 Trigger Mode" },
1248 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, monosynth_lfotrig_names
, "lfo2_trig", "LFO2 Trigger Mode" },
1249 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO1 Rate" },
1250 { 0.5, 0.1, 5, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_SEC
, NULL
, "lfo2_delay", "LFO1 Delay" },
1254 static const char *monosynth_mod_src_names
[] = {
1266 static const char *monosynth_mod_dest_names
[] = {
1269 "Osc Mix Ratio (%)",
1280 monosynth_metadata::monosynth_metadata()
1281 : mm_metadata(mod_matrix_slots
, monosynth_mod_src_names
, monosynth_mod_dest_names
)
1285 const char *const *monosynth_metadata::get_configure_vars() const
1287 return mod_matrix_impl::get_configure_vars
<mod_matrix_slots
>();
1290 ////////////////////////////////////////////////////////////////////////////
1292 CALF_PLUGIN_INFO(organ
) = { 0x8481, "Organ", "Calf Organ", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SynthesizerPlugin" };
1294 plugin_command_info
*organ_metadata::get_commands()
1296 static plugin_command_info cmds
[] = {
1297 { "cmd_panic", "Panic!", "Stop all sounds and reset all controllers" },
1303 CALF_PORT_NAMES(organ
) = {"Out L", "Out R"};
1305 const char *organ_percussion_trigger_names
[] = { "First note", "Each note", "Each, no retrig", "Polyphonic" };
1307 const char *organ_wave_names
[] = {
1309 "S0", "S00", "S000",
1310 "SSaw", "SSqr", "SPls",
1311 "Saw", "Sqr", "Pls",
1312 "S(", "Sq(", "S+", "Clvg",
1314 "W1", "W2", "W3", "W4", "W5", "W6", "W7", "W8", "W9",
1315 "DSaw", "DSqr", "DPls",
1316 "P:SynStr","P:WideStr","P:Sine","P:Bell","P:Space","P:Voice","P:Hiss","P:Chant",
1319 const char *organ_routing_names
[] = { "Out", "Flt 1", "Flt 2" };
1321 const char *organ_ampctl_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "All" };
1323 const char *organ_vibrato_mode_names
[] = { "None", "Direct", "Flt 1", "Flt 2", "Voice", "Global" };
1325 const char *organ_vibrato_type_names
[] = { "Allpass", "Scanner (V1/C1)", "Scanner (V2/C2)", "Scanner (V3/C3)", "Scanner (Full)" };
1327 const char *organ_filter_type_names
[] = { "12dB/oct LP", "12dB/oct HP" };
1329 const char *organ_filter_send_names
[] = { "Output", "Filter 2" };
1331 const char *organ_init_map_curve
= "2\n0 1\n1 1\n";
1333 CALF_PORT_PROPS(organ
) = {
1334 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l1", "16'" },
1335 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l2", "5 1/3'" },
1336 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l3", "8'" },
1337 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l4", "4'" },
1338 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l5", "2 2/3'" },
1339 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l6", "2'" },
1340 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l7", "1 3/5'" },
1341 { 0, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l8", "1 1/3'" },
1342 { 8, 0, 8, 80, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_FADER
, NULL
, "l9", "1'" },
1344 { 1, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f1", "Freq 1" },
1345 { 3, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f2", "Freq 2" },
1346 { 2, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f3", "Freq 3" },
1347 { 4, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f4", "Freq 4" },
1348 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f5", "Freq 5" },
1349 { 8, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f6", "Freq 6" },
1350 { 10, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f7", "Freq 7" },
1351 { 12, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f8", "Freq 8" },
1352 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "f9", "Freq 9" },
1354 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w1", "Wave 1" },
1355 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w2", "Wave 2" },
1356 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w3", "Wave 3" },
1357 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w4", "Wave 4" },
1358 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w5", "Wave 5" },
1359 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w6", "Wave 6" },
1360 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w7", "Wave 7" },
1361 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w8", "Wave 8" },
1362 { 0, 0, organ_enums::wave_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_wave_names
, "w9", "Wave 9" },
1364 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune1", "Detune 1" },
1365 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune2", "Detune 2" },
1366 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune3", "Detune 3" },
1367 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune4", "Detune 4" },
1368 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune5", "Detune 5" },
1369 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune6", "Detune 6" },
1370 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune7", "Detune 7" },
1371 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune8", "Detune 8" },
1372 { 0, -100,100, 401, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune9", "Detune 9" },
1374 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase1", "Phase 1" },
1375 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase2", "Phase 2" },
1376 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase3", "Phase 3" },
1377 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase4", "Phase 4" },
1378 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase5", "Phase 5" },
1379 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase6", "Phase 6" },
1380 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase7", "Phase 7" },
1381 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase8", "Phase 8" },
1382 { 0, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "phase9", "Phase 9" },
1384 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan1", "Pan 1" },
1385 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan2", "Pan 2" },
1386 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan3", "Pan 3" },
1387 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan4", "Pan 4" },
1388 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan5", "Pan 5" },
1389 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan6", "Pan 6" },
1390 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan7", "Pan 7" },
1391 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan8", "Pan 8" },
1392 { 0, -1, 1, 201, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "pan9", "Pan 9" },
1394 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing1", "Routing 1" },
1395 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing2", "Routing 2" },
1396 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing3", "Routing 3" },
1397 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing4", "Routing 4" },
1398 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing5", "Routing 5" },
1399 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing6", "Routing 6" },
1400 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing7", "Routing 7" },
1401 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing8", "Routing 8" },
1402 { 0, 0, 2, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, organ_routing_names
, "routing9", "Routing 9" },
1404 { 96 + 12, 0, 127, 128, PF_INT
| PF_CTL_KNOB
| PF_UNIT_NOTE
, NULL
, "foldnote", "Foldover" },
1406 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_decay", "P: Carrier Decay" },
1407 { 0.25, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
, NULL
, "perc_level", "P: Level" },
1408 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_waveform", "P: Carrier Wave" },
1409 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_harmonic", "P: Carrier Frq" },
1410 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2amp", "P: Vel->Amp" },
1412 { 200, 10, 3000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "perc_fm_decay", "P: Modulator Decay" },
1413 { 0, 0, 4, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_fm_depth", "P: FM Depth" },
1414 { 0, 0, organ_enums::wave_count_small
- 1, 1, PF_ENUM
| PF_CTL_COMBO
, organ_wave_names
, "perc_fm_waveform", "P: Modulator Wave" },
1415 { 6, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "perc_fm_harmonic", "P: Modulator Frq" },
1416 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "perc_vel2fm", "P: Vel->FM" },
1418 { 0, 0, organ_enums::perctrig_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_percussion_trigger_names
, "perc_trigger", "P: Trigger" },
1419 { 90, 0,360, 361, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "perc_stereo", "P: Stereo Phase" },
1421 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_send_names
, "filter_chain", "Filter 1 To" },
1422 { 0, 0, 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_filter_type_names
, "filter1_type", "Filter 1 Type" },
1423 { 0.1, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
| PF_PROP_GRAPH
, NULL
, "master", "Volume" },
1425 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f1_cutoff", "F1 Cutoff" },
1426 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f1_res", "F1 Res" },
1427 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env1", "F1 Env1" },
1428 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env2", "F1 Env2" },
1429 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f1_env3", "F1 Env3" },
1430 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f1_keyf", "F1 KeyFollow" },
1432 { 2000, 20, 20000, 100, PF_FLOAT
| PF_SCALE_LOG
| PF_UNIT_HZ
| PF_CTL_KNOB
, NULL
, "f2_cutoff", "F2 Cutoff" },
1433 { 2, 0.7, 8, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
, NULL
, "f2_res", "F2 Res" },
1434 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env1", "F2 Env1" },
1435 { 8000, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env2", "F2 Env2" },
1436 { 0, -10800,10800, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "f2_env3", "F2 Env3" },
1437 { 0, 0, 2, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "f2_keyf", "F2 KeyFollow" },
1439 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1440 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1441 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1442 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1443 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1444 { 0, 0, organ_enums::ampctl_count
- 1,
1445 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg1_amp_ctl", "EG1 To Amp"},
1447 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1448 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1449 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1450 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1451 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1452 { 0, 0, organ_enums::ampctl_count
- 1,
1453 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg2_amp_ctl", "EG2 To Amp"},
1455 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1456 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1457 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1458 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1459 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1460 { 0, 0, organ_enums::ampctl_count
- 1,
1461 0, PF_INT
| PF_CTL_COMBO
, organ_ampctl_names
, "eg3_amp_ctl", "EG3 To Amp"},
1463 { 6.6, 0.01, 240, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "vib_rate", "Vib Rate" },
1464 { 1.0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_amt", "Vib Mod Amt" },
1465 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
, NULL
, "vib_wet", "Vib Wet" },
1466 { 180, 0, 360, 0, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_DEG
, NULL
, "vib_phase", "Vib Stereo" },
1467 { organ_enums::lfomode_global
, 0, organ_enums::lfomode_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_mode_names
, "vib_mode", "Vib Mode" },
1468 { organ_enums::lfotype_cv3
, 0, organ_enums::lfotype_count
- 1, 0, PF_ENUM
| PF_CTL_COMBO
, organ_vibrato_type_names
, "vib_type", "Vib Type" },
1469 // { 0, 0, organ_enums::ampctl_count - 1,
1470 // 0, PF_INT | PF_CTL_COMBO, organ_ampctl_names, "vel_amp_ctl", "Vel To Amp"},
1472 { -12, -24, 24, 49, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "transpose", "Transpose" },
1473 { 0, -100, 100, 201, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "detune", "Detune" },
1475 { 16, 1, 32, 32, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
, NULL
, "polyphony", "Polyphony" },
1477 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "quad_env", "Quadratic AmpEnv" },
1479 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1481 { 80, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "bass_freq", "Bass Freq" },
1482 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "bass_gain", "Bass Gain" },
1483 { 12000, 20, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "treble_freq", "Treble Freq" },
1484 { 1, 0.1, 10, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "treble_gain", "Treble Gain" },
1487 const char *const *organ_metadata::get_configure_vars() const
1489 static const char *names
[] = {"map_curve", NULL
};
1493 ////////////////////////////////////////////////////////////////////////////
1495 const char *fluidsynth_init_soundfont
= "";
1496 const char *fluidsynth_init_presetkeyset
= "";
1498 const char *fluidsynth_interpolation_names
[] = { "None (zero-hold)", "Linear", "Cubic", "7-point" };
1500 CALF_PORT_NAMES(fluidsynth
) = {
1504 CALF_PLUGIN_INFO(fluidsynth
) = { 0x8700, "Fluidsynth", "Calf Fluidsynth", "FluidSynth Team / Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SynthesizerPlugin" };
1506 CALF_PORT_PROPS(fluidsynth
) = {
1507 { 0.5, 0, 1, 100, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_PROP_OUTPUT_GAIN
, NULL
, "master", "Volume" },
1508 { 2, 0, 3, 0, PF_ENUM
| PF_CTL_COMBO
, fluidsynth_interpolation_names
, "interpolation", "Interpolation" },
1509 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "reverb", "Reverb" },
1510 { 1, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "chorus", "Chorus" },
1513 const char *const *fluidsynth_metadata::get_configure_vars() const
1515 static const char *names
[] = {"soundfont", "preset_key_set", NULL
};
1519 ////////////////////////////////////////////////////////////////////////////
1521 const char *wavetable_names
[] = {
1553 static const char *wavetable_mod_src_names
[] = {
1566 static const char *wavetable_mod_dest_names
[] = {
1569 "Osc Mix Ratio (%)",
1579 CALF_PORT_NAMES(wavetable
) = {
1583 CALF_PLUGIN_INFO(wavetable
) = { 0x8701, "Wavetable", "Calf Wavetable", "Krzysztof Foltman", calf_plugins::calf_copyright_info
, "SynthesizerPlugin" };
1585 CALF_PORT_PROPS(wavetable
) = {
1586 { 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" },
1587 { 0.2, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o1offset", "Osc1 Ctl"},
1588 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o1trans", "Osc1 Transpose" },
1589 { 6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o1detune", "Osc1 Detune" },
1590 { 0.1, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o1level", "Osc1 Level" },
1592 { 0, 0, wavetable_metadata::wt_count
- 1, 0, PF_ENUM
| PF_SCALE_LINEAR
| PF_CTL_COMBO
, wavetable_names
, "o2wave", "Osc2 Wave" },
1593 { 0.4, -1, 1, 0, PF_FLOAT
| PF_SCALE_PERC
| PF_CTL_KNOB
| PF_UNIT_COEF
, NULL
, "o2offset", "Osc2 Ctl"},
1594 { 0, -48, 48, 48*2+1, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_SEMITONES
, NULL
, "o2trans", "Osc2 Transpose" },
1595 { -6, -100, 100, 0, PF_INT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "o2detune", "Osc2 Detune" },
1596 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_GAIN
| PF_CTL_KNOB
| PF_UNIT_COEF
| PF_PROP_NOBOUNDS
, NULL
, "o2level", "Osc2 Level" },
1598 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_a", "EG1 Attack" },
1599 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_d", "EG1 Decay" },
1600 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_s", "EG1 Sustain" },
1601 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_f", "EG1 Fade" },
1602 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr_r", "EG1 Release" },
1603 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr_v", "EG1 VelMod" },
1605 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_a", "EG2 Attack" },
1606 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_d", "EG2 Decay" },
1607 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_s", "EG2 Sustain" },
1608 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_f", "EG2 Fade" },
1609 { 50, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr2_r", "EG2 Release" },
1610 { 1, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr2_v", "EG2 VelMod" },
1612 { 1, 1,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_a", "EG3 Attack" },
1613 { 350, 10,20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_d", "EG3 Decay" },
1614 { 0.5, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_s", "EG3 Sustain" },
1615 { 0, -10000,10000, 21, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_f", "EG3 Fade" },
1616 { 50, 10, 20000, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_MSEC
, NULL
, "adsr3_r", "EG3 Release" },
1617 { 0, 0, 1, 0, PF_FLOAT
| PF_SCALE_PERC
, NULL
, "adsr3_v", "EG3 VelMod" },
1619 { 200, 0, 2400, 25, PF_FLOAT
| PF_SCALE_LINEAR
| PF_CTL_KNOB
| PF_UNIT_CENTS
, NULL
, "pbend_range", "PBend Range" },
1620 { 0, 0, 1, 0, PF_BOOL
| PF_CTL_TOGGLE
, NULL
, "eg1amp", "EG1->Amp" },
1621 { 5, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo1_rate", "LFO1 Rate" },
1622 { 0.25, 0.01, 20, 0, PF_FLOAT
| PF_SCALE_LOG
| PF_CTL_KNOB
| PF_UNIT_HZ
, NULL
, "lfo2_rate", "LFO2 Rate" },
1626 wavetable_metadata::wavetable_metadata()
1627 : mm_metadata(mod_matrix_slots
, wavetable_mod_src_names
, wavetable_mod_dest_names
)
1631 ////////////////////////////////////////////////////////////////////////////
1633 calf_plugins::plugin_registry::plugin_registry()
1635 #define PER_MODULE_ITEM(name, isSynth, jackname) plugins.push_back((new name##_metadata));
1636 #include <calf/modulelist.h>