aquestalk-go provides unofficial Go bindings for the AquesTalk Japanese TTS engine using purego.
- Pure Go bindings using purego, no cgo required
- Dynamic library loading
- Support for:
- AquesTalk1
- AquesTalk2
- AquesTalk10
Install using this command:
go get github.com/SladkyCitron/aquestalk-goNote
You must independently obtain the official AquesTalk dynamic libraries from AQUEST. They are not included in this repository.
package main
import (
"os"
"github.com/SladkyCitron/aquestalk-go/aqtk10"
)
func main() {
aq, err := aqtk10.New("AquesTalk.dll")
if err != nil {
panic(err)
}
wavBytes, err := aq.Synthe(aqtk10.VoiceF1, "こんにちわ。")
if err != nil {
panic(err)
}
if err := os.WriteFile("output.wav", wavBytes, 0644); err != nil {
panic(err)
}
}Complete code examples can be found in the example/ directory.
All documentation is available at pkg.go.dev.
Copyright © 2026 SladkyCitron
Licensed under the MIT License (see LICENSE) - free to use, fork, remix, and share!
This project only provides bindings. It does not include AquesTalk binaries. You are responsible for obtaining the appropriate licenses from AQUEST.