#include <OscilGen.h>
◆ OscilGen()
◆ ~OscilGen()
◆ adaptiveharmonic()
| void OscilGen::adaptiveharmonic |
( |
fft_t * | f, |
|
|
float | freq ) |
|
private |
◆ adaptiveharmonicpostprocess()
| void OscilGen::adaptiveharmonicpostprocess |
( |
fft_t * | f, |
|
|
int | size ) |
|
private |
◆ add2XML()
| void OscilGen::add2XML |
( |
XMLwrapper * | xml | ) |
|
|
virtual |
◆ changebasefunction()
| void OscilGen::changebasefunction |
( |
| ) |
|
|
private |
◆ convert2sine()
| void OscilGen::convert2sine |
( |
| ) |
|
◆ defaults()
◆ get()
| short int OscilGen::get |
( |
float * | smps, |
|
|
float | freqHz, |
|
|
int | resonance = 0 ) |
do the antialiasing(cut off higher freqs.),apply randomness and do a IFFT
◆ getbasefunction()
| void OscilGen::getbasefunction |
( |
float * | smps | ) |
|
◆ getcurrentbasefunction()
| void OscilGen::getcurrentbasefunction |
( |
float * | smps | ) |
|
◆ getfromXML()
| void OscilGen::getfromXML |
( |
XMLwrapper * | xml | ) |
|
|
virtual |
◆ getspectrum()
| void OscilGen::getspectrum |
( |
int | n, |
|
|
float * | spc, |
|
|
int | what ) |
◆ modulation()
| void OscilGen::modulation |
( |
| ) |
|
|
private |
◆ needPrepare()
| bool OscilGen::needPrepare |
( |
void | | ) |
|
|
private |
◆ newrandseed()
| void OscilGen::newrandseed |
( |
unsigned int | randseed | ) |
|
◆ oscilfilter()
| void OscilGen::oscilfilter |
( |
| ) |
|
|
private |
◆ prepare()
| void OscilGen::prepare |
( |
| ) |
|
computes the full spectrum of oscil from harmonics,phases and basefunc
◆ shiftharmonics()
| void OscilGen::shiftharmonics |
( |
| ) |
|
|
private |
◆ spectrumadjust()
| void OscilGen::spectrumadjust |
( |
| ) |
|
|
private |
◆ useasbase()
| void OscilGen::useasbase |
( |
| ) |
|
convert oscil to base function
◆ waveshape()
| void OscilGen::waveshape |
( |
| ) |
|
|
private |
◆ ADvsPAD
◆ basefuncFFTfreqs
| fft_t* OscilGen::basefuncFFTfreqs |
|
private |
◆ fft
◆ hmag
◆ hphase
◆ oldbasefunc
| unsigned char OscilGen::oldbasefunc |
|
private |
◆ oldbasefuncmodulation
| int OscilGen::oldbasefuncmodulation |
|
private |
◆ oldbasefuncmodulationpar1
| int OscilGen::oldbasefuncmodulationpar1 |
|
private |
◆ oldbasefuncmodulationpar2
| int OscilGen::oldbasefuncmodulationpar2 |
|
private |
◆ oldbasefuncmodulationpar3
| int OscilGen::oldbasefuncmodulationpar3 |
|
private |
◆ oldbasepar
| unsigned char OscilGen::oldbasepar |
|
private |
◆ oldfilterpars
| int OscilGen::oldfilterpars |
|
private |
◆ oldharmonicshift
| int OscilGen::oldharmonicshift |
|
private |
◆ oldhmagtype
| unsigned char OscilGen::oldhmagtype |
|
private |
◆ oldmodulation
| int OscilGen::oldmodulation |
|
private |
◆ oldmodulationpar1
| int OscilGen::oldmodulationpar1 |
|
private |
◆ oldmodulationpar2
| int OscilGen::oldmodulationpar2 |
|
private |
◆ oldmodulationpar3
| int OscilGen::oldmodulationpar3 |
|
private |
◆ oldsapars
◆ oldwaveshaping
| unsigned char OscilGen::oldwaveshaping |
|
private |
◆ oldwaveshapingfunction
| unsigned char OscilGen::oldwaveshapingfunction |
|
private |
◆ oscilFFTfreqs
| fft_t* OscilGen::oscilFFTfreqs |
|
private |
◆ oscilprepared
| int OscilGen::oscilprepared |
|
private |
◆ outoscilFFTfreqs
| fft_t* OscilGen::outoscilFFTfreqs |
|
private |
◆ Padaptiveharmonics
| unsigned char OscilGen::Padaptiveharmonics |
◆ Padaptiveharmonicsbasefreq
| unsigned char OscilGen::Padaptiveharmonicsbasefreq |
◆ Padaptiveharmonicspar
| unsigned char OscilGen::Padaptiveharmonicspar |
◆ Padaptiveharmonicspower
| unsigned char OscilGen::Padaptiveharmonicspower |
◆ Pamprandpower
| unsigned char OscilGen::Pamprandpower |
◆ Pamprandtype
| unsigned char OscilGen::Pamprandtype |
◆ Pbasefuncmodulation
| unsigned char OscilGen::Pbasefuncmodulation |
◆ Pbasefuncmodulationpar1
| unsigned char OscilGen::Pbasefuncmodulationpar1 |
◆ Pbasefuncmodulationpar2
| unsigned char OscilGen::Pbasefuncmodulationpar2 |
◆ Pbasefuncmodulationpar3
| unsigned char OscilGen::Pbasefuncmodulationpar3 |
◆ Pbasefuncpar
| unsigned char OscilGen::Pbasefuncpar |
◆ Pcurrentbasefunc
| unsigned char OscilGen::Pcurrentbasefunc |
◆ Pfilterbeforews
| unsigned char OscilGen::Pfilterbeforews |
◆ Pfilterpar1
| unsigned char OscilGen::Pfilterpar1 |
◆ Pfilterpar2
| unsigned char OscilGen::Pfilterpar2 |
◆ Pfiltertype
| unsigned char OscilGen::Pfiltertype |
◆ Pharmonicshift
| int OscilGen::Pharmonicshift |
◆ Pharmonicshiftfirst
| int OscilGen::Pharmonicshiftfirst |
◆ Phmag
The hmag and hphase starts counting from 0, so the first harmonic(1) has the index 0, 2-nd harmonic has index 1, ..the 128 harminic has index 127
◆ Phmagtype
| unsigned char OscilGen::Phmagtype |
The Type of magnitude: 0 - Linear 1 - dB scale (-40) 2 - dB scale (-60) 3 - dB scale (-80) 4 - dB scale (-100)
◆ Phphase
◆ Pmodulation
| unsigned char OscilGen::Pmodulation |
◆ Pmodulationpar1
| unsigned char OscilGen::Pmodulationpar1 |
◆ Pmodulationpar2
| unsigned char OscilGen::Pmodulationpar2 |
◆ Pmodulationpar3
| unsigned char OscilGen::Pmodulationpar3 |
◆ Prand
| unsigned char OscilGen::Prand |
◆ Psapar
| unsigned char OscilGen::Psapar |
◆ Psatype
| unsigned char OscilGen::Psatype |
◆ Pwaveshaping
| unsigned char OscilGen::Pwaveshaping |
◆ Pwaveshapingfunction
| unsigned char OscilGen::Pwaveshapingfunction |
◆ randseed
| unsigned int OscilGen::randseed |
|
private |
◆ res
◆ tmpsmps
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/OscilGen.h
- /home/runner/work/lmms-fork/lmms-fork/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/OscilGen.cpp