Photon Voice  v2.8
English | 日本語 | 한국
Properties | Events | List of all members
AudioUtil.IVoiceDetector Interface Reference

Voice Activity Detector interface. More...

Inherited by AudioUtil.VoiceDetector< T >, and AudioUtil.VoiceDetectorDummy.

Properties

bool On [get, set]
 If true, voice detection enabled. More...
 
float Threshold [get, set]
 Voice detected as soon as signal level exceeds threshold. More...
 
bool Detected [get]
 If true, voice detected. More...
 
DateTime DetectedTime [get]
 Last time when switched to detected state. More...
 
int ActivityDelayMs [get, set]
 Keep detected state during this time after signal level dropped below threshold. More...
 

Events

Action OnDetected
 Called when switched to detected state. More...
 

Detailed Description

Voice Activity Detector interface.

Property Documentation

int ActivityDelayMs
getset

Keep detected state during this time after signal level dropped below threshold.

bool Detected
get

If true, voice detected.

DateTime DetectedTime
get

Last time when switched to detected state.

bool On
getset

If true, voice detection enabled.

float Threshold
getset

Voice detected as soon as signal level exceeds threshold.

Event Documentation

Action OnDetected

Called when switched to detected state.