AudioResource Class |
Namespace: IBM.Watson.DeveloperCloud.Services.SpeechToText.v1
public class AudioResource
The AudioResource type exposes the following members.
Name | Description | |
---|---|---|
AudioResource | Initializes a new instance of the AudioResource class |
Name | Description | |
---|---|---|
details |
An `AudioDetails` object that provides detailed information about the audio resource. The object is empty until the service finishes processing the audio.
| |
duration |
The total seconds of audio in the audio resource.
| |
name |
The name of the audio resource.
| |
status |
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.
|