yanyu
v0.1.4
Published
A Chinese speech synthesis and recognition library toolkit
Downloads
7
Readme
Overview
Yanyu is a high speed Chinese Text-to-Speech server-side library for Node.js. It aims to generate audio files based on Chinese characters. Recognition and support for other languages is planned in the future.
Installation
Run the following command:
pnpm i -D yanyu
QuickStart
Call the systhesis()
function to convert Chinese characters to mp3 files.
import yan from 'yanyu';
const yan = new Yan();
yan.synthesis('你好', 'pinyin-syllables');
Requirements:
- Node v14+
Test
# pnpm test - disabled for now
Code of Conduct
License
Licensed under the MIT License.