VoiceAgentAudioOutputConfig interface

語音代理的輸出音訊設定。 透過會話層級 format 與 output_audio_timestamp_types 設定擴展語音設定,適用於所有語音類型。

Extends

屬性

format

輸出音訊格式。 適用於所有 voice_type 頻道,預設為 24 kHz PCM。

output_audio_timestamp_types

時間戳記類型,應隨輸出音訊附帶。 適用於所有 voice_type。

繼承的屬性

custom_lexicon_url

自訂發音詞典的網址。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

custom_text_normalization_url

自訂文字正規化設定的網址。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

custom_voice_endpoint_id

Azure 自訂語音部署端點識別碼。 僅在 voice_type 為 azure-custom 時適用。

personal_voice_model

Azure 個人語音或虛擬化身語音模型。 僅當 voice_type 是 或 azure-personalavatar-voice-sync時適用。

pitch

聲音音調調整。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

prefer_locales

多語言合成的首選 BCP-47 地點。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

speed

數值輸出速度倍增器。 適用於所有已知 voice_type 值,預設為 1。

style

聲音說話的風格。 僅在 voice_type 為 azure-standard 時適用。

voice

聲音名稱或識別碼。 適用於 openai、 azure-standard、 azure-customazure-personal、 azure-realtime-native和 。 它不適用於 avatar-voice-sync,後者的聲音名稱來自虛擬角色。

voice_locale

強制執行的BCP-47輸出地點。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

voice_temperature

聲音變化、溫度。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

voice_type

語音實作。

volume

聲音音量的調整。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

屬性詳細資料

format

輸出音訊格式。 適用於所有 voice_type 頻道,預設為 24 kHz PCM。

format?: RealtimeAudioFormatsUnion

屬性值

output_audio_timestamp_types

時間戳記類型,應隨輸出音訊附帶。 適用於所有 voice_type。

output_audio_timestamp_types?: "word"[]

屬性值

"word"[]

繼承的屬性詳細資料

custom_lexicon_url

自訂發音詞典的網址。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

custom_lexicon_url?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.custom_lexicon_url

custom_text_normalization_url

自訂文字正規化設定的網址。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

custom_text_normalization_url?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.custom_text_normalization_url

custom_voice_endpoint_id

Azure 自訂語音部署端點識別碼。 僅在 voice_type 為 azure-custom 時適用。

custom_voice_endpoint_id?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.custom_voice_endpoint_id

personal_voice_model

Azure 個人語音或虛擬化身語音模型。 僅當 voice_type 是 或 azure-personalavatar-voice-sync時適用。

personal_voice_model?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.personal_voice_model

pitch

聲音音調調整。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

pitch?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.pitch

prefer_locales

多語言合成的首選 BCP-47 地點。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

prefer_locales?: string[]

屬性值

string[]

繼承自VoiceAgentVoiceConfig.prefer_locales

speed

數值輸出速度倍增器。 適用於所有已知 voice_type 值,預設為 1。

speed?: number

屬性值

number

繼承自VoiceAgentVoiceConfig.speed

style

聲音說話的風格。 僅在 voice_type 為 azure-standard 時適用。

style?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.style

voice

聲音名稱或識別碼。 適用於 openai、 azure-standard、 azure-customazure-personal、 azure-realtime-native和 。 它不適用於 avatar-voice-sync,後者的聲音名稱來自虛擬角色。

voice?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.voice

voice_locale

強制執行的BCP-47輸出地點。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

voice_locale?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.voice_locale

voice_temperature

聲音變化、溫度。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

voice_temperature?: number

屬性值

number

繼承自VoiceAgentVoiceConfig.voice_temperature

voice_type

語音實作。

voice_type?: VoiceType

屬性值

繼承自VoiceAgentVoiceConfig.voice_type

volume

聲音音量的調整。 適用於 azure-standard、 azure-custom、 azure-personal和 avatar-voice-sync。

volume?: string

屬性值

string

繼承自VoiceAgentVoiceConfig.volume