OpenWareLaboratory
|
Base class for stereo signal generators such as Oscillators. More...
Public Member Functions | |
virtual ComplexFloat | generate ()=0 |
Produce the next consecutive sample. More... | |
virtual void | generate (ComplexFloatArray output) |
Produce a block of samples. More... | |
virtual | ~ComplexSignalGenerator () |
Base class for stereo signal generators such as Oscillators.
A ComplexSignalGenerator produces complex numbers with each channel containing samples in [-1..1] range unless otherwise stated.
Definition at line 44 of file SignalGenerator.h.
|
inlinevirtual |
Definition at line 46 of file SignalGenerator.h.
|
pure virtual |
Produce the next consecutive sample.
Implemented in ComplexOscillator, and ComplexOscillator.
Referenced by generate().
|
inlinevirtual |
Produce a block of samples.
Definition at line 54 of file SignalGenerator.h.
References generate(), and SimpleArray< T >::getSize().