![]() |
pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
|
Harmonic square wave oscillator. More...
Static Public Member Functions | |
static UnitType | ar (FrequencyUnitType const &frequency=FrequencyType(440), UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0), const int numHarmonics=21, BlockSize const &preferredBlockSize=BlockSize::getDefault(), SampleRate const &preferredSampleRate=SampleRate::getDefault()) throw () |
Create an audio rate harmonic square wave oscillator. | |
static UnitType | kr (FrequencyUnitType const &frequency, UnitType const &mul=SampleType(1), UnitType const &add=SampleType(0), const int numHarmonics=21) throw () |
Create a control rate harmonic square wave oscillator. |
Harmonic square wave oscillator.
static UnitType HarmonicSquareUnit< SampleType >::ar | ( | FrequencyUnitType const & | frequency = FrequencyType (440) , |
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) , |
||
const int | numHarmonics = 21 , |
||
BlockSize const & | preferredBlockSize = BlockSize::getDefault() , |
||
SampleRate const & | preferredSampleRate = SampleRate::getDefault() |
||
) | throw () [inline, static] |
Create an audio rate harmonic square wave oscillator.
static UnitType HarmonicSquareUnit< SampleType >::kr | ( | FrequencyUnitType const & | frequency, |
UnitType const & | mul = SampleType (1) , |
||
UnitType const & | add = SampleType (0) , |
||
const int | numHarmonics = 21 |
||
) | throw () [inline, static] |
Create a control rate harmonic square wave oscillator.