Gin
|
WT Oscillator. More...
#include <gin_wtoscillators.h>
Classes | |
struct | Params |
Public Member Functions | |
WTOscillator ()=default | |
void | setSampleRate (double sr) |
void | noteOn (float p=-1) |
void | process (float note, const Params ¶ms, juce::AudioSampleBuffer &buffer) |
void | processAdding (float note, const Params ¶ms, juce::AudioSampleBuffer &buffer) |
void | processAddingSimple (float note, const Params ¶ms, juce::AudioSampleBuffer &buffer) |
void | processAddingComplex (float note, const Params ¶ms, juce::AudioSampleBuffer &buffer) |
void | processAddingCrossfadeComplex (float note, const Params ¶ms, juce::AudioSampleBuffer &buffer) |
template<typename T > | |
void | postProcess (const Params ¶ms, T &v) |
void | setWavetable (juce::OwnedArray< BandLimitedLookupTable > *table) |
void | setBlockDC (bool b) |
WT Oscillator.
|
default |
References DCBlocker::setCutoff(), and DCBlocker::setSampleRate().
References processAdding().
void WTOscillator::processAdding | ( | float | note, |
const Params & | params, | ||
juce::AudioSampleBuffer & | buffer | ||
) |
References WTOscillator::Params::bend, WTOscillator::Params::formant, DCBlocker::process(), processAddingComplex(), processAddingCrossfadeComplex(), and processAddingSimple().
Referenced by process().
void WTOscillator::processAddingSimple | ( | float | note, |
const Params & | params, | ||
juce::AudioSampleBuffer & | buffer | ||
) |
References WTOscillator::Params::leftGain, math::min(), Point< T >::Point(), WTOscillator::Params::position, postProcess(), and WTOscillator::Params::rightGain.
Referenced by processAdding().
References WTOscillator::Params::asym, WTOscillator::Params::fold, math::lerp(), math::max(), math::min(), math::pow2(), and math::pow4().
Referenced by processAddingComplex(), processAddingCrossfadeComplex(), and processAddingSimple().
void WTOscillator::setWavetable | ( | juce::OwnedArray< BandLimitedLookupTable > * | table | ) |