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

Default processing of a sample file. More...

Functions

void spr_sam2trk_free (SprSspInfo *Info)
 
int spr_sam2trk_setup (SprSspInfo *Info, const char **descript, void *aux_info)
 
int spr_sam2trk_process (SprSspInfo *Info, const void *frame_in, void *frame_out)
 
void spr_sam2trk_reset (SprSspInfo *Info, SprSspStatus *action)
 

Detailed Description

Default processing of a sample file.

The default processing of a sample file: First does the preemphasis and then creates overlapping frames.


[sam2trk]
flength <time>(0.03)
Length of a frame in seconds. Must be larger than or equal to the frame shift.
preemphasis <val>(0.95)
Preemphasize: y[i] = x[i]-val*x[i-1]
extend <zero/mirror>(mirror)
Method used to `invent' the data before and after the last frame. The `zero' method adds zero's before and after the first/last frame. The `mirror' method mirrors the data.
DC-comp [yes/no](no)
Try to remove the DC-component in the signal.

See Also
ssp_master.c
Author
Kris Demuynck
Date
28/10/94
Revision History:
09/98 - KD
Added the DC-compensation
11/11 - KD
allow mirror samples instead of zeros for first/last frame extension