LV_SRE_DecodeEnergy

Measures the energy of audio data in a voice channel.

float LV_SRE_DecodeEnergy(HPORT hport, int VoiceChannel);

Return Values

The value indicates the level of the energy. Energy is measured as the average sum of squares of the waveform on a 16-bit scale. Values can range from 0-1073741824, but usually range between 106 and 108 for normal speech.

Parameters

hport

The handle for the speech port you are loading the audio into. A voice channel used for decoding energy and/or pitch may not be used to perform decodes.

VoiceChannel

The voice channel to process.

Remarks

Giving a bad port or a bad voice channel will cause the Engine to crash.

See Also


Complete Help Topic List | Speech Engine Product Information