Table of Contents

Class OpenAIAudioFormat

public class OpenAIAudioFormat
Inheritance
object
OpenAIAudioFormat
Extension Methods

Fields

PCM

The PCM audio format. Only a 24kHz sample rate is supported.

public static readonly OpenAIAudioFormat PCM

Field Value

OpenAIAudioFormat

PCMA

The G.711 A-law format.

public static readonly OpenAIAudioFormat PCMA

Field Value

OpenAIAudioFormat

PCMU

The G.711 μ-law format.

public static readonly OpenAIAudioFormat PCMU

Field Value

OpenAIAudioFormat

Properties

Rate

Optional. The sample rate of the audio. Always 24000.

public int? Rate { get; set; }

Property Value

int?

Type

Optional. The audio format.

public string Type { get; set; }

Property Value

string