public class AudioMetricsDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<AudioMetricsHistogramBin> |
clippingRate |
protected java.util.List<AudioMetricsHistogramBin> |
directCurrentOffset |
protected java.lang.Float |
endTime |
protected java.lang.Float |
highFrequencyLoss |
protected java.util.List<AudioMetricsHistogramBin> |
nonSpeechLevel |
protected java.lang.Float |
signalToNoiseRatio |
protected java.util.List<AudioMetricsHistogramBin> |
speechLevel |
protected java.lang.Float |
speechRatio |
protected java.lang.Boolean |
xFinal |
Constructor and Description |
---|
AudioMetricsDetails() |
Modifier and Type | Method and Description |
---|---|
java.util.List<AudioMetricsHistogramBin> |
getClippingRate()
Gets the clippingRate.
|
java.util.List<AudioMetricsHistogramBin> |
getDirectCurrentOffset()
Gets the directCurrentOffset.
|
java.lang.Float |
getEndTime()
Gets the endTime.
|
java.lang.Float |
getHighFrequencyLoss()
Gets the highFrequencyLoss.
|
java.util.List<AudioMetricsHistogramBin> |
getNonSpeechLevel()
Gets the nonSpeechLevel.
|
java.lang.Float |
getSignalToNoiseRatio()
Gets the signalToNoiseRatio.
|
java.util.List<AudioMetricsHistogramBin> |
getSpeechLevel()
Gets the speechLevel.
|
java.lang.Float |
getSpeechRatio()
Gets the speechRatio.
|
java.lang.Boolean |
isXFinal()
Gets the xFinal.
|
@SerializedName(value="final") protected java.lang.Boolean xFinal
@SerializedName(value="end_time") protected java.lang.Float endTime
@SerializedName(value="signal_to_noise_ratio") protected java.lang.Float signalToNoiseRatio
@SerializedName(value="speech_ratio") protected java.lang.Float speechRatio
@SerializedName(value="high_frequency_loss") protected java.lang.Float highFrequencyLoss
@SerializedName(value="direct_current_offset") protected java.util.List<AudioMetricsHistogramBin> directCurrentOffset
@SerializedName(value="clipping_rate") protected java.util.List<AudioMetricsHistogramBin> clippingRate
@SerializedName(value="speech_level") protected java.util.List<AudioMetricsHistogramBin> speechLevel
@SerializedName(value="non_speech_level") protected java.util.List<AudioMetricsHistogramBin> nonSpeechLevel
public java.lang.Boolean isXFinal()
If `true`, indicates the end of the audio stream, meaning that transcription is complete. Currently, the field is always `true`. The service returns metrics just once per audio stream. The results provide aggregated audio metrics that pertain to the complete audio stream.
public java.lang.Float getEndTime()
The end time in seconds of the block of audio to which the metrics apply.
public java.lang.Float getSignalToNoiseRatio()
The signal-to-noise ratio (SNR) for the audio signal. The value indicates the ratio of speech to noise in the audio. A valid value lies in the range of 0 to 100 decibels (dB). The service omits the field if it cannot compute the SNR for the audio.
public java.lang.Float getSpeechRatio()
The ratio of speech to non-speech segments in the audio signal. The value lies in the range of 0.0 to 1.0.
public java.lang.Float getHighFrequencyLoss()
The probability that the audio signal is missing the upper half of its frequency content. * A value close to 1.0 typically indicates artificially up-sampled audio, which negatively impacts the accuracy of the transcription results. * A value at or near 0.0 indicates that the audio signal is good and has a full spectrum. * A value around 0.5 means that detection of the frequency content is unreliable or not available.
public java.util.List<AudioMetricsHistogramBin> getDirectCurrentOffset()
An array of `AudioMetricsHistogramBin` objects that defines a histogram of the cumulative direct current (DC) component of the audio signal.
public java.util.List<AudioMetricsHistogramBin> getClippingRate()
An array of `AudioMetricsHistogramBin` objects that defines a histogram of the clipping rate for the audio segments. The clipping rate is defined as the fraction of samples in the segment that reach the maximum or minimum value that is offered by the audio quantization range. The service auto-detects either a 16-bit Pulse-Code Modulation(PCM) audio range (-32768 to +32767) or a unit range (-1.0 to +1.0). The clipping rate is between 0.0 and 1.0, with higher values indicating possible degradation of speech recognition.
public java.util.List<AudioMetricsHistogramBin> getSpeechLevel()
An array of `AudioMetricsHistogramBin` objects that defines a histogram of the signal level in segments of the audio that contain speech. The signal level is computed as the Root-Mean-Square (RMS) value in a decibel (dB) scale normalized to the range 0.0 (minimum level) to 1.0 (maximum level).
public java.util.List<AudioMetricsHistogramBin> getNonSpeechLevel()
An array of `AudioMetricsHistogramBin` objects that defines a histogram of the signal level in segments of the audio that do not contain speech. The signal level is computed as the Root-Mean-Square (RMS) value in a decibel (dB) scale normalized to the range 0.0 (minimum level) to 1.0 (maximum level).