Skip to content

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

void daisysp::VosimOscillator::Init (
    float sample_rate
) 

Initializes the FormantOscillator module.

Parameters:

  • sample_rate - The sample rate of the audio engine being run.

function Process

float daisysp::VosimOscillator::Process () 

Get the next sample


function SetForm1Freq

void daisysp::VosimOscillator::SetForm1Freq (
    float freq
) 

Set formant 1 frequency.

Parameters:

  • freq Frequency in Hz.

function SetForm2Freq

void daisysp::VosimOscillator::SetForm2Freq (
    float freq
) 

Set formant 2 frequency.

Parameters:

  • freq Frequency in Hz.

function SetFreq

void daisysp::VosimOscillator::SetFreq (
    float freq
) 

Set carrier frequency.

Parameters:

  • freq Frequency in Hz.

function SetShape

void daisysp::VosimOscillator::SetShape (
    float shape
) 

Waveshaping

Parameters:

  • shape Shape to set. Works -1 to 1

function VosimOscillator

inline daisysp::VosimOscillator::VosimOscillator () 

function ~VosimOscillator

inline daisysp::VosimOscillator::~VosimOscillator () 


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Synthesis/vosim.h