The SampleFrequency
parameter specifies the sampling frequency of the audio (the frames produced by the module).
If you specify this parameter for the langid
and lidoptimizer
modules, HPE IDOL Speech Server checks the classifier set sample frequency against the module sample frequency to look for mismatches. Setting SampleFrequency
to 0
(the default) disables this check.
If the FFmpeg library is enabled, the wav
module can accept a variety of audio formats with different sampling frequencies. In such cases, the wav
module converts the audio to the specified sampling frequency.
To detect breaking glass using the audiosec
module, HPE strongly recommends that the audio sampling rate is 16000 Hz.
Type: | Integer |
Default: | 16000 (afp , afpfeature , audiopreproc , audiosec , audiotemplatedevel , audiotemplatescore , audiotemplatetrain , frontend , ivfile , ivscore , normalizer , splitspeech , stream , and wav modules)0 ( langid and lidoptimizer modules) (No default value for the speakerid module) |
Range: | 8000 or 16000 |
Required: | Only for the speakerid module |
Configuration Section: | afp, afpfeature, audiopreproc, audiosec, audiotemplatedevel, audiotemplatescore, audiotemplatetrain, frontend, ivfile, ivscore, langid, lidoptimizer, normalizer, speakerid, splitspeech, stream, and wav modules |
Example: | SampleFrequency=16000
|
See Also: | Sfreq (action parameter) |
|