|
HART
0.2.0
High level Audio Regression and Testing
|
Process signals. More...
Classes | |
| class | DSPBase< SampleType > |
| Polymorphic base for all DSP. More... | |
| class | DSP< SampleType, Derived > |
| Base for DSP effects. More... | |
| class | DSPFunction< SampleType > |
| A DSP processor defined by a user-provided function. More... | |
| class | GainDb< SampleType > |
| Applies gain in decibels to the signal. More... | |
| class | GainLinear< SampleType > |
| Applies linear gain (not decibels) to the signal. More... | |
| class | HardClip< SampleType > |
| Applies symmetrical hard clipping (no knee) to the signal. More... | |
| class | Mute< SampleType > |
| Mutes selected channels in the signal. More... | |
| class | StereoToMidSide< SampleType > |
| Converts regular stereo signal into mid-side signal. More... | |
Macros | |
| #define | HART_DSP_NON_COPYABLE std::unique_ptr<DSP<SampleType>> copy() const override { return nullptr; } |
| Forbids hart::DSP::copy() method. | |
| #define | HART_DSP_NON_MOVABLE std::unique_ptr<DSP<SampleType>> move() override { return nullptr; } |
| Forbids hart::DSP::move() method. | |
| #define | HART_DSP_COPYABLE(ClassName) |
| Implements a generic hart::DSP::copy() method. | |
| #define | HART_DSP_MOVABLE(ClassName) |
| Implements a generic hart::DSP::move() method. | |
Functions | |
| template<typename SampleType > | |
| std::ostream & | operator<< (std::ostream &stream, const DSPBase< SampleType > &dsp) |
| Prints readable text representation of the DSP object into the I/O stream. | |
Process signals.
| #define HART_DSP_NON_COPYABLE std::unique_ptr<DSP<SampleType>> copy() const override { return nullptr; } |
Forbids hart::DSP::copy() method.
Put this into your class body's public section if either is true:
Definition at line 579 of file hart_dsp.hpp.
| #define HART_DSP_NON_MOVABLE std::unique_ptr<DSP<SampleType>> move() override { return nullptr; } |
Forbids hart::DSP::move() method.
Put this into your class body's public section if either is true:
Obviously, you won't be able to pass your class to the host by rvalue or explicit move, but you still can pass it wrapped into a smart pointer like so:
Definition at line 594 of file hart_dsp.hpp.
| #define HART_DSP_COPYABLE | ( | ClassName | ) |
Implements a generic hart::DSP::copy() method.
Definition at line 599 of file hart_dsp.hpp.
| #define HART_DSP_MOVABLE | ( | ClassName | ) |
Implements a generic hart::DSP::move() method.
Definition at line 607 of file hart_dsp.hpp.
|
related |
Prints readable text representation of the DSP object into the I/O stream.
Definition at line 567 of file hart_dsp.hpp.