|
Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
#include <plate_reverb.hpp>
Public Member Functions | |
| PlateReverb ()=default | |
| void | init (float *pool, uint32_t pool_size) |
| Initialize with a pre-allocated float buffer pool. | |
| void | set_sample_rate (uint32_t sr) |
| void | set_decay (float decay) |
| void | set_damping (float damp) |
| void | set_predelay (float ms) |
| void | set_width (float width) |
| void | set_mix (float mix) |
| float | decay () const |
| float | damping () const |
| float | mix () const |
| float | width () const |
| void | process (float *left, float *right, uint16_t frames) |
| Process a stereo block in-place (float) | |
| void | reset () |
Definition at line 120 of file plate_reverb.hpp.
|
default |
|
inline |
Definition at line 233 of file plate_reverb.hpp.
|
inline |
Definition at line 232 of file plate_reverb.hpp.
Referenced by set_decay().
|
inline |
Initialize with a pre-allocated float buffer pool.
| pool | Float buffer pool (must outlive the PlateReverb) |
| pool_size | Pool size in floats (must be >= PLATE_REVERB_BUFFER_SIZE) |
Definition at line 131 of file plate_reverb.hpp.
References sbl::widgets::proc::plate::BUFFER_SIZE, sbl::widgets::proc::plate::DECAY_DIFFUSION1, sbl::widgets::proc::plate::DECAY_DIFFUSION2, sbl::dsp::AllpassFilter::init(), sbl::dsp::ModulatedDelayLine::init(), sbl::widgets::proc::plate::INPUT_AP1, sbl::widgets::proc::plate::INPUT_AP2, sbl::widgets::proc::plate::INPUT_AP3, sbl::widgets::proc::plate::INPUT_AP4, sbl::widgets::proc::plate::INPUT_DIFFUSION1, sbl::widgets::proc::plate::INPUT_DIFFUSION2, sbl::widgets::proc::plate::MOD_MARGIN, sbl::widgets::proc::plate::PREDELAY_MAX, reset(), sbl::dsp::AllpassFilter::set_feedback(), sbl::widgets::proc::plate::TANK_L_AP1, sbl::widgets::proc::plate::TANK_L_AP2, sbl::widgets::proc::plate::TANK_L_DELAY1, sbl::widgets::proc::plate::TANK_L_DELAY2, sbl::widgets::proc::plate::TANK_R_AP1, sbl::widgets::proc::plate::TANK_R_AP2, sbl::widgets::proc::plate::TANK_R_DELAY1, and sbl::widgets::proc::plate::TANK_R_DELAY2.
|
inline |
Definition at line 234 of file plate_reverb.hpp.
Referenced by set_mix().
|
inline |
Process a stereo block in-place (float)
| left | Left channel buffer (float, in-place) |
| right | Right channel buffer (float, in-place) |
| frames | Number of sample frames |
Definition at line 244 of file plate_reverb.hpp.
References sbl::widgets::proc::plate::MOD_DEPTH, sbl::widgets::proc::plate::MOD_MARGIN, sbl::dsp::AllpassFilter::process(), sbl::dsp::OnePole::process(), sbl::dsp::ModulatedDelayLine::read_cubic(), sbl::widgets::proc::plate::TANK_L_AP1, sbl::widgets::proc::plate::TANK_L_AP2, sbl::widgets::proc::plate::TANK_L_DELAY1, sbl::widgets::proc::plate::TANK_L_DELAY2, sbl::widgets::proc::plate::TANK_R_AP1, sbl::widgets::proc::plate::TANK_R_AP2, sbl::widgets::proc::plate::TANK_R_DELAY1, sbl::widgets::proc::plate::TANK_R_DELAY2, sbl::widgets::proc::plate::TAP_L_AP1_A, sbl::widgets::proc::plate::TAP_L_AP2_A, sbl::widgets::proc::plate::TAP_L_DL1_B, sbl::widgets::proc::plate::TAP_L_DL2_A, sbl::widgets::proc::plate::TAP_L_DL2_B, sbl::widgets::proc::plate::TAP_R_AP1_A, sbl::widgets::proc::plate::TAP_R_AP2_A, sbl::widgets::proc::plate::TAP_R_DL1_A, sbl::widgets::proc::plate::TAP_R_DL1_B, sbl::widgets::proc::plate::TAP_R_DL2_A, sbl::widgets::proc::plate::TAP_R_DL2_B, sbl::dsp::ModulatedDelayLine::write(), sbl::dsp::AllpassFilter::write_pos(), and sbl::dsp::ModulatedDelayLine::write_pos().
|
inline |
Definition at line 363 of file plate_reverb.hpp.
References sbl::dsp::AllpassFilter::clear(), sbl::dsp::ModulatedDelayLine::clear(), and sbl::dsp::OnePole::reset().
Referenced by init().
|
inline |
Definition at line 200 of file plate_reverb.hpp.
References sbl::dsp::OnePole::set_coefficient().
|
inline |
Definition at line 194 of file plate_reverb.hpp.
References decay().
|
inline |
Definition at line 226 of file plate_reverb.hpp.
References mix().
|
inline |
Definition at line 211 of file plate_reverb.hpp.
References sbl::widgets::proc::plate::PREDELAY_MAX.
|
inline |
Definition at line 185 of file plate_reverb.hpp.
References sbl::widgets::proc::plate::MOD_RATE_HZ, and sbl::dsp::OnePole::set_frequency().
|
inline |
Definition at line 220 of file plate_reverb.hpp.
References width().
|
inline |
Definition at line 235 of file plate_reverb.hpp.
Referenced by set_width().