Skip to content

myyang/tts

Repository files navigation

ITRI-TTS client

Install

go get -u github.com/myyang/tts

Usage

Example:

package main

import (
    "fmt"
    "github.com/myyang/tts"
)

func main() {
    s := "工研院的中英交錯Sentence做得比Google好喔,詳見測試檔"
    url := tts.ConvertSimple("account", "password", s)
    fmt.Printf("%s", url)
    // http.Get(url)
}

Example output:

http://tts.itri.org.tw/TTSservice/download/account/146355769925921.wav

Releases

No releases published

Packages

No packages published

Languages