Granular Oscillator Module.
More...
#include <grainlet.h>
Granular Oscillator Module.
- Author
- Ben Sergentanis
- Date
- Dec 2020 A phase-distorted single cycle sine * another continuously running sine,
the whole thing synced to a main oscillator.
Ported from pichenettes/eurorack/plaits/dsp/oscillator/grainlet_oscillator.h
to an independent module.
Original code written by Emilie Gillet in 2016.
◆ Init()
void GrainletOscillator::Init |
( |
float | sample_rate | ) |
|
Initialize the oscillator
- Parameters
-
sample_rate | Sample rate of audio engine |
◆ Process()
float GrainletOscillator::Process |
( |
| ) |
|
◆ SetBleed()
void GrainletOscillator::SetBleed |
( |
float | bleed | ) |
|
Sets the amount of formant to bleed through
- Parameters
-
◆ SetFormantFreq()
void GrainletOscillator::SetFormantFreq |
( |
float | freq | ) |
|
Sets the formant frequency
- Parameters
-
◆ SetFreq()
void GrainletOscillator::SetFreq |
( |
float | freq | ) |
|
Sets the carrier frequency
- Parameters
-
◆ SetShape()
void GrainletOscillator::SetShape |
( |
float | shape | ) |
|
Waveshaping
- Parameters
-
shape | Shapes differently from 0-1, 1-2, and > 2. |
The documentation for this class was generated from the following files: