Photon Voice v2.53

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

◆ ActivityDelayMs

int ActivityDelayMs
getset

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

◆ Detected

bool Detected
get

If true, voice detected.

◆ DetectedTime

DateTime DetectedTime
get

Last time when switched to detected state.

◆ On

bool On
getset

If true, voice detection enabled.

◆ Threshold

float Threshold
getset

Voice detected as soon as signal level exceeds threshold.

Event Documentation

◆ OnDetected

Action OnDetected

Called when switched to detected state.