Class daisysp::VariableSawOscillator¶
ClassList > daisysp > VariableSawOscillator
Variable Saw Oscillator .More...
#include <variablesawosc.h>
Public Functions¶
| Type | Name |
|---|---|
| void | Init (float sample_rate) |
| float | Process () |
| void | SetFreq (float frequency) |
| void | SetPW (float pw) |
| void | SetWaveshape (float waveshape) |
| VariableSawOscillator () |
|
| ~VariableSawOscillator () |
Detailed Description¶
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 Init¶
function Process¶
Get the next sample
function SetFreq¶
Set master freq.
Parameters:
frequencyFreq in Hz.
function SetPW¶
Adjust the wave depending on the shape
Parameters:
pwNotch or slope. Works best -1 to 1.
function SetWaveshape¶
Slope or notch
Parameters:
waveshape0 = notch, 1 = slope
function VariableSawOscillator¶
function ~VariableSawOscillator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Synthesis/variablesawosc.h