Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AudioDetails

Information about an audio resource from a custom acoustic model.

Hierarchy

  • AudioDetails

Index

Properties

Optional codec

codec: string

_For an audio-type resource_, the codec in which the audio is encoded. Omitted for an archive-type resource.

Optional compression

compression: string

_For an archive-type resource_, the format of the compressed archive:

  • zip for a .zip file
  • gzip for a .tar.gz file

Omitted for an audio-type resource.

Optional frequency

frequency: number

_For an audio-type resource_, the sampling rate of the audio in Hertz (samples per second). Omitted for an archive-type resource.

Optional type

type: string

The type of the audio resource:

  • audio for an individual audio file
  • archive for an archive (.zip or .tar.gz) file that contains audio files
  • undetermined for a resource that the service cannot validate (for example, if the user mistakenly passes a file that does not contain audio, such as a JPEG file).

Generated using TypeDoc