Module: OpenAI::Models::Realtime::RealtimeSession::InputAudioFormat

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/realtime/realtime_session.rb

Overview

The format of input audio. Options are ‘pcm16`, `g711_ulaw`, or `g711_alaw`. For `pcm16`, input audio must be 16-bit PCM at a 24kHz sample rate, single channel (mono), and little-endian byte order.

Constant Summary collapse

PCM16 =
:pcm16
G711_ULAW =
:g711_ulaw
G711_ALAW =
:g711_alaw

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info