VoiceAgentAudioOutputConfig interface
音声エージェント用の出力オーディオ設定。
提供者固有のフィールドは以下の方法で選 voice_type:
-
openai:voiceおよびspeed。 -
azure-standard:voice、voice_locale、speed、voice_temperature、custom_lexicon_url、custom_text_normalization_url、prefer_locales、style、pitch、そしてvolume。 -
azure-custom:styleを除くすべてのフィールドazure-standard、さらにcustom_voice_endpoint_id。 -
azure-personal:styleを除くすべてのフィールドazure-standard、さらにpersonal_voice_model。 -
avatar-voice-sync:voiceとstyleを除くすべてのフィールドazure-standard、さらにpersonal_voice_model;声名はアバターから派生しています。 -
azure-realtime-native:voiceおよびspeed。formatoutput_audio_timestamp_typesすべての声質に当てはまります。
プロパティ
| custom_lexicon_url | カスタム発音辞典のURLです。
|
| custom_text_normalization_url | カスタムテキスト正規化設定のURLです。
|
| custom_voice_endpoint_id | Azure カスタム音声展開エンドポイント識別子。
|
| format | 出力オーディオフォーマット。 すべての |
| output_audio_timestamp_types | 出力音声にタイムスタンプを含めるタイプ。 すべての |
| personal_voice_model | Azureのパーソナルまたはアバターボイスモデル。
|
| pitch | 声のピッチ調整。
|
| prefer_locales | 多言語合成に適したBCP-47部位。
|
| speed | 数値出力速度倍率。 既知のすべての |
| style | 話す声のスタイル。
|
| voice | 声名や識別子。
|
| voice_locale | 強制的なBCP-47出力場所。
|
| voice_temperature | 声の変動や温度。
|
| voice_type | 音声の実装についてです。 |
| volume | 声の音量調整。
|
プロパティの詳細
custom_lexicon_url
カスタム発音辞典のURLです。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
custom_lexicon_url?: string
プロパティ値
string
custom_text_normalization_url
カスタムテキスト正規化設定のURLです。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
custom_text_normalization_url?: string
プロパティ値
string
custom_voice_endpoint_id
Azure カスタム音声展開エンドポイント識別子。
voice_typeがazure-customされている場合にのみ適用されます。
custom_voice_endpoint_id?: string
プロパティ値
string
format
出力オーディオフォーマット。 すべての voice_type に適用され、デフォルトは24 kHz PCMです。
format?: RealtimeAudioFormatsUnion
プロパティ値
output_audio_timestamp_types
出力音声にタイムスタンプを含めるタイプ。 すべての voice_typeに当てはまります。
output_audio_timestamp_types?: "word"[]
プロパティ値
"word"[]
personal_voice_model
Azureのパーソナルまたはアバターボイスモデル。
voice_typeがazure-personalまたはavatar-voice-syncの場合にのみ適用されます。
personal_voice_model?: string
プロパティ値
string
pitch
声のピッチ調整。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
pitch?: string
プロパティ値
string
prefer_locales
多言語合成に適したBCP-47部位。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
prefer_locales?: string[]
プロパティ値
string[]
speed
数値出力速度倍率。 既知のすべての voice_type 値に適用され、デフォルトは 1 です。
speed?: number
プロパティ値
number
style
話す声のスタイル。
voice_typeがazure-standardされている場合にのみ適用されます。
style?: string
プロパティ値
string
voice
声名や識別子。
openai、azure-standard、azure-custom、azure-personal、azure-realtime-nativeに適用されます。 声名はアバターから由来する avatar-voice-syncには適用されません。
voice?: string
プロパティ値
string
voice_locale
強制的なBCP-47出力場所。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
voice_locale?: string
プロパティ値
string
voice_temperature
声の変動や温度。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
voice_temperature?: number
プロパティ値
number
voice_type
volume
声の音量調整。
azure-standard、azure-custom、azure-personal、avatar-voice-syncに適用されます。
volume?: string
プロパティ値
string