|
HART
0.2.0
High level Audio Regression and Testing
|
Generate signals. More...
Classes | |
| class | AudioBufferSignal< SampleType > |
| Plays audio from a pre-rendered AudioBuffer. More... | |
| class | DC< SampleType > |
| Produces a DC signal. More... | |
| class | Impulse< SampleType > |
| Produces a {1, 0, 0, 0, ...} sequence. More... | |
| class | MixedSignal< SampleType > |
| Produces a mix of multiple signals. More... | |
| class | NyquistSignal< SampleType > |
| Produces a Nyquist signal. More... | |
| class | Sawtooth< SampleType > |
| Produces a bandlimited sawtooth wave at fixed frequency. More... | |
| class | SignalBase< SampleType > |
| Polymorphic base for all signals. More... | |
| class | Signal< SampleType, DerivedSignal > |
| Base class for signals. More... | |
| class | SignalFunction< SampleType > |
| Signal defined by a user-provided function. More... | |
| class | Silence< SampleType > |
| Produces silence (zeros) More... | |
| class | SineSweep< SampleType > |
| Produces a sine sweep. More... | |
| class | SineWave< SampleType > |
| Produces a sine wave at fixed frequency. More... | |
| class | WavFile< SampleType > |
| Produces audio from a wav file. More... | |
| class | WhiteNoise< SampleType > |
| Produces deterministic white noise. More... | |
Macros | |
| #define | HART_SIGNAL_FORBID_COPY_AND_MOVE |
| Forbids hart::Signal::copy() and hart::Signal::move() methods. | |
Functions | |
| template<typename SampleType , typename DerivedSignalTypeLHS , typename DerivedSignalTypeRHS > | |
| MixedSignal< SampleType > | operator+ (const Signal< SampleType, DerivedSignalTypeLHS > &lhs, const Signal< SampleType, DerivedSignalTypeRHS > &rhs) |
| Adds one signal to another, resulting in a new mixed signal. | |
| template<typename SampleType , typename DerivedSignalTypeLHS , typename DerivedSignalTypeRHS > | |
| MixedSignal< SampleType > | operator- (const Signal< SampleType, DerivedSignalTypeLHS > &lhs, const Signal< SampleType, DerivedSignalTypeRHS > &rhs) |
| Subtracts one signal from another, resulting in a new mixed signal. | |
| template<typename SampleType > | |
| std::ostream & | operator<< (std::ostream &stream, const SignalBase< SampleType > &signal) |
| Prints readable text representation of the Signal object into the I/O stream. | |
| template<typename DerivedSignal , typename DerivedDSP > | |
| auto | operator>> (DerivedSignal &signal, DerivedDSP &&dsp) -> decltype(signal.followedBy(std::forward< DerivedDSP >(dsp))) |
| Adds a DSP effect to the end of signal's DSP chain by transfering it. | |
| template<typename DerivedSignal , typename DerivedDSP > | |
| auto | operator>> (DerivedSignal &&signal, DerivedDSP &&dsp) -> decltype(std::move(signal).followedBy(std::forward< DerivedDSP >(dsp))) |
| Adds a DSP effect to the end of signal's DSP chain by transfering it. | |
Generate signals.
| #define HART_SIGNAL_FORBID_COPY_AND_MOVE |
Forbids hart::Signal::copy() and hart::Signal::move() methods.
Put this into your class body's public section if either is true:
Otherwise, use HART_SIGNAL_DEFINE_COPY_AND_MOVE() instead. Obviously, you won't be able to pass your class to the host by reference, copy or explicit move, but you still can pass it wrapped into a smart pointer like so:
Definition at line 563 of file hart_signal.hpp.
|
related |
Adds one signal to another, resulting in a new mixed signal.
Definition at line 147 of file hart_mixed_signal.hpp.
|
related |
Subtracts one signal from another, resulting in a new mixed signal.
Definition at line 162 of file hart_mixed_signal.hpp.
|
related |
Prints readable text representation of the Signal object into the I/O stream.
Definition at line 515 of file hart_signal.hpp.
|
related |
|
related |