|
| | AbstractOscillator (float period) |
| | Constructor.
|
| |
| virtual void | start () |
| | Starts/restarts the oscillator.
|
| |
| virtual void | period (float period) |
| | Sets the period (in seconds).
|
| |
|
virtual float | period () const |
| | Returns the period (in seconds).
|
| |
|
Parameter | Period () |
| | Returns the period as a parameter.
|
| |
| virtual void | frequency (float frequency) |
| | Sets the frequency (in Hz).
|
| |
|
virtual float | frequency () const |
| | Returns the frequency (in Hz).
|
| |
|
Parameter | Frequency () |
| | Returns the frequency as a parameter.
|
| |
| virtual void | bpm (float bpm) |
| | Sets the frequency in beats-per-minute.
|
| |
|
virtual float | bpm () const |
| | Returns the frequency (in BPM).
|
| |
|
Parameter | Bpm () |
| | Returns the BPM as a parameter.
|
| |
| virtual void | phase (float phase) |
| | Sets the phase at % of period.
|
| |
|
virtual float | phase () const |
| | Returns the phase (in % of period).
|
| |
|
Parameter | Phase () |
| | Returns the phase as a parameter.
|
| |
| virtual void | phaseShift (float phaseShift) |
| | Sets the phase shift (ie.
|
| |
| virtual float | phaseShift () const |
| | Returns the phase shift (ie.
|
| |
|
Parameter | PhaseShift () |
| | Returns the phase shift as a parameter.
|
| |
|
virtual void | jitter (float jitter) |
| | Sets the jittering level in [0, 1] (0: no jitter, 1: max jitter).
|
| |
|
virtual float | jitter () const |
| | Returns the randomness level in [0, 1].
|
| |
|
virtual void | noJitter () |
| | Disables jittering.
|
| |
|
Parameter | Jitter () |
| | Returns the jitter as a parameter.
|
| |
| virtual float | jitteredPeriod () const |
| | Returns the period actually used for the current cycle.
|
| |
| virtual float | jitteredFrequency () const |
| | Returns the frequency actually used for the current cycle.
|
| |
| virtual float | timeToPhase (float time) const |
| | Utility function to convert time to phase.
|
| |
| virtual void | setTime (float time) |
| | Forces current time (in seconds).
|
| |
| virtual void | addTime (float time) |
| | Adds time to current time (in seconds).
|
| |
| virtual bool | isRunning () const |
| | Returns true iff the wave is currently running.
|
| |
|
virtual bool | isForward () const |
| | Returns true iff the wave is moving forward in time.
|
| |
| virtual void | setForward (bool isForward) |
| | Sets the direction of oscillation.
|
| |
|
virtual void | forward () |
| | Sets the direction of oscillation to move forward in time.
|
| |
|
virtual void | reverse () |
| | Sets the direction of oscillation to move backward in time.
|
| |
|
virtual void | toggleReverse () |
| | Toggles the direction of oscillation.
|
| |
|
virtual void | stop () |
| | Interrupts and resets to zero.
|
| |
| virtual void | pause () |
| | Interrupts process.
|
| |
| virtual void | resume () |
| | Resumes process.
|
| |
|
virtual void | togglePause () |
| | Toggles pause/unpause.
|
| |
Triangle/sawtooth oscillator.