Class ProcessedAudio

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.ProcessedAudio
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ProcessedAudio
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Detailed timing information about the service's processing of the input audio.
  • Constructor Details

    • ProcessedAudio

      public ProcessedAudio()
  • Method Details

    • getReceived

      public Float getReceived()
      Gets the received.

      The seconds of audio that the service has received as of this response. The value of the field is greater than the values of the `transcription` and `speaker_labels` fields during speech recognition processing, since the service first has to receive the audio before it can begin to process it. The final value can also be greater than the value of the `transcription` and `speaker_labels` fields by a fractional number of seconds.

      Returns:
      the received
    • getSeenByEngine

      public Float getSeenByEngine()
      Gets the seenByEngine.

      The seconds of audio that the service has passed to its speech-processing engine as of this response. The value of the field is greater than the values of the `transcription` and `speaker_labels` fields during speech recognition processing. The `received` and `seen_by_engine` fields have identical values when the service has finished processing all audio. This final value can be greater than the value of the `transcription` and `speaker_labels` fields by a fractional number of seconds.

      Returns:
      the seenByEngine
    • getTranscription

      public Float getTranscription()
      Gets the transcription.

      The seconds of audio that the service has processed for speech recognition as of this response.

      Returns:
      the transcription
    • getSpeakerLabels

      public Float getSpeakerLabels()
      Gets the speakerLabels.

      If speaker labels are requested, the seconds of audio that the service has processed to determine speaker labels as of this response. This value often trails the value of the `transcription` field during speech recognition processing. The `transcription` and `speaker_labels` fields have identical values when the service has finished processing all audio.

      Returns:
      the speakerLabels