DaisySP
|
ZOscillator Module
.
More...
#include <zoscillator.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process () |
void | SetFreq (float freq) |
void | SetFormantFreq (float freq) |
void | SetShape (float shape) |
void | SetMode (float mode) |
ZOscillator Module
.
Init ZOscillator module
sample_rate | Audio engine sample rate. |
float ZOscillator::Process | ( | ) |
Get next sample
Set the formant osc. freq
freq | Frequency in Hz. |
Set the offset amount and phase shift.
< 1/3 is just phase shift, > 2/3 is just offset, and between them is both.
mode | Mode to set. Works best -1 to 1 |
Adjust the contour of the waveform.
shape | Waveshape to set. Works best 0-1. |