daisysp::GrainletOscillator¶
Granular Oscillator Module. More...
#include <grainlet.h>
Public Functions¶
Name | |
---|---|
GrainletOscillator() | |
~GrainletOscillator() | |
void | Init(float sample_rate) |
float | Process() |
void | SetFreq(float freq) |
void | SetFormantFreq(float freq) |
void | SetShape(float shape) |
void | SetBleed(float bleed) |
Detailed Description¶
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.
Public Functions Documentation¶
function GrainletOscillator¶
function ~GrainletOscillator¶
function Init¶
Parameters:
- sample_rate Sample rate of audio engine
Initialize the oscillator
function Process¶
Get the next sample
function SetFreq¶
Parameters:
- freq Frequency in Hz
Sets the carrier frequency
function SetFormantFreq¶
Parameters:
- freq Frequency in Hz
Sets the formant frequency
function SetShape¶
Parameters:
- shape Shapes differently from 0-1, 1-2, and > 2.
Waveshaping
function SetBleed¶
Parameters:
- bleed Works best 0-1
Sets the amount of formant to bleed through
---¶
Updated on 2024-01-03 at 19:38:46 +0000