Firebase. AI. SpeechConfig
A struct used to configure speech generation settings.
Summary
Note: Multi-speaker configurations are not supported by the Live API (e.g., LiveGenerationConfig).
Public static functions |
|
|---|---|
UseMultiSpeakerVoice(MultiSpeakerVoiceConfig multiSpeakerVoiceConfig, string languageCode)
|
Configure speech synthesis with multiple speakers.
|
UsePrebuiltVoice(string voice, string languageCode)
|
See https://cloud.google.com/text-to-speech/docs/chirp3-hd for the list of available voices.
|
Public static functions
UseMultiSpeakerVoice
SpeechConfig Firebase::AI::SpeechConfig::UseMultiSpeakerVoice( MultiSpeakerVoiceConfig multiSpeakerVoiceConfig, string languageCode )
Configure speech synthesis with multiple speakers.
Note: Multi-speaker configurations are not supported by the Live API (e.g., LiveGenerationConfig).
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |
UsePrebuiltVoice
SpeechConfig Firebase::AI::SpeechConfig::UsePrebuiltVoice( string voice, string languageCode )
See https://cloud.google.com/text-to-speech/docs/chirp3-hd for the list of available voices.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Returns |