daisysp::VariableSawOscillator¶
Variable Saw Oscillator. More...
#include <variablesawosc.h>
Public Functions¶
Name | |
---|---|
VariableSawOscillator() | |
~VariableSawOscillator() | |
void | Init(float sample_rate) |
float | Process() |
void | SetFreq(float frequency) |
void | SetPW(float pw) |
void | SetWaveshape(float waveshape) |
Detailed Description¶
Variable Saw Oscillator.
Author: Ben Sergentanis
Date: Dec 2020 Saw with variable slope or notch.
Ported from pichenettes/eurorack/plaits/dsp/oscillator/variable_saw_oscillator.h
to an independent module.
Original code written by Emilie Gillet in 2016.
Public Functions Documentation¶
function VariableSawOscillator¶
function ~VariableSawOscillator¶
function Init¶
function Process¶
Get the next sample
function SetFreq¶
Parameters:
- frequency Freq in Hz.
Set master freq.
function SetPW¶
Parameters:
- pw Notch or slope. Works best -1 to 1.
Adjust the wave depending on the shape
function SetWaveshape¶
Parameters:
- waveshape 0 = notch, 1 = slope
Slope or notch
---¶
Updated on 2024-01-03 at 19:38:46 +0000