structure with information for synthesis functions More...
#include <sms.h>
Data Fields | |
int | iStochasticType |
int | iSynthesisType |
int | iDetSynthType |
int | iOriginalSRate |
int | iSamplingRate |
int | sizeHop |
int | origSizeHop |
sfloat * | pFDetWindow |
sfloat * | pFStocWindow |
sfloat * | pSynthBuff |
sfloat * | pMagBuff |
sfloat * | pPhaseBuff |
sfloat * | pSpectra |
SMS_Data | prevFrame |
SMS_ModifyParams | modParams |
structure with information for synthesis functions
This structure contains all the necessary settings for different types of synthesis. It also holds arrays for windows and the inverse-FFT, as well as the previously synthesized frame.
method for synthesizing deterministic component
Referenced by sms_initSynthParams(), and sms_synthesize().
samplerate of the sound model source (for stochastic synthesis approximation)
Referenced by sms_initSynth(), sms_stochastic(), and StocSynthApprox().
synthesis samplerate
Referenced by SineSynthIFFT(), sms_deterministic(), sms_initSynth(), sms_initSynthParams(), sms_stochastic(), sms_synthesize(), and StocSynthApprox().
type of stochastic model defined by SMS_StocSynthType
Referenced by sms_initSynth(), and sms_synthesize().
type of synthesis to perform
Referenced by sms_initSynthParams(), and sms_synthesize().
modification parameters
Referenced by sms_initSynth(), and sms_initSynthParams().
original number of samples used to create each analysis frame
Referenced by sms_initSynth().
sfloat* SMS_SynthParams::pFDetWindow |
array to hold the window used for deterministic synthesis
Referenced by SineSynthIFFT(), sms_changeSynthHop(), sms_freeSynth(), sms_initSynth(), and sms_synthesize().
sfloat* SMS_SynthParams::pFStocWindow |
array to hold the window used for stochastic synthesis (Hanning)
Referenced by sms_changeSynthHop(), sms_freeSynth(), sms_initSynth(), and StocSynthApprox().
sfloat* SMS_SynthParams::pMagBuff |
an array for keeping magnitude spectrum for stochastic synthesis
Referenced by sms_changeSynthHop(), sms_freeSynth(), sms_initSynth(), sms_stochastic(), and StocSynthApprox().
sfloat* SMS_SynthParams::pPhaseBuff |
an array for keeping phase spectrum for stochastic synthesis
Referenced by sms_changeSynthHop(), sms_freeSynth(), sms_initSynth(), sms_stochastic(), and StocSynthApprox().
previous data frame, for interpolation between frames
Referenced by SineSynthIFFT(), sms_deterministic(), sms_freeSynth(), sms_initSynth(), and sms_synthesize().
sfloat* SMS_SynthParams::pSpectra |
array for in-place FFT transform
Referenced by SineSynthIFFT(), sms_changeSynthHop(), sms_deterministic(), sms_freeSynth(), sms_initSynth(), sms_stochastic(), and sms_synthesize().
sfloat* SMS_SynthParams::pSynthBuff |
an array for keeping samples during overlap-add (2x sizeHop)
Referenced by SineSynthIFFT(), sms_changeSynthHop(), sms_freeSynth(), sms_initSynth(), sms_synthesize(), and StocSynthApprox().
number of samples to synthesis for each frame
Referenced by SineSynthIFFT(), sms_changeSynthHop(), sms_deterministic(), sms_initSynth(), sms_initSynthParams(), sms_stochastic(), sms_synthesize(), and StocSynthApprox().