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
Install size
4.12 MB
Created

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

Linux

On my arch linux server (x86_64) i had to install some dependencies

yay -S gcc-multilib lib32-glibc

since i was running 64-bit and the binary is 32-bit

but on ubuntu i didnt (it must have them pre installed)

Keywords

FAQs

Last updated on 13 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