Variable Saw Oscillator.
More...
#include <variablesawosc.h>
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.
◆ Process()
float VariableSawOscillator::Process |
( |
| ) |
|
◆ SetFreq()
void VariableSawOscillator::SetFreq |
( |
float | frequency | ) |
|
Set master freq.
- Parameters
-
◆ SetPW()
void VariableSawOscillator::SetPW |
( |
float | pw | ) |
|
Adjust the wave depending on the shape
- Parameters
-
pw | Notch or slope. Works best -1 to 1. |
◆ SetWaveshape()
void VariableSawOscillator::SetWaveshape |
( |
float | waveshape | ) |
|
Slope or notch
- Parameters
-
waveshape | 0 = notch, 1 = slope |
The documentation for this class was generated from the following files: