Click or drag to resize

AudioResource Class

The Audio Resource object.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1AudioResource

Namespace:  IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class AudioResource

The AudioResource type exposes the following members.

Constructors
  NameDescription
Public methodAudioResource
Initializes a new instance of the AudioResource class
Top
Properties
  NameDescription
Public propertydetails
An `AudioDetails` object that provides detailed information about the audio resource. The object is empty until the service finishes processing the audio.
Public propertyduration
The total seconds of audio in the audio resource.
Public propertyname
The name of the audio resource.
Public propertystatus
The status of the audio resource. `ok` indicates that the service has successfully analyzed the audio data. The data can be used to train the custom model. `being_processed` indicates that the service is still analyzing the audio data.The service cannot accept requests to add new audio resources or to train the custom model until its analysis is complete. `invalid` indicates that the audio data is not valid for training the custom model(possibly because it has the wrong format or sampling rate, or because it is corrupted). For an archive file, the entire archive is invalid if any of its audio files are invalid.
Top
See Also