# @jace.dev/speechy

> A simple script to help out with Text-to-speech in Javascript

Latest version **1.0.0** (published 2022-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jace.dev/speechy
pnpm add @jace.dev/speechy
yarn add @jace.dev/speechy
bun add @jace.dev/speechy
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2022-08-05 |
| First published | 2022-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 0 |
| Unpacked size | 24.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | jace.dev |
| Keywords | text to speech, speechy js, speech |

## Links

- npm: https://www.npmjs.com/package/@jace.dev/speechy
- Repository: https://github.com/Jace-Tech/Speechy
- Homepage: https://github.com/Jace-Tech/
- Issues: https://github.com/Jace-Tech/Speechy/issues
- npm.io page: https://npm.io/package/@jace.dev/speechy

## Recent versions

- 1.0.0 (latest) — 2022-08-05

## README

# Speechy

A simple script to help out with Text-to-speech in Javascript

## Installation 

> NPM 
```bash
    npm i @jace.dev/speechy
```

> YARN 
```bash
    yarn add @jace.dev/speechy
```

> PNPM 

```bash
    pnpm install @jace.dev/speechy
```


## How to use 
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy();
speechy.say("Hello World");
```

OR
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy();
speechy.text("Hello World");
speechy.speak();
```

OR
    
```javascript
import Speechy from '@jace.dev/speechy';

var speechy = new Speechy("Hello world");
speechy.speak();
```

## Other Methods

- `speechy.text(text)`: Sets the text to be spoken
- `speechy.speak()`: Speaks the text
- `speechy.pause()`: Pauses the speech
- `speechy.resume()`: Resumes the speech
- `speechy.stop()`: Stops the speechxw
- `speechy.setRate(rate)`: Sets the speech rate [0 - 1] default: 1
- `speechy.setPitch(pitch)`: Sets the speech pitch [0 - 1] default: 1
- `speechy.setVolume(volume)`: Sets the speech volume [0 - 1] default: 1
- `speechy.setVoice(voice)`: Sets the speech voice 
- `speechy.getVoices()`: Returns an array of available voices

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