vlcgotts

package module
v0.0.0-...-09c9ce5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2019 License: MIT Imports: 7 Imported by: 1

README

vlcgo-tts

vlcgo-tts is a fork of htgo-tts
it use libvlc-go instead of mplayer.

Install
go get "framagit.org/fredix/vlcgo-tts"
Update
go get -u "framagit.org/fredix/vlcgo-tts"
Remove
go clean -i "framagit.org/fredix/vlcgo-tts"
Import
import "framagit.org/fredix/vlcgo-tts"
Use
speech := vlcgotts.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