Simple voice activity detector triggered by signal level.
More...
Inherits IProcessor< T >, and AudioUtil.IVoiceDetector.
|
abstract T[] | Process (T[] buf) |
| Process a frame of audio data. More...
|
|
void | Dispose () |
|
|
int | activityDelay |
|
int | autoSilenceCounter = 0 |
|
int | valuesCountPerSec |
|
int | activityDelayValuesCount |
|
|
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, protected set] |
| 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...
|
|
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...
|
|
Simple voice activity detector triggered by signal level.
abstract T [] Process |
( |
T[] |
buf | ) |
|
|
pure virtual |
Process a frame of audio data.
- Parameters
-
buf | Buffer containing input audio data |
- Returns
- Buffer containing output audio data
Implements IProcessor< T >.
Keep detected state during this time after signal level dropped below threshold.
Last time when switched to detected state.
If true, voice detection enabled.
Voice detected as soon as signal level exceeds threshold.
Called when switched to detected state.