Class OpenAIAudioFormat
public class OpenAIAudioFormat
- Inheritance
-
objectOpenAIAudioFormat
- Extension Methods
Fields
PCM
The PCM audio format. Only a 24kHz sample rate is supported.
public static readonly OpenAIAudioFormat PCM
Field Value
PCMA
The G.711 A-law format.
public static readonly OpenAIAudioFormat PCMA
Field Value
PCMU
The G.711 μ-law format.
public static readonly OpenAIAudioFormat PCMU
Field Value
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