Documentation ¶
Index ¶
- Constants
- func NewTTSOptionsGoogle() common.TTSOptions
- type TTSGoogle
- type TTSOptionsGoogle
- func (c TTSOptionsGoogle) GetRequest() interface{}
- func (c TTSOptionsGoogle) GetTimeout() time.Duration
- func (c TTSOptionsGoogle) WithAudioEncoding(encoding string) common.TTSOptions
- func (c TTSOptionsGoogle) WithLanguage(language string) common.TTSOptions
- func (c TTSOptionsGoogle) WithModel(common.TTSModel) common.TTSOptions
- func (c TTSOptionsGoogle) WithPitch(pitch float64) common.TTSOptions
- func (c TTSOptionsGoogle) WithPrompt(string) common.TTSOptions
- func (c TTSOptionsGoogle) WithSimilarityBoost(float32) common.TTSOptions
- func (c TTSOptionsGoogle) WithSpeakingRate(rate float64) common.TTSOptions
- func (c TTSOptionsGoogle) WithStability(float32) common.TTSOptions
- func (c TTSOptionsGoogle) WithText(text string) common.TTSOptions
- func (c TTSOptionsGoogle) WithTimeout(timeout time.Duration) common.TTSOptions
- func (c TTSOptionsGoogle) WithVoice(voice string) common.TTSOptions
- func (c TTSOptionsGoogle) WithVolumeGain(gain float64) common.TTSOptions
Constants ¶
View Source
const GoogleTTS common.TTSModel = "google"
Variables ¶
This section is empty.
Functions ¶
func NewTTSOptionsGoogle ¶
func NewTTSOptionsGoogle() common.TTSOptions
Types ¶
type TTSGoogle ¶
type TTSGoogle struct{}
func NewTTSGoogle ¶
func NewTTSGoogle() *TTSGoogle
func (*TTSGoogle) TTSWithContext ¶
func (*TTSGoogle) TTSWithOptions ¶
type TTSOptionsGoogle ¶
type TTSOptionsGoogle struct {
// contains filtered or unexported fields
}
func (TTSOptionsGoogle) GetRequest ¶
func (c TTSOptionsGoogle) GetRequest() interface{}
func (TTSOptionsGoogle) GetTimeout ¶
func (c TTSOptionsGoogle) GetTimeout() time.Duration
func (TTSOptionsGoogle) WithAudioEncoding ¶
func (c TTSOptionsGoogle) WithAudioEncoding(encoding string) common.TTSOptions
func (TTSOptionsGoogle) WithLanguage ¶
func (c TTSOptionsGoogle) WithLanguage(language string) common.TTSOptions
func (TTSOptionsGoogle) WithModel ¶
func (c TTSOptionsGoogle) WithModel(common.TTSModel) common.TTSOptions
func (TTSOptionsGoogle) WithPitch ¶
func (c TTSOptionsGoogle) WithPitch(pitch float64) common.TTSOptions
func (TTSOptionsGoogle) WithPrompt ¶
func (c TTSOptionsGoogle) WithPrompt(string) common.TTSOptions
func (TTSOptionsGoogle) WithSimilarityBoost ¶
func (c TTSOptionsGoogle) WithSimilarityBoost(float32) common.TTSOptions
func (TTSOptionsGoogle) WithSpeakingRate ¶
func (c TTSOptionsGoogle) WithSpeakingRate(rate float64) common.TTSOptions
func (TTSOptionsGoogle) WithStability ¶
func (c TTSOptionsGoogle) WithStability(float32) common.TTSOptions
func (TTSOptionsGoogle) WithText ¶
func (c TTSOptionsGoogle) WithText(text string) common.TTSOptions
func (TTSOptionsGoogle) WithTimeout ¶
func (c TTSOptionsGoogle) WithTimeout(timeout time.Duration) common.TTSOptions
func (TTSOptionsGoogle) WithVoice ¶
func (c TTSOptionsGoogle) WithVoice(voice string) common.TTSOptions
func (TTSOptionsGoogle) WithVolumeGain ¶
func (c TTSOptionsGoogle) WithVolumeGain(gain float64) common.TTSOptions
Click to show internal directories.
Click to hide internal directories.