8000 GitHub - zhf/tts_ws: A Tiny Text-to-Speech Web Service in Bash and Ruby
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zhf/tts_ws

Repository files navigation

TTS Web Service原型

Web Service入口

  • server2.rb
  • scheduler.rb
  • 使用 ruby server2.rb启动服务,端口号 12321

TTS服务

  • 任务在text/子目录中,按时间排队
  • 产品在audio/子目录中,也是Web Server的根目录
  • 使用bash tts_worker.sh启动服务

Web Server

  • 使用ruby webserver.rb启动服务
  • 使用 2000 端口

客户端模拟

  • 使用ruby client.rb,没有返回结果显示
  • wget http://<hostname>:2000/<md5hash>.m4a

备注

  • 仅在Mac OS X Lion上测试过
  • Ruby 1.8.8
  • m4a可能只有Safari支持

About

A Tiny Text-to-Speech Web Service in Bash and Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0