Class thl::dsp::fx::ConstellationReverbImpl#

class ConstellationReverbImpl : public thl::dsp::BaseProcessor#

Inheritance diagram for thl::dsp::fx::ConstellationReverbImpl:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="thl::dsp::BaseProcessor" tooltip="thl::dsp::BaseProcessor"] "1" [label="thl::dsp::fx::ConstellationReverbImpl" tooltip="thl::dsp::fx::ConstellationReverbImpl" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for thl::dsp::fx::ConstellationReverbImpl:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="thl::dsp::BaseProcessor" tooltip="thl::dsp::BaseProcessor"] "1" [label="thl::dsp::fx::ConstellationReverbImpl" tooltip="thl::dsp::fx::ConstellationReverbImpl" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Constellation reverb processor — a Dattorro plate reverb with asymmetric shimmer pitch shifting and per-side single-sideband frequency shifting.

All delay memory is heap-allocated via DynamicDelayLine (BufferF backed). Internal modulation (LFO rates, Brownian rates, excursion depths) is hardcoded to curated values. The public interface focuses on tonal shaping.

The buffer must have at least 2 channels. Reverb output is always written to ch0 (left) and ch1 (right). Input mixing is controlled by the ChannelMode parameter: MonoToStereo – read ch0 only StereoToStereo – average ch0+ch1

Parameters: Decay – reverb tail length [0, 1] Size – tank scale factor [0.1, 4] Freeze – infinite sustain, cuts input and damping (bool) PredelayMs – input pre-delay in milliseconds [0, 200] Damping – high-frequency absorption [0, 1] InputHpHz – input highpass cutoff in Hz Shimmer – shimmer pitch-shift wet mix [0, 1] ShimmerSemitones – shimmer pitch interval in semitones ShimmerDetune – asymmetric detune between L/R shimmer [-1, 1] ShimmerModDepth – brownian pitch-mod depth in cents FreqShift – frequency-shift wet mix [0, 1] FreqShiftHz – base frequency shift in Hz FreqShiftDetune – asymmetric detune between L/R shifter [-1, 1] FreqShiftModDepth – brownian freq-mod depth in Hz ChannelModeParam – ConstellationReverbChannelMode (int)

Where the shimmer pitch-shifts the tank is set_shimmer_position() (Feedback by default).

Public Types

enum class ShimmerPosition : uint8_t#

Where the shimmer pitch-shifts the tank.

Values:

enumerator Feedback#

Each half’s output, in the feedback only: heard after a round of decay, so it builds with a long decay (as ValhallaShimmer).

The default.

enumerator Input#

Each half’s input, the fresh input and the feedback together: heard on the first pass, also with a short decay (as hexefx’s plate reverb).

Public Functions

ConstellationReverbImpl()#
~ConstellationReverbImpl() override#
virtual void prepare(const double &sample_rate, const size_t &samples_per_block, const size_t &num_channels) override#
virtual void process(thl::core::BufferView buffer, uint32_t modulation_offset = 0) override#
inline void set_shimmer_position(ShimmerPosition position)#

Audio thread, or before prepare(): where the shimmer sits from the next sample.

inline ShimmerPosition shimmer_position() const#

Protected Types

enum Parameter#

Values:

enumerator Decay#
enumerator Size#
enumerator Freeze#
enumerator PredelayMs#
enumerator Damping#
enumerator InputHpHz#
enumerator Shimmer#
enumerator ShimmerSemitones#
enumerator ShimmerDetune#
enumerator ShimmerModDepth#
enumerator FreqShift#
enumerator FreqShiftHz#
enumerator FreqShiftDetune#
enumerator FreqShiftModDepth#
enumerator ChannelModeParam#
enumerator NumParameters#

Protected Functions

template<typename T>
T get_parameter(Parameter p, uint32_t modulation_offset = 0)#
virtual float get_parameter_float(Parameter p, uint32_t modulation_offset = 0) = 0#
virtual bool get_parameter_bool(Parameter p, uint32_t modulation_offset = 0) = 0#
virtual int get_parameter_int(Parameter p, uint32_t modulation_offset = 0) = 0#
template<>
inline float get_parameter(Parameter p, uint32_t modulation_offset)#
template<>
inline bool get_parameter(Parameter p, uint32_t modulation_offset)#
template<>
inline int get_parameter(Parameter p, uint32_t modulation_offset)#