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

Add a controlled amount of noise to the incoming signal. More...

Functions

void spr_add_noise_free (SprSspInfo *Info)
 
int spr_add_noise_setup (SprSspInfo *Info, const char **descript, void *aux_info)
 
int spr_add_noise_process (SprSspInfo *Info, const void *frame_in, void *frame_out)
 
void spr_add_noise_reset (SprSspInfo *Info, SprSspStatus *action)
 

Detailed Description

Add a controlled amount of noise to the incoming signal.

Add a controlled amount of noise to the incoming signal.


[add_noise]
type <uniform/gaussian>(gaussian)
Type of noise to add.
range <range>(1.0)
Amount of noise to add.
seed <seed>(-1)
Initialization of the random generator. By default (no 'seed' specified), a random value will be used as seed, making the preprocessing variable, i.e. processing the same file twice will give different results. When a seed is specified, the seed is combined with a hash of the file name to select a different noise pattern for each file.
order <dependent/independent>(dependent)
Select whether the added noise depends on the order of the files in the corpus or not; this allows the addition of different noise to the same file by processing that file twice (or more).

See Also
ssp_master.c
Author
Kris Demuynck
Date
1 Apr 2004