Class SpeechInfo

java.lang.Object
net.idrnd.voicesdk.media.SpeechInfo

public final class SpeechInfo extends Object
Provides the calculated metrics related to Voice Activity Detection over processed audio data.
See Also:
  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object