Photon Voice
v2.7
|
ILocalVoiceAudio Interface Reference
Interface for an outgoing audio stream. More...
Inherited by LocalVoiceAudio< T >, and LocalVoiceAudioDummy.
Public Member Functions | |
void | VoiceDetectorCalibrate (int durationMs) |
Trigger voice detector calibration process. More... | |
Properties | |
AudioUtil.IVoiceDetector | VoiceDetector [get] |
The VoiceDetector in use. More... | |
AudioUtil.ILevelMeter | LevelMeter [get] |
The LevelMeter utility in use. More... | |
bool | VoiceDetectorCalibrating [get] |
If true, voice detector calibration is in progress. More... | |
Detailed Description
Interface for an outgoing audio stream.
A LocalVoice always brings a LevelMeter and a VoiceDetector, which you can access using this interface.
Member Function Documentation
void VoiceDetectorCalibrate | ( | int | durationMs | ) |
Trigger voice detector calibration process.
While calibrating, keep silence. Voice detector sets threshold based on measured backgroud noise level.
- Parameters
-
durationMs Duration of calibration (in milliseconds).
Implemented in LocalVoiceAudioDummy, and LocalVoiceAudio< T >.
Property Documentation
|
get |
The LevelMeter utility in use.
|
get |
The VoiceDetector in use.
Use it to enable or disable voice detector and set its parameters.
|
get |
If true, voice detector calibration is in progress.