LMMS
Loading...
Searching...
No Matches
metadata.cpp File Reference
#include <config.h>
#include <calf/giface.h>
#include <calf/metadata.h>
#include <calf/audio_fx.h>
#include <calf/modmatrix.h>
#include <calf/utils.h>
#include <calf/modulelist.h>

Namespaces

namespace  calf_plugins

Macros

#define BYPASS_AND_LEVEL_PARAMS
#define METERING_PARAMS
#define LPHP_PARAMS
#define SHELF_PARAMS
#define EQ_BAND_PARAMS(band, frequency)
#define EQ_DISPLAY_PARAMS
#define PERIODICAL_DEFINITIONS(init)
#define MULTI_BAND_COMP_PARAMS(band1, band2)
#define MULTI_BAND_GATE_PARAMS(band1, band2)
#define GRAPHICEQ_BAND_PARAMS(band)
#define GRAPHICEQ_GAIN_PARAMS(band)
#define XOVER_BAND_PARAMS(band)
#define VOCODER_BAND_PARAMS(band)
#define VINYL_SYNTH(band)
#define PER_MODULE_ITEM(name, isSynth, jackname)

Functions

 calf_plugins::CALF_PORT_NAMES (flanger)
 calf_plugins::CALF_PORT_PROPS (flanger)
 calf_plugins::CALF_PLUGIN_INFO (flanger)
 calf_plugins::CALF_PORT_NAMES (phaser)
 calf_plugins::CALF_PORT_PROPS (phaser)
 calf_plugins::CALF_PLUGIN_INFO (phaser)
 calf_plugins::CALF_PORT_NAMES (reverb)
 calf_plugins::CALF_PORT_PROPS (reverb)
 calf_plugins::CALF_PLUGIN_INFO (reverb)
 calf_plugins::CALF_PORT_NAMES (filter)
 calf_plugins::CALF_PORT_PROPS (filter)
 calf_plugins::CALF_PLUGIN_INFO (filter)
 calf_plugins::CALF_PORT_NAMES (filterclavier)
 calf_plugins::CALF_PORT_PROPS (filterclavier)
 calf_plugins::CALF_PLUGIN_INFO (filterclavier)
 calf_plugins::CALF_PORT_NAMES (envelopefilter)
 calf_plugins::CALF_PORT_PROPS (envelopefilter)
 calf_plugins::CALF_PLUGIN_INFO (envelopefilter)
 calf_plugins::CALF_PORT_NAMES (vintage_delay)
 calf_plugins::CALF_PORT_PROPS (vintage_delay)
 calf_plugins::CALF_PLUGIN_INFO (vintage_delay)
 calf_plugins::CALF_PORT_NAMES (comp_delay)
 calf_plugins::CALF_PORT_PROPS (comp_delay)
 calf_plugins::CALF_PLUGIN_INFO (comp_delay)
 calf_plugins::CALF_PORT_NAMES (reverse_delay)
 calf_plugins::CALF_PORT_PROPS (reverse_delay)
 calf_plugins::CALF_PLUGIN_INFO (reverse_delay)
 calf_plugins::CALF_PORT_NAMES (rotary_speaker)
 calf_plugins::CALF_PORT_PROPS (rotary_speaker)
 calf_plugins::CALF_PLUGIN_INFO (rotary_speaker)
 calf_plugins::CALF_PORT_NAMES (multichorus)
 calf_plugins::CALF_PORT_PROPS (multichorus)
 calf_plugins::CALF_PLUGIN_INFO (multichorus)
 calf_plugins::CALF_PORT_NAMES (monocompressor)
 calf_plugins::CALF_PORT_PROPS (monocompressor)
 calf_plugins::CALF_PLUGIN_INFO (monocompressor)
 calf_plugins::CALF_PORT_NAMES (compressor)
 calf_plugins::CALF_PORT_PROPS (compressor)
 calf_plugins::CALF_PLUGIN_INFO (compressor)
 calf_plugins::CALF_PORT_NAMES (sidechaincompressor)
 calf_plugins::CALF_PORT_PROPS (sidechaincompressor)
 calf_plugins::CALF_PLUGIN_INFO (sidechaincompressor)
 calf_plugins::CALF_PORT_NAMES (multibandcompressor)
 calf_plugins::CALF_PORT_PROPS (multibandcompressor)
 calf_plugins::CALF_PLUGIN_INFO (multibandcompressor)
 calf_plugins::CALF_PORT_NAMES (deesser)
 calf_plugins::CALF_PORT_PROPS (deesser)
 calf_plugins::CALF_PLUGIN_INFO (deesser)
 calf_plugins::CALF_PORT_NAMES (gate)
 calf_plugins::CALF_PORT_PROPS (gate)
 calf_plugins::CALF_PLUGIN_INFO (gate)
 calf_plugins::CALF_PORT_NAMES (sidechaingate)
 calf_plugins::CALF_PORT_PROPS (sidechaingate)
 calf_plugins::CALF_PLUGIN_INFO (sidechaingate)
 calf_plugins::CALF_PORT_NAMES (multibandgate)
 calf_plugins::CALF_PORT_PROPS (multibandgate)
 calf_plugins::CALF_PLUGIN_INFO (multibandgate)
 calf_plugins::CALF_PORT_NAMES (limiter)
 calf_plugins::CALF_PORT_PROPS (limiter)
 calf_plugins::CALF_PLUGIN_INFO (limiter)
 calf_plugins::CALF_PORT_NAMES (multibandlimiter)
 calf_plugins::CALF_PORT_PROPS (multibandlimiter)
 calf_plugins::CALF_PLUGIN_INFO (multibandlimiter)
 calf_plugins::CALF_PORT_NAMES (sidechainlimiter)
 calf_plugins::CALF_PORT_PROPS (sidechainlimiter)
 calf_plugins::CALF_PLUGIN_INFO (sidechainlimiter)
 calf_plugins::CALF_PORT_NAMES (emphasis)
 calf_plugins::CALF_PORT_PROPS (emphasis)
 calf_plugins::CALF_PLUGIN_INFO (emphasis)
 calf_plugins::CALF_PORT_NAMES (equalizer5band)
 calf_plugins::CALF_PORT_PROPS (equalizer5band)
 calf_plugins::CALF_PLUGIN_INFO (equalizer5band)
 calf_plugins::CALF_PORT_NAMES (equalizer8band)
 calf_plugins::CALF_PORT_PROPS (equalizer8band)
 calf_plugins::CALF_PLUGIN_INFO (equalizer8band)
 calf_plugins::CALF_PORT_NAMES (equalizer12band)
 calf_plugins::CALF_PORT_PROPS (equalizer12band)
 calf_plugins::CALF_PLUGIN_INFO (equalizer12band)
 calf_plugins::CALF_PORT_NAMES (equalizer30band)
 calf_plugins::CALF_PORT_PROPS (equalizer30band)
 calf_plugins::CALF_PLUGIN_INFO (equalizer30band)
 calf_plugins::CALF_PORT_NAMES (xover2)
 calf_plugins::CALF_PORT_PROPS (xover2)
 calf_plugins::CALF_PLUGIN_INFO (xover2)
 calf_plugins::CALF_PORT_NAMES (xover3)
 calf_plugins::CALF_PORT_PROPS (xover3)
 calf_plugins::CALF_PLUGIN_INFO (xover3)
 calf_plugins::CALF_PORT_NAMES (xover4)
 calf_plugins::CALF_PORT_PROPS (xover4)
 calf_plugins::CALF_PLUGIN_INFO (xover4)
 calf_plugins::CALF_PORT_NAMES (vocoder)
 calf_plugins::CALF_PORT_PROPS (vocoder)
 calf_plugins::CALF_PLUGIN_INFO (vocoder)
 calf_plugins::CALF_PORT_NAMES (pulsator)
 calf_plugins::CALF_PORT_PROPS (pulsator)
 calf_plugins::CALF_PLUGIN_INFO (pulsator)
 calf_plugins::CALF_PORT_NAMES (ringmodulator)
 calf_plugins::CALF_PORT_PROPS (ringmodulator)
 calf_plugins::CALF_PLUGIN_INFO (ringmodulator)
 calf_plugins::CALF_PORT_NAMES (saturator)
 calf_plugins::CALF_PORT_PROPS (saturator)
 calf_plugins::CALF_PLUGIN_INFO (saturator)
 calf_plugins::CALF_PORT_NAMES (exciter)
 calf_plugins::CALF_PORT_PROPS (exciter)
 calf_plugins::CALF_PLUGIN_INFO (exciter)
 calf_plugins::CALF_PORT_NAMES (bassenhancer)
 calf_plugins::CALF_PORT_PROPS (bassenhancer)
 calf_plugins::CALF_PLUGIN_INFO (bassenhancer)
 calf_plugins::CALF_PORT_NAMES (stereo)
 calf_plugins::CALF_PORT_PROPS (stereo)
 calf_plugins::CALF_PLUGIN_INFO (stereo)
 calf_plugins::CALF_PORT_NAMES (multibandenhancer)
 calf_plugins::CALF_PORT_PROPS (multibandenhancer)
 calf_plugins::CALF_PLUGIN_INFO (multibandenhancer)
 calf_plugins::CALF_PORT_NAMES (multispread)
 calf_plugins::CALF_PORT_PROPS (multispread)
 calf_plugins::CALF_PLUGIN_INFO (multispread)
 calf_plugins::CALF_PORT_NAMES (haas_enhancer)
 calf_plugins::CALF_PORT_PROPS (haas_enhancer)
 calf_plugins::CALF_PLUGIN_INFO (haas_enhancer)
 calf_plugins::CALF_PORT_NAMES (mono)
 calf_plugins::CALF_PORT_PROPS (mono)
 calf_plugins::CALF_PLUGIN_INFO (mono)
 calf_plugins::CALF_PORT_NAMES (analyzer)
 calf_plugins::CALF_PORT_PROPS (analyzer)
 calf_plugins::CALF_PLUGIN_INFO (analyzer)
 calf_plugins::CALF_PORT_NAMES (transientdesigner)
 calf_plugins::CALF_PORT_PROPS (transientdesigner)
 calf_plugins::CALF_PLUGIN_INFO (transientdesigner)
 calf_plugins::CALF_PORT_NAMES (vinyl)
 calf_plugins::CALF_PORT_PROPS (vinyl)
 calf_plugins::CALF_PLUGIN_INFO (vinyl)
 calf_plugins::CALF_PORT_NAMES (tapesimulator)
 calf_plugins::CALF_PORT_PROPS (tapesimulator)
 calf_plugins::CALF_PLUGIN_INFO (tapesimulator)
 calf_plugins::CALF_PORT_NAMES (crusher)
 calf_plugins::CALF_PORT_PROPS (crusher)
 calf_plugins::CALF_PLUGIN_INFO (crusher)
 calf_plugins::CALF_PORT_NAMES (psyclipper)
 calf_plugins::CALF_PORT_PROPS (psyclipper)
 calf_plugins::CALF_PLUGIN_INFO (psyclipper)
 calf_plugins::CALF_PORT_NAMES (monosynth)
 calf_plugins::CALF_PLUGIN_INFO (monosynth)
 calf_plugins::CALF_PORT_PROPS (monosynth)
 calf_plugins::CALF_PLUGIN_INFO (organ)
 calf_plugins::CALF_PORT_NAMES (organ)
 calf_plugins::CALF_PORT_PROPS (organ)
 calf_plugins::CALF_PORT_NAMES (fluidsynth)
 calf_plugins::CALF_PLUGIN_INFO (fluidsynth)
 calf_plugins::CALF_PORT_PROPS (fluidsynth)
 calf_plugins::CALF_PORT_NAMES (wavetable)
 calf_plugins::CALF_PLUGIN_INFO (wavetable)
 calf_plugins::CALF_PORT_PROPS (wavetable)
 calf_plugins::CALF_PORT_NAMES (pitch)
 calf_plugins::CALF_PORT_PROPS (pitch)
 calf_plugins::CALF_PLUGIN_INFO (pitch)
 calf_plugins::CALF_PORT_NAMES (widgets)
 calf_plugins::CALF_PORT_PROPS (widgets)
 calf_plugins::CALF_PLUGIN_INFO (widgets)

Variables

const char * calf_plugins::crossover_filter_choices [] = { "LR2", "LR4", "LR8" }
const char * calf_plugins::mb_crossover_filter_choices [] = { "LR4", "LR8" }
const char * calf_plugins::eq_analyzer_mode_names [] = { "Input", "Output", "Difference" }
const char * calf_plugins::periodical_mode_names []
const char * calf_plugins::reverb_room_sizes [] = { "Small", "Medium", "Large", "Tunnel-like", "Large/smooth", "Experimental" }
const char * calf_plugins::filter_choices []
const char * calf_plugins::vintage_delay_mixmodes []
const char * calf_plugins::vintage_delay_fbmodes []
const char * calf_plugins::vintage_delay_fragmentation []
const char * calf_plugins::rotary_speaker_speed_names [] = { "Off", "Chorale", "Tremolo", "HoldPedal", "ModWheel", "Manual" }
const char * calf_plugins::monocompressor_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::monocompressor_stereo_link_names [] = { "Average", "Maximum" }
const char * calf_plugins::compressor_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::compressor_stereo_link_names [] = { "Average", "Maximum" }
const char * calf_plugins::sidechaincompressor_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::sidechaincompressor_stereo_link_names [] = { "Average", "Maximum" }
const char * calf_plugins::sidechaincompressor_mode_names []
const char * calf_plugins::sidechaincompressor_filter_choices [] = { "12dB", "24dB", "36dB"}
const char * calf_plugins::multibandcompressor_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::deesser_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::deesser_mode_names [] = { "Wide", "Split" }
const char * calf_plugins::gate_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::gate_stereo_link_names [] = { "Average", "Maximum" }
const char * calf_plugins::sidechaingate_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::sidechaingate_stereo_link_names [] = { "Average", "Maximum" }
const char * calf_plugins::sidechaingate_mode_names []
const char * calf_plugins::sidechaingate_filter_choices [] = { "12dB", "24dB", "36dB"}
const char * calf_plugins::multibandgate_detection_names [] = { "RMS", "Peak" }
const char * calf_plugins::emphasis_filter_modes [] = { "Reproduction", "Production"}
const char * calf_plugins::emphasis_filter_types [] = { "Columbia", "EMI", "BSI(78rpm)", "RIAA", "Compact Disc (CD)", "50µs (FM)", "75µs (FM)", "50µs (FM-KF)", "75µs (FM-KF)", }
const char * calf_plugins::active_mode_names [] = { " ", "ON", "Left", "Right", "Mid", "Side" }
const char * calf_plugins::rolloff_mode_names [] = {"12dB/oct", "24dB/oct", "36dB/oct"}
const char * calf_plugins::equalizer30band_filters_modes [] = {"Butterworth", "Chebyshev 1", "Chebyshev 2", "Elliptic"}
const char * calf_plugins::equalizer30band_channel_modes [] = {"Individual Stereo", "Linked L ⎈ L/R", "Linked R ⎈ L/R"}
const char * calf_plugins::equalizer30band_gainscale_modes1 [] = {"6 dB", "12 dB", "18 dB", "24 dB", "30 dB"}
const char * calf_plugins::vocoder_analyzer_modes [] = {"Off", "Carrier", "Modulator", "Processed", "Output"}
const char * calf_plugins::pulsator_mode_names [] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" }
const char * calf_plugins::pulsator_pulse_width [] = { "8 Periods", "4 Periods", "2 Periods", "1 Period", "Half Period" }
const char * calf_plugins::ringmod_mode_names [] = { "Sine", "Triangle", "Square", "Saw up", "Saw down" }
const char * calf_plugins::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)" }
const char * calf_plugins::haas_enhancer_source []
const char * calf_plugins::gonio_mode_names [] = { "Small Dots", "Medium Dots", "Big Dots", "Fields", "Lines (High CPU)" }
const char * calf_plugins::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" }
const char * calf_plugins::analyzer_smooth_names [] = { "Off", "Falling", "Transition" }
const char * calf_plugins::analyzer_post_names [] = { "Normalized", "Average", "Additive", "Denoised Peaks" }
const char * calf_plugins::analyzer_view_names [] = { "Bars", "Lines", "Cubic Splines" }
const char * calf_plugins::analyzer_scale_names [] = { "Logarithmic", "Linear" }
const char * calf_plugins::analyzer_windowing_names [] = { "Rectangular", "Hamming", "von Hann", "Blackman", "Blackman-Harris", "Blackman-Nuttall", "Sine", "Lanczos", "Gauß", "Bartlett", "Triangular", "Bartlett-Hann" }
const char * calf_plugins::transientdesigner_view_names [] = { "Output", "Envelope", "Attack", "Release" }
const char * calf_plugins::transientdesigner_filter_modes [] = { "Off", "12dB", "24dB", "36dB" }
const char * calf_plugins::tapesimulator_speed_names [] = { "Slow", "Fast" }
const char * calf_plugins::crusher_mode_names [] = { "Linear", "Logarithmic" }
const char * calf_plugins::monosynth_waveform_names []
const char * calf_plugins::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" }
const char * calf_plugins::monosynth_legato_names [] = { "Retrig", "Legato", "Fng Retrig", "Fng Legato" }
const char * calf_plugins::monosynth_lfotrig_names [] = { "Retrig", "Free" }
const char * calf_plugins::monosynth_filter_choices []
static const char * calf_plugins::monosynth_mod_src_names []
static const char * calf_plugins::monosynth_mod_dest_names []
const char * calf_plugins::organ_percussion_trigger_names [] = { "First note", "Each note", "Each, no retrig", "Polyphonic" }
const char * calf_plugins::organ_wave_names []
const char * calf_plugins::organ_routing_names [] = { "Out", "Flt 1", "Flt 2" }
const char * calf_plugins::organ_ampctl_names [] = { "None", "Direct", "Flt 1", "Flt 2", "All" }
const char * calf_plugins::organ_vibrato_mode_names [] = { "None", "Direct", "Flt 1", "Flt 2", "Voice", "Global" }
const char * calf_plugins::organ_vibrato_type_names [] = { "Allpass", "Scanner (V1/C1)", "Scanner (V2/C2)", "Scanner (V3/C3)", "Scanner (Full)" }
const char * calf_plugins::organ_filter_type_names [] = { "12dB/oct LP", "12dB/oct HP" }
const char * calf_plugins::organ_filter_send_names [] = { "Output", "Filter 2" }
const char * calf_plugins::fluidsynth_interpolation_names [] = { "None (zero-hold)", "Linear", "Cubic", "7-point" }
const char * calf_plugins::wavetable_names []
static const char * calf_plugins::wavetable_mod_src_names []
static const char * calf_plugins::wavetable_mod_dest_names []

Macro Definition Documentation

◆ BYPASS_AND_LEVEL_PARAMS

#define BYPASS_AND_LEVEL_PARAMS
Value:
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass", "Bypass" }, \
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_in", "Input Gain" }, \
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB | PF_PROP_NOBOUNDS, NULL, "level_out", "Output Gain" },
#define NULL
Definition CarlaBridgeFormat.cpp:30
@ PF_PROP_NOBOUNDS
no epp:hasStrictBounds
Definition giface.h:81
@ PF_CTL_KNOB
knob
Definition giface.h:64
@ PF_SCALE_GAIN
gain = -96dB..0 or -inf dB
Definition giface.h:57
@ PF_UNIT_DB
decibels
Definition giface.h:89
@ PF_FLOAT
any float value
Definition giface.h:47

◆ EQ_BAND_PARAMS

#define EQ_BAND_PARAMS ( band,
frequency )
Value:
{ 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "p" #band "_active", "F" #band " Active" }, \
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "p" #band "_level", "Level " #band }, \
{ frequency, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ | PF_PROP_GRAPH, NULL, "p" #band "_freq", "Freq " #band }, \
{ 1, 0.1, 100, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "p" #band "_q", "Q " #band },
@ PF_SCALE_LOG
log scale
Definition giface.h:56
@ PF_PROP_GRAPH
add graph
Definition giface.h:85
@ PF_UNIT_HZ
Hertz.
Definition giface.h:92
@ PF_UNIT_COEF
multiply-by factor
Definition giface.h:91

◆ EQ_DISPLAY_PARAMS

#define EQ_DISPLAY_PARAMS
Value:
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "individuals", "Individual Filters" }, \
{ 0.25, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_FADER | PF_UNIT_DB, NULL, "zoom", "Zoom" }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "analyzer", "Analyzer Active" }, \
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, eq_analyzer_mode_names, "analyzer_mode", "Analyzer Mode" }, \
@ PF_BOOL
bool value (usually >=0.5f is treated as TRUE, which is inconsistent with LV2 etc....
Definition giface.h:49
@ PF_ENUM
enum value (min, min+1, ..., max, only guaranteed to work when min = 0)
Definition giface.h:50
@ PF_CTL_TOGGLE
toggle button
Definition giface.h:66
@ PF_CTL_COMBO
combo box
Definition giface.h:67
const char * eq_analyzer_mode_names[]
Definition metadata.cpp:39

◆ GRAPHICEQ_BAND_PARAMS

#define GRAPHICEQ_BAND_PARAMS ( band)
Value:
{ 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_OPTIONAL, NULL, "gain" #band, "Gain " #band },\
{ 0, -32, 32, 0, PF_FLOAT | PF_DIGIT_1 | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain_scale" #band, "Gain Scale " #band },

◆ GRAPHICEQ_GAIN_PARAMS

#define GRAPHICEQ_GAIN_PARAMS ( band)
Value:
{ 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain" #band, "Gain " #band },\
{ 0, -32, 32, 0, PF_FLOAT | PF_UNIT_DB | PF_SCALE_LINEAR | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "gain_scale" #band, "Gain Scale " #band },

◆ LPHP_PARAMS

#define LPHP_PARAMS
Value:
{ 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hp_active", "HP Active" }, \
{ 30, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hp_freq", "HP Freq" }, \
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "hp_mode", "HP Mode" }, \
{ 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "hp_q", "HP Q" }, \
{ 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "lp_active", "LP Active" }, \
{ 18000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "lp_freq", "LP Freq" }, \
{ 1, 0, 2, 0, PF_ENUM | PF_CTL_COMBO, rolloff_mode_names, "lp_mode", "LP Mode" }, \
{ 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "lp_q", "LP Q" }, \
const char * rolloff_mode_names[]
Definition metadata.cpp:881
const char * active_mode_names[]
Definition metadata.cpp:860

◆ METERING_PARAMS

#define METERING_PARAMS
Value:
{ 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" }, \
{ 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" }, \
{ 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" }, \
{ 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" }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inL", "0dB-InL" }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_inR", "0dB-InR" }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outL", "0dB-OutL" }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "clip_outR", "0dB-OutR" },
@ PF_CTL_LED
light emitting diode
Definition giface.h:71
@ PF_CTLO_LABEL
add a text display to the control (meters only)
Definition giface.h:77
@ PF_PROP_OUTPUT
output port (flag, cannot be combined with others)
Definition giface.h:86
@ PF_CTL_METER
volume meter
Definition giface.h:70
@ PF_PROP_OPTIONAL
connection optional
Definition giface.h:84

◆ MULTI_BAND_COMP_PARAMS

#define MULTI_BAND_COMP_PARAMS ( band1,
band2 )
Value:
{ 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DBFS, NULL, "threshold" #band1, "Threshold " #band2 }, \
{ 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
{ 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
{ 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
{ 1, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
{ 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
{ 1, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "compression" #band1, "Gain Reduction " #band2 }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "output" #band1, "Output " #band2 }, \
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
@ PF_UNIT_MSEC
millisecond
Definition giface.h:94
@ PF_CTLO_REVERSE
use VU_MONOCHROME_REVERSE mode (meters only)
Definition giface.h:78
const char * multibandcompressor_detection_names[]
Definition metadata.cpp:529

◆ MULTI_BAND_GATE_PARAMS

#define MULTI_BAND_GATE_PARAMS ( band1,
band2 )
Value:
{ 0.06125, 0.000015849, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "range" #band1, "Reduction " #band2 }, \
{ 0.25, 0.000976563, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DBFS, NULL, "threshold" #band1, "Threshold " #band2 }, \
{ 2, 1, 20, 21, PF_FLOAT | PF_SCALE_LOG_INF | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ratio" #band1, "Ratio " #band2 }, \
{ 150, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "attack" #band1, "Attack " #band2 }, \
{ 300, 0.01, 2000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "release" #band1, "Release " #band2 }, \
{ 2, 1, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "makeup" #band1, "Makeup " #band2 }, \
{ 2.828427125, 1, 8, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "knee" #band1, "Knee " #band2 }, \
{ 0, 0, 1, 0, PF_ENUM | PF_CTL_COMBO, multibandcompressor_detection_names, "detection" #band1, "Detection " #band2 }, \
{ 1, 0.0625, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_CTLO_REVERSE | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL| PF_PROP_GRAPH, NULL, "gating" #band1, "Gating " #band2 }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_METER | PF_CTLO_LABEL | PF_UNIT_DB | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "output" #band1, "Output " #band2 }, \
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "bypass" #band1, "Bypass " #band2 }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band1, "Solo " #band2 },
@ PF_SCALE_LOG_INF
log scale + +inf (FAKE_INFINITY)
Definition giface.h:60

◆ PER_MODULE_ITEM

#define PER_MODULE_ITEM ( name,
isSynth,
jackname )
Value:
plugins.push_back((new name##_metadata));
static const char * name
Definition pugl.h:1582

◆ PERIODICAL_DEFINITIONS

#define PERIODICAL_DEFINITIONS ( init)
Value:
{ init, 0, 3, 0, PF_ENUM | PF_CTL_COMBO, periodical_mode_names, "timing", "Timing" }, \
{ 120, 30, 300, 1, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_BPM, NULL, "bpm", "BPM" }, \
{ 500, 10, 2000, 1, PF_INT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_MSEC, NULL, "ms", "ms" }, \
{ 2, 0.01, 100, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hz", "Frequency" }, \
{ 120, 1, 300, 1, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_BPM | PF_SYNC_BPM, NULL, "bpm_host", "Host BPM" }, \
@ PF_SYNC_BPM
sync a bpm setting with the host environment
Definition giface.h:103
@ PF_UNIT_BPM
beats per minute
Definition giface.h:97
@ PF_SCALE_LINEAR
linear scale
Definition giface.h:55
@ PF_INT
integer value (still represented as float)
Definition giface.h:48
ZCONST uch * init
Definition extract.c:2392

◆ SHELF_PARAMS

#define SHELF_PARAMS
Value:
{ 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "ls_active", "LS Active" }, \
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "ls_level", "Level L" }, \
{ 100, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "ls_freq", "Freq L" }, \
{ 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "ls_q", "LS Q" }, \
{ 0, 0, 5, 0, PF_ENUM | PF_CTL_COMBO, active_mode_names, "hs_active", "HS Active" }, \
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "hs_level", "Level H" }, \
{ 5000, 10, 20000, 0, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_HZ, NULL, "hs_freq", "Freq H" }, \
{ 0.707, 0.1, 10, 1, PF_FLOAT | PF_SCALE_LOG | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "hs_q", "HS Q" },

◆ VINYL_SYNTH

#define VINYL_SYNTH ( band)
Value:
{ 0, -1, 1, 0, PF_FLOAT | PF_SCALE_PERC | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "pitch" #band, "Pitch " #band }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "active" #band, "Activate " #band },

◆ VOCODER_BAND_PARAMS

#define VOCODER_BAND_PARAMS ( band)
Value:
{ 1, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "volume" #band, "Vol " #band }, \
{ 0, -1, 1, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "pan" #band, "Pan " #band }, \
{ 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "noise" #band, "Noise " #band }, \
{ 0.000015849, 0.000015849, 16, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "mod" #band, "Dry " #band }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "solo" #band, "Solo " #band }, \
{ 0, 0, 1, 0, PF_FLOAT | PF_CTL_LED | PF_PROP_OUTPUT | PF_PROP_OPTIONAL, NULL, "level" #band, "Level " #band }, \
{ 1, 0.25, 4, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "q" #band, "Q " #band },

◆ XOVER_BAND_PARAMS

#define XOVER_BAND_PARAMS ( band)
Value:
{ 1, 0.015625, 64, 0, PF_FLOAT | PF_SCALE_GAIN | PF_CTL_KNOB | PF_UNIT_DB, NULL, "level" #band, "Gain " #band }, \
{ 1, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "active" #band, "Active " #band }, \
{ 0, 0, 1, 0, PF_BOOL | PF_CTL_TOGGLE, NULL, "phase" #band, "Phase " #band }, \
{ 0.0, 0.0, 20.0, 0, PF_FLOAT | PF_SCALE_LINEAR | PF_CTL_KNOB | PF_UNIT_COEF, NULL, "delay" #band, "Delay " #band }, \
{ 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 }, \
{ 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 },