htgotts

package module
v0.0.0-...-874fa9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2019 License: MIT Imports: 6 Imported by: 0

README

htgo-tts

https://hegedustibor.github.io/htgo-tts/

Requirement:
  • mplayer
Install
go get "github.com/hegedustibor/htgo-tts"
Update
go get -u "github.com/hegedustibor/htgo-tts"
Remove
go clean -i "github.com/hegedustibor/htgo-tts"
Import
import "github.com/hegedustibor/htgo-tts"
Use
speech := htgotts.Speech{Folder: "audio", Language: "en"}
speech.Speak("Your sentence.")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Speech

type Speech struct {
	Folder   string
	Language string
}

Speech struct

func (*Speech) Speak

func (speech *Speech) Speak(text string) error

Speak downloads speech and plays it using mplayer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL