SPRAAK
|
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) |
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. |