Package net.idrnd.voicesdk.media
Class SpeechInfo
java.lang.Object
net.idrnd.voicesdk.media.SpeechInfo
Provides the calculated metrics related to Voice Activity Detection over processed audio data.
-
Method Details
-
getTotalLengthMs
public float getTotalLengthMs()- Returns:
- total audio record duration, milliseconds
-
getSpeechLengthMs
public float getSpeechLengthMs()- Returns:
- total accumulated speech duration, milliseconds
-
getBackgroundLengthMs
public float getBackgroundLengthMs()- Returns:
- total length of non-speech signal, milliseconds
-
equals
-
hashCode
public int hashCode() -
toString
-