JakobOvrum/speech4d

语言: D

git: https://github.com/JakobOvrum/speech4d

D编程语言的语音库
Speech Library for the D Programming Language
README.md (中文)

speech4d - D编程语言的语音库 ================================================== ======= speech4d是一个旨在提供全面的TTS(文本到语音)和 D编程语言的语音识别功能,以a的形式 跨平台高级接​​口,以及低级引擎绑定。

文字转语音

高级接口目前只有一个Windows Speech API后端。

speech4d还包括Windows Speech API和跨平台eSpeak API的绑定。

语音识别

目前还没有关于语音识别的工作。目前的重点是TTS库。

目录结构

  • 演讲 - speech4d顶级套餐。
  • visuald - VisualD项目文件。
  • 测试 - 测试源和二进制文件(构建时)。
  • lib - speech4d库文件(构建时)。

使用VisualS构建

Microsoft Speech API(SAPI)是Windows附带的系统库。 可以在此处找到DMD32所需的OMF格式的SAPI导入库 为方便起见。项目文件将在lib / sapi.lib中查找导入库。

Windows上的eSpeak既有自己的跨平台API,也有Microsoft SAPI的后端语音供应商。 在Windows上,跨平台API仅支持音频数据的同步检索,无需回放或异步检索, 因此SAPI后端在此平台上更受欢迎。

可以在eSpeak下载页面上找到eSpeak SAPI提供商。

用于跨平台eSpeak的Windows DLL和导入库 尽管如此,这里可以找到图书馆。

文档

文档可以在gh-pages分支上找到,或者在这里在线阅读。

可以在各自的网站上找到Windows Speech API和eSpeak API的文档。

执照

speech4d根据MIT许可条款获得许可(有关详细信息,请参阅LICENSE.txt文件)。

本文使用googletrans自动翻译,仅供参考, 原文来自github.com

en_README.md

dub Build Status
speech4d - Speech Library for the D Programming Language
=========================================================
speech4d is a library aiming at providing comprehensive TTS (Text To Speech) and
voice recognition capabilities for the D programming language, in the form of a
cross-platform high level interface, as well as low level engine bindings.

Text To Speech

The high level interface currently only has a Windows Speech API backend.

speech4d also includes bindings for the Windows Speech API and the cross-platform eSpeak API.

Voice Recognition

No work has been done on voice recognition yet. The current focus is on the TTS libraries.

Directory Structure

  • speech - the speech4d top package.
  • visuald - VisualD project files.
  • test - test sources and binaries (when built).
  • lib - speech4d library files (when built).

Building with VisualD

The Microsoft Speech API (SAPI) is a system library included with Windows.
An import library for SAPI in the OMF format required by DMD32 can be found here
as a convenience. The project files will look for the import library at lib/sapi.lib.

eSpeak on Windows comes with either its own cross-platform API or as a backend voice supplier to the Microsoft SAPI.
On Windows, the cross-platform API only supports synchronous retrieval of audio data, no playback or asynchronous retrieval,
hence the SAPI backend is preferable on this platform.

The eSpeak SAPI provider can be found on the eSpeak downloads page.

A Windows DLL and import library for the cross-platform eSpeak
library can nonetheless be found here.

Documentation

Documentation can be found on the gh-pages branch, or read online here.

Documentation for the Windows Speech API and the eSpeak API can be found at their respective websites.

License

speech4d is licensed under the terms of the MIT license (see the LICENSE.txt file for details).