Class daisysp::GrainletOscillator¶
ClassList > daisysp > GrainletOscillator
Granular Oscillator Module.More...
#include <grainlet.h>
Public Functions¶
| Type | Name |
|---|---|
| GrainletOscillator () |
|
| void | Init (float sample_rate) |
| float | Process () |
| void | SetBleed (float bleed) |
| void | SetFormantFreq (float freq) |
| void | SetFreq (float freq) |
| void | SetShape (float shape) |
| ~GrainletOscillator () |
Detailed Description¶
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.
Public Functions Documentation¶
function GrainletOscillator¶
function Init¶
Initialize the oscillator
Parameters:
sample_rateSample rate of audio engine
function Process¶
Get the next sample
function SetBleed¶
Sets the amount of formant to bleed through
Parameters:
bleedWorks best 0-1
function SetFormantFreq¶
Sets the formant frequency
Parameters:
freqFrequency in Hz
function SetFreq¶
Sets the carrier frequency
Parameters:
freqFrequency in Hz
function SetShape¶
Waveshaping
Parameters:
shapeShapes differently from 0-1, 1-2, and > 2.
function ~GrainletOscillator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Noise/grainlet.h