Class daisysp::ZOscillator¶
ClassList > daisysp > ZOscillator
ZOscillator Module .More...
#include <zoscillator.h>
Public Functions¶
| Type | Name |
|---|---|
| void | Init (float sample_rate) |
| float | Process () |
| void | SetFormantFreq (float freq) |
| void | SetFreq (float freq) |
| void | SetMode (float mode) |
| void | SetShape (float shape) |
| ZOscillator () |
|
| ~ZOscillator () |
Detailed Description¶
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.
Public Functions Documentation¶
function Init¶
Init ZOscillator module
Parameters:
sample_rateAudio engine sample rate.
function Process¶
Get next sample
function SetFormantFreq¶
Set the formant osc. freq
Parameters:
freqFrequency in Hz.
function SetFreq¶
Set the carrier frequency
Parameters:
freqFrequency in Hz.
function SetMode¶
Set the offset amount and phase shift. < ⅓ is just phase shift, > ⅔ is just offset, and between them is both.
Parameters:
modeMode to set. Works best -1 to 1
function SetShape¶
Adjust the contour of the waveform.
Parameters:
shapeWaveshape to set. Works best 0-1.
function ZOscillator¶
function ~ZOscillator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Synthesis/zoscillator.h