Class daisysp::VosimOscillator¶
ClassList > daisysp > VosimOscillator
Vosim Oscillator Module .More...
#include <vosim.h>
Public Functions¶
Type | Name |
---|---|
void | Init (float sample_rate) |
float | Process () |
void | SetForm1Freq (float freq) |
void | SetForm2Freq (float freq) |
void | SetFreq (float freq) |
void | SetShape (float shape) |
VosimOscillator () |
|
~VosimOscillator () |
Detailed Description¶
Author:
Ben Sergentanis
Date:
Dec 2020 Two sinewaves multiplied by and sync'ed to a carrier.
Ported from pichenettes/eurorack/plaits/dsp/oscillator/vosim_oscillator.h
to an independent module. Original code written by Emilie Gillet in 2016.
Public Functions Documentation¶
function Init¶
Initializes the FormantOscillator module.
Parameters:
sample_rate
- The sample rate of the audio engine being run.
function Process¶
Get the next sample
function SetForm1Freq¶
Set formant 1 frequency.
Parameters:
freq
Frequency in Hz.
function SetForm2Freq¶
Set formant 2 frequency.
Parameters:
freq
Frequency in Hz.
function SetFreq¶
Set carrier frequency.
Parameters:
freq
Frequency in Hz.
function SetShape¶
Waveshaping
Parameters:
shape
Shape to set. Works -1 to 1
function VosimOscillator¶
function ~VosimOscillator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Synthesis/vosim.h