Code Monkey home page Code Monkey logo

yanyu's Introduction

Yanyu.js

Yan

GitHub issues npm GitHub license

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

Code of Conduct.

License

Licensed under the MIT License.

yanyu's People

Contributors

byhow avatar dependabot[bot] avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

aflyingwolf kroid

yanyu's Issues

Pinyin sounds

Apologies for the strange question - I wanted to ensure that the pinyin-syllables files had the same license as provided at the root LICENSE. I am currently building a dictionary with offline pronunciation, and those files are the best quality that I could find with permissive licensing, but I just wanted to make sure before I push anything.

Thank you!

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/codeql-analysis.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • github/codeql-action v3
  • github/codeql-action v3
  • github/codeql-action v3
.github/workflows/integrate.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/setup-node v4
  • pnpm/action-setup v2
.github/workflows/test.yml
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • actions/setup-node v4
  • pnpm/action-setup v2
npm
package.json
  • @commitlint/cli ^19.0.0
  • @commitlint/config-conventional ^19.0.0
  • @types/audiosprite ^0.7.3
  • @types/jest 29.5.12
  • @types/node ^20.11.16
  • @types/pinyin ^2.10.2
  • alex 11.0.1
  • audiosprite ^0.7.2
  • eslint ^8.56.0
  • husky ^9.0.10
  • jest ^29.7.0
  • lint-staged ^15.2.2
  • pinyin ^3.1.0
  • prettier ^3.2.5
  • standard-version ^9.5.0
  • typescript ^5.3.3
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.