Photon Voice
v2.58
VoiceDetector specialization for float audio. More...
Inherits AudioUtil.VoiceDetector< short >.
Public Member Functions | |
| VoiceDetectorShort (int samplingRate, int numChannels) | |
| Create a new VoiceDetectorFloat instance More... | |
| override short[] | Process (short[] buffer) |
Public Member Functions inherited from AudioUtil.VoiceDetector< short > | |
| abstract T[] | Process (T[] buf) |
| Process a frame of data. More... | |
| void | Dispose () |
Additional Inherited Members | |
Protected Attributes inherited from AudioUtil.VoiceDetector< short > | |
| float | norm |
| float | threshold |
| int | activityDelay |
| int | autoSilenceCounter |
| int | valuesCountPerSec |
| int | activityDelayValuesCount |
Properties inherited from AudioUtil.VoiceDetector< short > | |
| 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... | |
Events inherited from AudioUtil.VoiceDetector< short > | |
| Action | OnDetected |
| Called when switched to detected state. More... | |
VoiceDetector specialization for float audio.
| VoiceDetectorShort | ( | int | samplingRate, |
| int | numChannels | ||
| ) |
Create a new VoiceDetectorFloat instance
| samplingRate | Sampling rate of the audio signal (in Hz). |
| numChannels | Number of channels in the audio signal. |