title: daisysp::ZOscillator summary: ZOscillator Module .
daisysp::ZOscillator¶
ZOscillator Module . More...
#include <zoscillator.h>
Public Functions¶
Name | |
---|---|
ZOscillator() | |
~ZOscillator() | |
void | Init(float sample_rate) |
float | Process() |
void | SetFreq(float freq) |
void | SetFormantFreq(float freq) |
void | SetShape(float shape) |
void | SetMode(float mode) |
Detailed Description¶
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.
Public Functions Documentation¶
function ZOscillator¶
function ~ZOscillator¶
function Init¶
Parameters:
- sample_rate Audio engine sample rate.
Init ZOscillator module
function Process¶
Get next sample
function SetFreq¶
Parameters:
- freq Frequency in Hz.
Set the carrier frequency
function SetFormantFreq¶
Parameters:
- freq Frequency in Hz.
Set the formant osc. freq
function SetShape¶
Parameters:
- shape Waveshape to set. Works best 0-1.
Adjust the contour of the waveform.
function SetMode¶
Parameters:
- mode Mode to set. Works best -1 to 1
Set the offset amount and phase shift.
< ⅓ is just phase shift, > ⅔ is just offset, and between them is both.
---¶
Updated on 2024-01-03 at 19:38:46 +0000