Module: OpenAI::Models::Realtime::TranscriptionSessionUpdate::Session::InputAudioFormat
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/openai/models/realtime/transcription_session_update.rb,
sig/openai/models/realtime/transcription_session_update.rbs
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
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, 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
Instance Method Details
#self?.values ⇒ ::Array[OpenAI::Models::Realtime::TranscriptionSessionUpdate::Session::input_audio_format]
107 |
# File 'sig/openai/models/realtime/transcription_session_update.rbs', line 107
def self?.values: -> ::Array[OpenAI::Models::Realtime::TranscriptionSessionUpdate::Session::input_audio_format]
|