# morphet-bingspeech-api-client

> Microsoft Bing Speech API client

Latest version **2.0.2** (published 2016-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install morphet-bingspeech-api-client
pnpm add morphet-bingspeech-api-client
yarn add morphet-bingspeech-api-client
bun add morphet-bingspeech-api-client
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2016-12-14 |
| First published | 2016-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 32 |
| Author | Guido García |
| Maintainers | morphet81 |
| Keywords | bing, speech, microsoft |

## Links

- npm: https://www.npmjs.com/package/morphet-bingspeech-api-client
- Repository: https://github.com/palmerabollo/bingspeech-api-client
- Homepage: https://github.com/palmerabollo/bingspeech-api-client#readme
- Issues: https://github.com/palmerabollo/bingspeech-api-client/issues
- npm.io page: https://npm.io/package/morphet-bingspeech-api-client

## Dependencies (3)

- [request](https://npm.io/package/request.md) ^2.75.0
- [node-uuid](https://npm.io/package/node-uuid.md) ^1.4.7
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.3

## Recent versions

- 2.0.2 (latest) — 2016-12-14
- 2.0.1 — 2016-12-14

## README

# bingspeech-api-client

A Microsoft Bing Speech API client written in node.js.

## TTS usage example (recognize)

```javascript
import { BingSpeechClient, VoiceRecognitionResponse } from 'bingspeech-api-client';

// audio input in a Buffer
let wav = fs.readFileSync('myaudiofile.wav');

// Bing Speech Key (https://www.microsoft.com/cognitive-services/en-us/subscriptions)
let subscriptionKey: string = 'your_private_subscription_key';

let client = new BingSpeechClient(subscriptionKey);
client.recognize(wav)
      .then(response => {
          console.log(response.results[0].name);
      });
```

## STT usage example (synthesize)

```javascript
import { BingSpeechClient, VoiceVoiceSynthesisResponse } from 'bingspeech-api-client';

// Bing Speech Key (https://www.microsoft.com/cognitive-services/en-us/subscriptions)
let subscriptionKey: string = 'your_private_subscription_key';

let client = new BingSpeechClient(subscriptionKey);
client.synthesize('I have a dream')
      .then(response => {
          // audio is a Buffer in response.wave
      });
```

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