MarkusSagen / text_to_speech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-to-Speech

Using Linux flite for simple Text-to-Speech
Leverages Docker, go, gRPC, Kubernetes and cgo

Run

cd backend
make build
docker run --rm -v $(pwd)/data:/data -w /data campoy/say "hello"

# Play output
aplay data/out.wav  # Linux
afplay data/out.waw # MacOS

Debugging

# If you have Linux test without docker
cd backend
go run main.go "hello"
aplay out.wav

Spawn new docker container with vi

docker run -it --name vi debian

Timeline

  • add gRPC and endpoints as API
  • Connect Docker containers to K8
  • Add Docker multistage build
  • Publish and stage K8 build to GCP

About


Languages

Language:Go 54.2%Language:Dockerfile 29.0%Language:Makefile 16.8%