Vital
Loading...
Searching...
No Matches
reverb_module.h
Go to the documentation of this file.
1#pragma once
2
3#include "synth_constants.h"
4#include "synth_module.h"
5
6namespace vital {
7
8 class Reverb;
9
17 class ReverbModule : public SynthModule {
18 public:
26
30 virtual ~ReverbModule();
31
37 void init() override;
38
44 void hardReset() override;
45
53 void enable(bool enable) override;
54
62 void setSampleRate(int sample_rate) override;
63
70 void processWithInput(const poly_float* audio_in, int num_samples) override;
71
77 Processor* clone() const override { return new ReverbModule(*this); }
78
79 protected:
82 JUCE_LEAK_DETECTOR(ReverbModule)
83 };
84} // namespace vital
Base class for all signal-processing units in Vital.
Definition processor.h:212
A Processor implementing a dense feedback network reverb.
Definition reverb.h:16
A module that applies a reverb effect to an audio signal.
Definition reverb_module.h:17
void enable(bool enable) override
Enables or disables the reverb module.
Definition reverb_module.cpp:75
void init() override
Initializes the reverb module and sets up parameter controls.
Definition reverb_module.cpp:25
void processWithInput(const poly_float *audio_in, int num_samples) override
Processes an input audio buffer through the reverb effect.
Definition reverb_module.cpp:100
Reverb * reverb_
Definition reverb_module.h:80
void hardReset() override
Performs a hard reset of the reverb.
Definition reverb_module.cpp:64
void setSampleRate(int sample_rate) override
Sets the sample rate of the reverb processor.
Definition reverb_module.cpp:89
Processor * clone() const override
Clones the reverb module.
Definition reverb_module.h:77
ReverbModule()
Constructs a ReverbModule.
Definition reverb_module.cpp:11
virtual ~ReverbModule()
Destructor for ReverbModule.
Definition reverb_module.cpp:16
A ProcessorRouter that encapsulates a cohesive unit of functionality in the synthesizer.
Definition synth_module.h:129
Contains classes and functions used within the Vital synthesizer framework.
Represents a vector of floating-point values using SIMD instructions.
Definition poly_values.h:600
Defines the SynthModule class which extends ProcessorRouter to form a building block of the Vital syn...