Help us shape the future of Go! Take the 2026 Go Developer Survey

googlespeak

package module
v0.0.0-...-855b426 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2014 License: MIT Imports: 10 Imported by: 2

README

Google Speak

Go implementation for transform text to speech using Google Translate.

Usage:

package main

import (
  "github.com/yanzay/googlespeak"
)

func main() {
  googlespeak.Say("hi") // English by default
  googlespeak.Say("привет", "ru")
}

Supported languages:

  • af (Afrikaans)
  • ar (Arabic)
  • ca (Catalan)
  • cs (Czech)
  • cy (Welsh)
  • da (Danish)
  • de (German)
  • el (Greek)
  • en (English)
  • es (Spanish)
  • fi (Finnish)
  • fr (French)
  • hi (Hindi)
  • hr (Croatian)
  • ht (Haitian)
  • hu (Hungarian)
  • hy (Armenian)
  • id (Indonesian)
  • is (Icelandic)
  • it (Italian)
  • ja (Japanese)
  • ko (Korean)
  • la (Latin)
  • lv (Latvian)
  • mk (Macedonian)
  • nl (Dutch)
  • no (Norwegian)
  • pl (Polish)
  • pt (Portuguese)
  • ro (Romanian)
  • ru (Russian)
  • sk (Slovak)
  • sq (Albanian)
  • sr (Serbian)
  • sv (Swedish)
  • sw (Swahili)
  • ta (Tamil)
  • tr (Turkish)
  • vi (Vietnamese)
  • zh (Chinese)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Say

func Say(s string, args ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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