# dectalk

> Aieou!

Latest version **1.3.1** (published 2022-10-25) · 0 weekly downloads

## Install

```sh
npm install dectalk
pnpm add dectalk
yarn add dectalk
bun add dectalk
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.1 |
| Published | 2022-10-25 |
| First published | 2021-10-12 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Babakinha |
| Maintainers | obabakinha |
| Keywords | typescript, text-to-speech, dectalk, wav, wave |

## Links

- npm: https://www.npmjs.com/package/dectalk
- Repository: https://github.com/babakinha/dectalk
- Issues: https://github.com/babakinha/dectalk/issues
- npm.io page: https://npm.io/package/dectalk

## Dependencies (1)

- [tmp](https://npm.io/package/tmp.md) ^0.2.1

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.3.1 (latest) — 2022-10-25
- 1.3.0 — 2022-10-16
- 1.2.2 — 2022-10-13
- 1.2.1 — 2022-07-29
- 1.1.0 — 2022-07-05
- 1.0.2 — 2022-07-01
- 1.0.1 — 2021-10-12
- 1.0.0 — 2021-10-12

## README

# Dectalk
A Simple package for using Dectalk (_Moonbase alpha voice_)  

# Installation
```sh-session
npm install dectalk
```

_see [notes](#notes) if it doesn't work for you_ 
# Example
Javascript:
```js
const { say } = require('dectalk');
const { writeFileSync } = require('fs');
(async () => {

    const WavData = await say("Hello World!");
    writeFileSync('Hello.wav', WavData)
    
})();
```
Typescript:
```ts
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](https://www.docker.com/) container.

### Linux
On Linux, you may have to install a dependency:
```sh-session
apt install libpulse0
```
or
```sh-session
pacman -S libpulse
```

---
_Source: https://npm.io/package/dectalk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
