Property ALSpeexCompressor.TALSpeexCompressor.VoiceActivityDetection

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: TALSpeexCompressor

Contents

Syntax

Delphi:

property VoiceActivityDetection : Boolean read FVoiceActivityDetection write FVoiceActivityDetection;

C++ Builder:

__property bool VoiceActivityDetection = { read=FVoiceActivityDetection, write=FVoiceActivityDetection };

Summary

Enables/Disables the voice activity detection.

Description

Use this property to enables or disables the voice activity detection.

When enabled, voice activity detection detects whether the audio being encoded is speech or silence/background noise. VAD is always implicitly activated when encoding in VBR, so the option is only useful in non-VBR operation. In this case, Speex detects non-speech periods and encode them with just enough bits to reproduce the background noise. This is called “comfort noise generation” (CNG).


Delphi example:

ALSpeexCompressor1.VoiceActivityDetection := True;

C++ Builder example:

ALSpeexCompressor1->VoiceActivityDetection = true;

Visual C++(MFC/Win32) example:

ALSpeexCompressor1.VoiceActivityDetection = true;

C# Example:

speexCompressor1.VoiceActivityDetection = true;

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox