19 virtual vd genSignalUnscaled(
const us nframes)
override;
20 void resetImpl()
override;
52 Sine(
const d freq_Hz);
54 void setFreq(
const d newFreq) { omg = 2*arma::datum::pi*newFreq; } ;
87 void resetImpl()
override;
106 Sweep(
const d fl,
const d fu,
const d Ts,
const d Tq,
107 const us sweep_flags);
Generate a random signal (noise)
Noise()
Constructs a noise generator. If no filter is used, the output will be white noise....
Base class for all periodic signals (that are exactly periodic based on the sampling frequency)....
vd getSequence() const
Return copy of the generated sequence.
virtual vd genSignalUnscaled(const us nframes) override final
Signal generation abstract base class. Implementation is required for resetImpl(),...
void setFreq(const d newFreq)
void resetImpl() override final
virtual vd genSignalUnscaled(const us nframes) override final
static constexpr int BackwardSweep
static constexpr int LogSweep
static constexpr int LinearSweep
static constexpr int ForwardSweep
size_t us
We often use boolean values.