SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
sspmod_scale.c File Reference

Scaling of parameters. More...

Functions

int spr_scale_setup (SprSspInfo *Info, const char **descript, void *aux_info)
 
int spr_scale_process (SprSspInfo *Info, const void *frame_in, void *frame_out)
 
void spr_scale_free (SprSspInfo *Info)
 

Detailed Description

Scaling of parameters.

The input parameters are scaled according to a windowing type, with specified coefficients, or with coefficients from some default liftering types.


[scale]
coefficients <coeff1> ...
Define the scaling coefficients by enumeration. If only one coefficient is given, it is used for all parameters.
file <fname> [inverse/no_inverse]
Define a file that contains the scaling coefficients. Set inverse flag to divide instead of multiplying.
liftering <polynomial/sine> [size]
Choose one of the default liftering types. If size is given, the liftering is calculated for a vector of size <size>. If coefficients are also given by enumeration or with a file, both scaling factors are multiplied.
exponent <value>
Set the exponent for the polynomial liftering. The default value is 0.6,
window [HAMMING/RECTANGULAR/HANNING/BLACKMAN/TRIANGULAR/GAUSSIAN](HAMMING) [norm/no_norm](norm) [inverse/no_inverse](no_inverse)
Choose a window type. This option overrules all other options. To turn off window normalisation (so that total energy remains the same), set no_norm flag. To get the inverse of the window, set inverse flag.

See Also
ssp_master.c
Date
26/09/94
Author
Kris Demuynck
Revision History:
06/10/94 JD
changed for new specifications
04/11/94 JD
added windowing