Module: Telnyx::Models::TextToSpeechRetrieveSpeechParams::AudioFormat

Extended by:
Internal::Type::Enum
Defined in:
lib/telnyx/models/text_to_speech_retrieve_speech_params.rb,
sig/telnyx/models/text_to_speech_retrieve_speech_params.rbs

Overview

Audio output format override. Supported for Telnyx models. pcm and wav are available for Natural/NaturalHD models. The Ultra model outputs PCM at 24kHz s16le or MP3 at 128kbps 24kHz.

Constant Summary collapse

PCM =

Returns:

  • (:pcm)
:pcm
WAV =

Returns:

  • (:wav)
:wav
MP3 =

Returns:

  • (:mp3)
:mp3

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[Telnyx::Models::TextToSpeechRetrieveSpeechParams::audio_format]

Returns:

  • (::Array[Telnyx::Models::TextToSpeechRetrieveSpeechParams::audio_format])


82
# File 'sig/telnyx/models/text_to_speech_retrieve_speech_params.rbs', line 82

def self?.values: -> ::Array[Telnyx::Models::TextToSpeechRetrieveSpeechParams::audio_format]