DaisySP
|
Formant Oscillator Module. More...
#include <formantosc.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process () |
void | SetFormantFreq (float freq) |
void | SetCarrierFreq (float freq) |
void | SetPhaseShift (float ps) |
Formant Oscillator Module.
Initializes the FormantOscillator module.
sample_rate | - The sample rate of the audio engine being run. |
float FormantOscillator::Process | ( | ) |
Get the next sample
Set the carrier frequency. This is the "main" frequency.
freq | Frequency in Hz |
Set the formant frequency.
freq | Frequency in Hz |
Set the amount of phase shift
ps | Typically 0-1. Works with other values though, including negative. |