Versions in this module Expand all Collapse all v0 v0.1.0 Oct 21, 2024 Changes in this version + var NoPackTaskEntries = errors.New("no pack task entries") + type Speech struct + func NewSpeech(options ...communicate.Option) (*Speech, error) + func (s *Speech) AddPackTask(dataEntries map[string]string, ...) error + func (s *Speech) AddPackTaskWithCustomOptions(dataEntries map[string]string, entriesOption map[string][]communicate.Option, ...) error + func (s *Speech) AddSingleTask(text string, output io.Writer) error + func (s *Speech) GetVoiceList() ([]Voice, error) + func (s *Speech) StartTasks() error + type Tasker interface + Start func(wg *sync.WaitGroup) error + type Voice struct + DisplayName string + Gender string + LocalName string + Locale string + LocaleName string + Name string + SampleRateHertz string + ShortName string + Status string + VoiceType string + WordsPerMinute string + type VoiceManager struct + func NewVoiceManager() *VoiceManager + func (m *VoiceManager) ListVoices() ([]Voice, error)