Low-Key Text-to-Speech and Speech-to-Text Open Source Software Stack

栏目: IT技术 · 发布时间: 6年前

内容简介:Botium Speech Processing is a unified, developer-friendly API to the best available Speech-To-Text and Text-To-Speech services.This is aWhile the included tools in most cases cannot compete with the big cloud-based products, for lots of applications the tr

Botium Speech Processing

Botium Speech Processing is a unified, developer-friendly API to the best available Speech-To-Text and Text-To-Speech services.

What is it ?

This is a get-shit-done -style collection of the best free and Open Source speech recognition products, the configuration options are rudimentary: it is highly opinionated about the included tools, just get the shit done.

  • With Kaldi a reasonable speech recogniction performance is available with freely available data sources.
  • MaryTTS is currently the best freely available speech synthesis software
  • SoX is the swiss army-knife for audio file processing

While the included tools in most cases cannot compete with the big cloud-based products, for lots of applications the trade-off between price and quality is at least reasonable.

Read about the project history here

Possible Applications

Some examples what you can do with this:

  • Synthesize audio tracks for Youtube tutorials
  • Build voice-enabled chatbot services (for example, IVR systems)
  • Classification of audio file transcriptions
  • Automated Testing of Voice services with Botium

Installation

Software and Hardware Requirements

Build Docker Containers

Clone or download this repository and start with docker-compose:

> docker-compose up -d

This will take some time to build.

Point your browser to http://127.0.0.1 to open the Swagger UI and browse/use the API definition.

Configuration

This repository includes a reasonable default configuration:

  • Use MaryTTS for TTS
  • Use Kaldi for STT
  • Use SoX for audio file conversion

Configuration changes with environment variables . See comments in this file.

Recommendation:Do not change the .env file but create a .env.local file to overwrite the default settings. This will prevent troubles on future git pull

Securing the API

The environment variable BOTIUM_API_TOKENS contains a list of valid API Tokens accepted by the server (separated by whitespace or comma). The HTTP Header BOTIUM_API_TOKEN is validated on each call to the API.

Testing

Point your browser to http://127.0.0.1/dictate to open a rudimentary dictate.js-interface for testing speech recognition.

Attention: in Google Chrome this only works with services published as HTTPS, you will have to take of this yourself. For example, you could publish it via ngrok tunnel.

Point your browser to http://127.0.0.1/tts to open a MaryTTS interface for testing speech synthesis.

API Definition

See swagger.json :

Contributing

To be done: contribution guidelines.

We are open to any kind of contributions and are happy to discuss, review and merge pull requests.

Big Thanks

This project is standing on the shoulders of giants.


以上所述就是小编给大家介绍的《Low-Key Text-to-Speech and Speech-to-Text Open Source Software Stack》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

长尾理论

长尾理论

[美] 克里斯·安德森 / 乔江涛 / 中信出版社 / 2006-12 / 35.00元

书中阐述,商业和文化的未来不在于传统需求曲线上那个代表“畅销商品”(hits)的头部; 而是那条代表“冷门商品”(misses)经常为人遗忘的长尾。 举例来说, 一家大型书店通常可摆放10万本书,但亚马逊网络书店的图书销售额中,有四分之一来自排名10万以后的书籍。这些“冷门”书籍的销售比例正以高速成长,预估未来可占整体书市的一半。 这意味着消费者在面对无限的选择时,真正想要的东西、和想要取得......一起来看看 《长尾理论》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具