Socket
Socket
Sign inDemoInstall

dectalk

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

dectalk

Aieou!


Version published
Maintainers
1
Weekly downloads
15
increased by1400%

Weekly downloads

Readme

Source

Dectalk

A Simple package for using Dectalk (Moonbase alpha voice)

Installation

npm install dectalk

see notes if it doesn't work for you

Example

Javascript:

const { say } = require('dectalk');
const { writeFileSync } = require('fs');
(async () => {

    const WavData = await say("Hello World!");
    writeFileSync('Hello.wav', WavData)
    
})();

Typescript:

import { writeFileSync } from "fs";
import { say } from 'dectalk';

(async () => {

    const WavData: Buffer = await say("Hello World");
    writeFileSync('Hello.wav', WavData);
    
})();

Notes

Windows

Windows support was added recently, if you have any problems dont be afraid to make an issue

Mac

Unfortunately, Dectalk does not support macOS. If you would like to use this module on Mac, try running your project inside a Linux Docker container.

Linux

On Linux, you may have to install a dependency:

apt install libpulse0

or

pacman -S libpulse

Keywords

FAQs

Last updated on 25 Oct 2022

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