aquestalk

package module
v0.0.0-...-5359194 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: MIT Imports: 4 Imported by: 0

README

koron-go/aquestalk

PkgGoDev GoDoc Actions/Go Go Report Card

AquesTalk wrapper for Go.

Gettings started

To get aquestalk package:

$ go get github.com/koron-go/aquestalk
$ cd ~/go/src/github.com/koron-go/aquestalk

Download AquesTalk1 engine of your platform from download section.

Extract a zip file, and copy AquesTalk.dll (or so) to project dir or one of dirs in PATH environment. Next example command copies a DLL of F1 voice for windows/amd64.

# for Windows
$ cp aqtk1-win-eva/x64/f1/AquesTalk.dll .

# for Linux
$ cp aqtk1-lnx-eva/lib64/f1/libAquesTalk.so .

You'll hear "Konnichi wa Gopher" (こんにちはGopher) with next command.

$ go run ./examples/01_hello/main.go
for Linux

You may need libasound2-dev to install, before go run.

$ sudo apt install -y libasound2-dev
for macOS

You should use AquesTalk10 (not AquesTalk1).

Download "AquesTalk10 Mac 1.1.0 (2017/11/01)".

Extract a zip file, and copy AquesTalk.framework to /Library/Frameworks

$ cp -Rp AquesTalk.framework /Library/Frameworks/

Supported Platforms

  • Windows (x86 and amd64)
  • Linux (x86 and amd64)
  • macOS (confirmed on M1 macmini)

IMPORTANT: License of AquesTalk

This package is a just a wrapper of AquesTalk engine, and doesn't include AquesTalk, and this is developped by using evaluation version of AquesTalk.

You must acquire AquesTalk's license, when using AquesTalk with your programs.

Documentation

Overview

Package aquestalk provides ...

Index

Constants

This section is empty.

Variables

View Source
var DLLName = "./libAquesTalk.so"

DLLName declares name of shared object. You can change this only before call Synthe().

Functions

func Synthe

func Synthe(koe string, speed int32) ([]byte, error)

Synthe synthesizes voice with an engine a.k.a. "Yukkuri".

Types

This section is empty.

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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