24#include "AbstractWave.h"
88 WaveShape
shape()
const {
return _shape; }
93 virtual q0_32u_t _getFixed32(q0_32u_t t)
const;
virtual void period(float period)
Sets the period (in seconds).
Definition AbstractOscillator.cpp:123
virtual void skew(float skew)
Sets the skew of the signal as a % of period.
Definition AbstractWave.cpp:97
AbstractWave(Engine &engine=Engine::primary())
Constructor.
Definition AbstractWave.cpp:28
The main Plaquette static class containing all the units.
Definition PqCore.h:63
static Engine & primary()
Returns the main instance of Plaquette.
Definition PqCore.cpp:30
Engine * engine() const
Returns the engine that owns this unit.
Definition PqCore.h:420
Wave(float period, Engine &engine=Engine::primary())
Constructor (creates default square wave).
Definition Wave.cpp:28
WaveShape shape() const
Returns current wave shape.
Definition Wave.h:88
void shape(WaveShape shape)
Sets wave shape.
Definition Wave.cpp:34