daisysp::FormantOscillator¶
Formant Oscillator Module. More...
#include <formantosc.h>
Public Functions¶
Name | |
---|---|
FormantOscillator() | |
~FormantOscillator() | |
void | Init(float sample_rate) |
float | Process() |
void | SetFormantFreq(float freq) |
void | SetCarrierFreq(float freq) |
void | SetPhaseShift(float ps) |
Detailed Description¶
Formant Oscillator Module.
Author: Ben Sergentanis
Date: Dec 2020 Sinewave with aliasing-free phase reset.
Ported from pichenettes/eurorack/plaits/dsp/oscillator/formant_oscillator.h
to an independent module.
Original code written by Emilie Gillet in 2016.
Public Functions Documentation¶
function FormantOscillator¶
function ~FormantOscillator¶
function Init¶
Parameters:
- sample_rate - The sample rate of the audio engine being run.
Initializes the FormantOscillator module.
function Process¶
Get the next sample
function SetFormantFreq¶
Parameters:
- freq Frequency in Hz
Set the formant frequency.
function SetCarrierFreq¶
Parameters:
- freq Frequency in Hz
Set the carrier frequency. This is the "main" frequency.
function SetPhaseShift¶
Parameters:
- ps Typically 0-1. Works with other values though, including negative.
Set the amount of phase shift
---¶
Updated on 2024-01-03 at 19:38:46 +0000