Socket
Socket
Sign inDemoInstall

node-dectalk

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-dectalk

Node.js bindings for the DecTalk Text-To-Speech Engine


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
4.85 MB
Created
Weekly downloads
 

Readme

Source

node-dectalk - Node.js bindings for the DecTalk TTS Engine

npm version License: GNU

node-dectalk is a Node.js module that provides bindings for the DecTalk library. Aeiou.

Installation

You can install node-dectalk via npm:

npm install node-dectalk

Usage

import { DecTalk } from "node-dectalk";

var talk = new DecTalk();
talk.startup();

// sing some He-Man
talk.speak(
  [
    "[:phoneme on]",
    "[sow<150,28>ay<150,28>wwey<300,37>kkih<150,37>nnth<20>uh<150,37>mor<200,33>nnihn<100,33>ae<150,33>nndday<150,33>ssteh<200,28>pp]",
    "[aw<300,28>ttssah<150,26>ay<150,25>ddae<200,25>nday<150,25>ttey<150,26>kkuh<150,26>ddiy<150,37>ppbr<20>eh<300,35>thae<300,33>]",
    "[ndgeh<300,35>ttrih<300,37>llhxay<300,33>ae<150,33>nnay<150,33>sk<150,33>rEy<150,33>m<150,33>_<150>tuh<150,33>tteh<150,33>ttaw<150,33>ppuh<150,33>]",
    "[ffmaa<200,33>lluh<300,33>nngs<150,35>_<150>wah<300,35>ssgow<150,35>ih<300,37>ngaw<450,33>nn<300,33>_<1200>]",
    "[ae<150,28>nnday<300,30>ssae<300,28>_<300>hxeh<750,37>ey<200,33>eh<750,33>ey<200,28>eh<750,28>ey<400,26>ey<400,25>_<100>]",
    "[hxeh<750,37>ey<200,33>eh<750,33>ey<200,26>eh<750,26>_<750>ay<150,35>sseh<200,37>hxeh<300,33>eh<300,30>_<1800>]",
    "[wwah<300,35>ttsgow<300,35>ih<400,37>nnaw<300,33>nn<90>]"
  ]
);
talk.sync();

Documentation

https://onesandzer0s.github.io/node-dectalk/

Resources

TODO

  • Add documentation.
  • Add TypeScript support.
  • Figure out a way to add in the TextToSpeechAddBuffer and callback functions.
    • seriously this is a pain in my aeiou. The function for the callback does not allow any sort of captures, so i cannot pass any pointer so that it can call a javascript function. I have no idea how to do this.

Keywords

FAQs

Last updated on 01 Aug 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc