ZOscillator Module
.
More...
#include <zoscillator.h>
ZOscillator Module
.
- Author
- Ben Sergentanis
- Date
- Dec 2020 Sinewave multiplied by and sync'ed to a carrier.
Ported from pichenettes/eurorack/plaits/dsp/oscillator/z_oscillator.h
to an independent module.
Original code written by Emilie Gillet in 2016.
◆ Init()
void ZOscillator::Init |
( |
float | sample_rate | ) |
|
Init ZOscillator module
- Parameters
-
sample_rate | Audio engine sample rate. |
◆ Process()
float ZOscillator::Process |
( |
| ) |
|
◆ SetFormantFreq()
void ZOscillator::SetFormantFreq |
( |
float | freq | ) |
|
Set the formant osc. freq
- Parameters
-
◆ SetFreq()
void ZOscillator::SetFreq |
( |
float | freq | ) |
|
Set the carrier frequency
- Parameters
-
◆ SetMode()
void ZOscillator::SetMode |
( |
float | mode | ) |
|
Set the offset amount and phase shift.
< 1/3 is just phase shift, > 2/3 is just offset, and between them is both.
- Parameters
-
mode | Mode to set. Works best -1 to 1 |
◆ SetShape()
void ZOscillator::SetShape |
( |
float | shape | ) |
|
Adjust the contour of the waveform.
- Parameters
-
shape | Waveshape to set. Works best 0-1. |
The documentation for this class was generated from the following files: