6 #ifndef PDSP_MODULE_DUCKER_H_INCLUDED 7 #define PDSP_MODULE_DUCKER_H_INCLUDED 9 #include "../../DSP/pdspCore.h" 10 #include "../../DSP/envelopes/AHR.h" 11 #include "../../DSP/utility/DBtoLin.h" 12 #include "../../DSP/utility/LinToDB.h" 13 #include "../../DSP/utility/OneMinusInput.h" 26 Ducker(
bool linkChannels ){ patch(); };
107 [[deprecated(
"operator[] deprecated, use the ch( int index ) method instead")]]
110 [[deprecated(
"in_0() deprecated, use the ch( int index ) method instead")]]
113 [[deprecated(
"in_1() deprecated, use the ch( int index ) method instead")]]
116 [[deprecated(
"out_0() deprecated, use the ch( int index ) method instead")]]
119 [[deprecated(
"out_1() deprecated, use the ch( int index ) method instead")]]
138 std::vector<Amp*> amps;
147 #endif // PDSP_MODULE_DUCKER_H_INCLUDED pdsp::Patchable & out_signal()
Sets "signal" as selected output and returns this Unit ready to be patched. This is the default outpu...
Patchable & in_ducking()
Sets "ducking" as selected input and returns this module ready to be patched. This is the amount of t...
Definition: Ducker.cpp:77
void setAttackCurve(float hardness)
sets the curve of the attack stage the internal envelope, from a smoother linear in dB curve to an ha...
Definition: Ducker.cpp:85
Triggered ducking module. Multichannel.
Definition: Ducker.h:23
Patchable & in_hold()
Sets "hold" as selected input and returns this module ready to be patched. This input is the hold tim...
Definition: Ducker.cpp:69
void setReleaseCurve(float hardness)
sets the curve of the release stage of the internal envelope, from a smoother linear in dB curve to a...
Definition: Ducker.cpp:89
Patchable & in_release()
Sets "release" as selected input and returns this module ready to be patched. This input is the relea...
Definition: Ducker.cpp:73
Converts dB values into linear values.
Definition: DBtoLin.h:17
Abstract class for implementing Units and Modules.
Definition: BasicNodes.h:82
pdsp::Patchable & in_signal()
Sets "signal" as selected input and returns this Unit ready to be patched. This is the default input...
Multiply in("signal") for in("mod").
Definition: Amp.h:23
Patchable & in_velocity()
Sets "velocity" as selected input and returns this module ready to be patched. This input is the sens...
Definition: Ducker.cpp:65
Patchable & ch(size_t index)
To use the selected channel as input/output for the operation.
Definition: Ducker.cpp:50
Thread-safe value control with smoothing.
Definition: SequencerBridge.h:11
float meter_env() const
returns the envelope signal. This method is thread-safe.
Definition: Ducker.cpp:81
A Unit with no dsp inside, it just pass it's input to the output. Patching float to this Unit is thre...
Definition: PatchNode.h:41
Attack-Hold-Release envelope.
Definition: AHR.h:24
Patchable & in_trig()
Sets "trig" as selected input and returns this module ready to be patched. This input is the trigger ...
Definition: Ducker.cpp:61
void channels(size_t size)
Allocate a number of channels for processing different inputs. This is automatically called if you qu...
Definition: Ducker.cpp:33
Patchable & in_attack()
Sets "attack" as selected input and returns this module ready to be patched. This input is the attack...
Definition: Ducker.cpp:57